Cisco Systems OL-7396-01 Benutzerhandbuch

Seite von 934
12-6
ATM Switch Router Software Configuration Guide 
OL-7396-01
Chapter 12
Using Access Control
Configuring ATM Interface Access Control
Examples
The following example defines a simple filter expression that has only one term and no operators:
Switch(config)# atm filter-expr training filter_1 
The following example defines a filter expression using the operator not:
Switch(config)# atm filter-expr training not filter_1
The following example defines a filter expression using the operator or:
Switch(config)# atm filter-expr training filter_2 or filter_1
The following example defines a filter expression using the operator and:
Switch(config)# atm filter-expr training filter_1 and source filter_2
The following example defines a filter expression using the operator xor:
Switch(config)# atm filter-expr training filter_2 xor filter_1
Configuring ATM Interface Access Control
To subscribe an ATM interface or subinterface to an existing ATM filter set or filter expression, perform 
the following steps, beginning in global configuration mode:
Examples
The following example shows how to configure access control for outgoing calls on ATM 
interface 3/0/0:
Switch(config)# interface atm 3/0/0
Switch(config-if)# atm access-group training out
The following example shows how to configure access control for both outgoing and incoming calls on 
ATM interface 3/0/0:
Switch(config)# interface atm 3/0/0
Switch(config-if)# atm access-group training out
Switch(config-if)# atm access-group marketing in
Command
Purpose
Step 1
Switch(config)# interface atm 
card/subcard/port[.vpt#]
Switch(config-if)# 
Selects the interface or subinterface to be 
configured.
Step 2
Switch(config-if)# atm access-group name [in | 
out]
Configures an existing ATM address pattern 
matching the filter expression.