Software Configuration of ATM ISE Line Cards for Cisco 12000 Series Routers
How to Configure Layer 3 Terminated VCs on the 4-Port ATM ISE Line Card
26
Cisco IOS Release 12.0(27)S
Examples
Following are examples of configuring the IP DSCP value and the ATM CLP bit:
•
Configuring the IP DSCP Value, page 26
•
Configuring the ATM CLP Bit on a Per-Queue Basis with Per-VC MDRR, page 26
•
Configuring the ATM CLP Bit on Class-Default Queue with Per-VC MDRR, page 26
•
Configuring the ATM CLP Bit by Traffic Policing, page 27
Configuring the IP DSCP Value
This example marks packets of class1 by setting the IP differentiated services code point (DSCP):
Router(config)#
policy-map QOS-SET
Router(config-pmap)#
class class1
Router(config-pmap-c)#
set ip dscp 63
Router(config-pmap-c)#
class class2
Router(config-pmap-c)#
bandwidth percent 30
Router(config-pmap-c)#
exit
Router(config-pmap)#
In the above example, class1 is configured with a nonqueueing feature. Traffic that is matched to class1
is considered to belong to this class for purposes of the nonqueueing feature, but for purposes of
queueing, the packet will go into the default queue.
After the policy map has been created, configure it on the VC using the
service-policy
command.
Configuring the ATM CLP Bit on a Per-Queue Basis with Per-VC MDRR
This example configures the CLP bit setting on a per-queue basis. Precedence 0 and 1 go to the queue
of class prec01 with CLP bit off; precedence 2 goes to the queue of class prec2 with the CLP on;
precedence 3, 4, and 5 go to the queue of class prec345 with the CLP on; all other traffic goes to the
queue of class-default with the CLP bit off.
Router(config)#
class-map match-any prec01
Router(config-cmap)#
match ip prec 0 1
Router(config)#
class-map match-any prec2
Router(config-cmap)#
match ip prec 2
Router(config)#
class-map match-any prec345
Router(config-cmap)#
match ip prec 3 4 5
Router(config)#
policy-map SET_ATM_CLP
Router(config-pmap)#
class prec01
Router(config-pmap-c)#
bandwidth percent 10
Router(config-pmap-c)#
class prec2
Router(config-pmap-c)#
bandwidth percent 10
Router(config-pmap-c)#
set atm-clp
Router(config-pmap-c)#
class prec345
Router(config-pmap-c)#
bandwidth percent 10
Router(config-pmap-c)#
set atm-clp
Router(config-pmap-c)#
exit
After the policy map has been created, configure it on the VC using the
service-policy
command.
Configuring the ATM CLP Bit on Class-Default Queue with Per-VC MDRR
This example configures the CLP bit setting on part of the traffic of the class-default queue. Precedence
0, 1 go to the queue of class prec01 with the CLP bit off; precedence 3, 4, and 5 go to the queue of class
class-default with the CLP on; all other traffic goes to the queue of class-default with the CLP bit off.