Creating Policy Lists ! 21
Chapter 2: Creating Policies
3. Exit Policy List Configuration mode to save the configuration.
host1(config-policy-list-classifier-group)#exit
host1(config-policy-list)#exit
host1(config)#
4. Create a UBR policy that maps to the strict best-effort traffic class and color red.
host1(config)#atm policy-list polUbr
host1(config-policy-list)#classifier-group *
host1(config-policy-list-classifier-group)#traffic-class best-effort
host1(config-policy-list-classifier-group)#color red
5. Exit Policy List Configuration mode to save the configuration.
host1(config-policy-list-classifier-group)#exit
host1(config-policy-list)#exit
host1(config)#
6. Attach the policies to ATM subinterfaces.
host1(config)#interface atm 0/0.100
host1(config-if)#atm policy input polUbr statistics enabled
host1(config-if)#exit
host1(config)#interface atm 0/0.101
host1(config-if)#atm policy input polCbr statistics enabled
host1(config-if)#exit
7. Display the policy lists.
host1#show atm subinterface atm 0/0.100
Circuit Interface
Interface ATM-Prot VCD VPI VCI Type Encap MTU Status Type
----------- -------- --- --- --- ------- ----- ---- ------ ---------
ATM 0/0.100 RFC-1483 100 0 100 PVC SNAP 9180 up Static
Auto configure status : static
Auto configure interface(s) : none
Detected 1483 encapsulation : none
Detected dynamic interface : none
Interface types in lockout : none
Assigned profile (IP) : none assigned
Assigned profile (BridgedEnet): none assigned
Assigned profile (PPP) : none assigned
Assigned profile (PPPoE) : none assigned
Assigned profile (any) : none assigned
SNMP trap link-status: disabled
InPackets: 0
InBytes: 0
OutPackets: 0
OutBytes: 0
InErrors: 0
OutErrors: 0
InPacketDiscards: 0
InPacketsUnknownProtocol: 0
OutDiscards: 0