background image

 

      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

13

Cisco IOS Release 12.0(27)S

OAM Management

By default, end-to-end F5 OAM loopback cell generation is turned off for each PVC. A PVC is 
determined as down when any of the following is true on that PVC:

The router does not receive a loopback reply after a configured number of retries of sending 
end-to-end F5 OAM loopback cells.

The router receives a Virtual Circuit-Alarm Indication Signal (VC-AIS) cell.

The router receives a Virtual Circuit-Remote Detect Indicator (VC-RDI) cell.

A PVC is determined as up when all the following are true on that PVC:

The router receives a configured number of successive end-to-end F5 OAM loopback cell replies.

The router does not receive VC-AIS cell for 3 seconds.

The router does not receive VC-RDI cell for 3 seconds.

Note the following regarding OAM management:

When OAM management is not enabled, loopback (LB) cells received by the PVC are looped back 
to the sender, and for any received F4/F5-AIS, F4/F5-RDI cells are transmitted via this PVC, but the 
PVC state is not changed.

The 4-Port ATM ISE line card supports OAM management enabled mode for the entire range of VCs 
supported, while using the default frequency of 10 seconds on all VCs. The minimum OAM LB cell 
frequency of 1 second is currently permitted over no more then 50 PVCs (chassis performance 
limitation), and the default interval of 10 seconds is used for the rest of the PVCs.

OAM F5 Continuity Check

The 4-Port ATM ISE line card also provides OAM support for the use of F5 segment and end-to-end 
continuity check (CC) cells to detect connectivity failures at the ATM layer. It also generates various 
Simple Network Management Protocol (SNMP) notifications when CC cells indicate virtual circuit (VC) 
connectivity failure

ATM OAM F5 CC cells provide an in-service tool optimized to detect connectivity problems at the VC 
level of the ATM layer. CC cells are sent between a router designated as the source location and a router 
designated as the sink location. The local router can be configured as the source, the sink, or both.

Step 7

oam-pvc manage cc 

{

end

 | 

segment

[

direction

 {

both

 | 

sink

 | 

source

}] 

[

keep-vc-up

 [

end aisrdi failure

 | 

seg 

aisrdi failure

]]

Example:

Router(config-if-atm-vc)# oam-pvc manage 

cc segment direction source

Configures ATM OAM F5 continuity check (CC) management to 
detect connectivity failures at the ATM layer. 

Step 8

oam retry cc

 {

end

 | 

segment

[

activation-count

 [

deactivation-count

 

[

retry-frequency

]]]

Example:

Router(config-if-atm-vc)# oam retry cc 

segment 10 10 30

Configures the retry count and the frequency at which CC 
activation and deactivation requests are sent to the device at the 
other end of the PVC or the segment.

Command or Action

Purpose

Summary of Contents for ISE - Line Card ISE

Page 1: ...must have an account on Cisco com If you do not have an account or have forgotten your username or password click Cancel at the login dialog box and follow the instructions that appear Contents Prerequisites for the 4 Port ATM ISE Line Card page 2 Restrictions for the 4 Port ATM ISE Line Card page 2 Information About the 4 Port ATM ISE Line Card page 3 How to Perform a Basic Configuration of the 4...

Page 2: ...um number of active VCs3 Layer 2 Layer 3 3 Subject to overall system limitation and configuration 10244 per port and card 20473 per port and card 4 If cell packing or policing are configured the remaining 516 available VCs can be configured for cell relay over MPLS or AAL5 over MPLS Range of VPI5 values 5 VPI virtual path identifier Varies with vc per vp value In Release 12 0 25 S up to 255 In Rel...

Page 3: ... ISE Line Card The following are the features supported by the 4 Port ATM ISE line cards Traffic shaping on a per VC and per virtual path VP basis with a minimum granularity of 1 Kbps in compliance with I 371 granularity definition Per VC queueing using configurable per VC queue limits or per VC WRED A VC address can be any of the virtual path identifier VPI and virtual channel identifier VCI rang...

Page 4: ...ess and egress for interfaces and subinterfaces Committed Access Rate CAR including CAR action continue including both ingress and egress for interfaces and subinterfaces Policy based routing PBR for interfaces and subinterfaces Border Gateway Protocol BGP policy accounting Unicast reversepath forwarding uRPF loose mode Sophisticated MQC classifications based on IP ACL xACL IP precedence DSCP MPLS...

Page 5: ...irtual circuits is described in the following sections Configuring an ATM Interface page 5 Configuring UNI and NNI Cell Support page 7 Troubleshooting Tips page 7 Configuring an ATM Interface Use the show running config command to display current port configuration information On power up the interface on a new 4 Port ATM ISE line card is shut down To enable the interface you must enter a no shutd...

Page 6: ...ion including enabling an interface and specifying IP routing You might also need to enter other configuration subcommands depending on the requirements for your system configuration For descriptions of configuration subcommands and the configuration options available refer to the appropriate software publications in the Related Documents section on page 91 SUMMARY STEPS 1 show version 2 show inte...

Page 7: ...te of the ATM network use the following commands Step 6 no shutdown Example Router config if no shutdown Change the state of the interface to up and enable the interface Step 7 Press Ctrl Z Exit configuration mode Perform this after completing all desired configuration commands on the interface or subinterface Step 8 copy running config startup config Write the new configuration to memory Command ...

Page 8: ...irtual circuits PVCs configured on the router remain active until the circuit is removed from the configuration All virtual circuit characteristics apply to PVCs When a PVC is configured all configuration options are passed to the 4 Port ATM ISE line card These PVCs are written to the nonvolatile RAM NVRAM as part of the configuration and are used when the Cisco IOS image is reloaded When you crea...

Page 9: ... 6 Non real time variable bit rate VBR nrt Supports non real time applications with bursty transmission characteristics that tolerate high cell delay but require low cell loss See Step 7 Unspecified bit rate UBR Supports non real time applications that tolerate both high cell delay and cell loss on the network There are no network service level guarantees for the UBR service category and therefore...

Page 10: ...ely to occur when the traffic consist of small packets and when a high amount of traffic is sent toward the high priority queue Such traffic will increase significantly the frequency of switches between queues which may cause the nonpriority queues to lose their bandwidth Therefore when configuring a VC to more than OC 6 it is recommended to limit the high priority traffic using the police command...

Page 11: ...er VCI Step 5 cbr pcr Router config if vc cbr 155000 Specifies CBR shaping The pcr value indicates the peak cell rate The range is from 38 to 622 000 Kbps Note Use either Step 5 Step 6 Step 7 or Step 8 Step 6 vbr rt pcr scr burst Example Router config if vc vbr rt 100000 40000 200000 Specifies VBR rt shaping The pcr value indicates the peak cell rate and its range is from 38 to 622 000 Kbps The sc...

Page 12: ...management Step 6 oam retry up count down count retry frequency Example Router config if atm vc oam retry 3 5 1 Optional Specify OAM management parameters for re establishing and removing a PVC connection Use the up count argument to specify the number of consecutive end to end F5 OAM loopback cell responses that must be received in order to change a PVC connection state to up Use the down count a...

Page 13: ...cy of 10 seconds on all VCs The minimum OAM LB cell frequency of 1 second is currently permitted over no more then 50 PVCs chassis performance limitation and the default interval of 10 seconds is used for the rest of the PVCs OAM F5 Continuity Check The 4 Port ATM ISE line card also provides OAM support for the use of F5 segment and end to end continuity check CC cells to detect connectivity failu...

Page 14: ...ion on page 84 for detailed instructions on how to complete these tasks The following tasks use the MQC to configure QoS on terminated VCs Configuring Traffic Policing page 14 Configuring a Per VC Queue Limit page 16 Configuring Per VC WRED page 18 Configuring Per VC MDRR and Low Latency Queueing page 20 Configuring the set Commands page 23 Troubleshooting Tips page 27 Configuring Traffic Policing...

Page 15: ... cmap match access group 2 Specifies the numbered access list against whose contents packets are checked to determine if they belong to the class Step 5 exit Exits class map mode Step 6 policy map policy name Example Router config policy map police Specifies the name of the traffic policy to configure Step 7 class class name Example Router config pmap class acgroup2 Specifies the name of a predefi...

Page 16: ...me Example Router config if atm vc service policy input police Attaches the traffic policy to the PVC Command or Action Purpose Table 5 police Command Action Keywords Keyword Resulting Action drop Drops the packet set clp transmit Sets the ATM CLP bit and sends the packet This is supported for egress only set discard class transmit new class Sets the discard class and sends the packet This is supp...

Page 17: ...ode Enter your password if prompted Step 2 configure terminal Example Router configure terminal Enters global configuration mode Step 3 policy map policy name Example Router config policy map qlimit1 Specifies the name of the traffic policy to configure Step 4 class class default Example Router config pmap class class default Specifies to configure the default class Step 5 queue limit cells cells ...

Page 18: ...ed WRED use Step 8 or Step 9 1 enable 2 configure terminal 3 policy map policy name 4 class class name 5 random detect 6 random detect exponential weighting constant n 7 random detect precedence precedence min threshold cells packets max threshold cells packets mark prob denominator 8 random detect dscp based 9 random detect dscp dscpvalue min threshold cells packets max threshold cells packets ma...

Page 19: ...andom early detection WRED drop policy for a traffic class that has a bandwidth configuration or class default specified Step 6 random detect exponential weighting constant n Example Router config pmap c random detect exponential weighting constant 10 Configures a WRED exponential weighting constant on a per COS queue basis Step 7 random detect precedence precedence min threshold cells packets max...

Page 20: ...ges are converted into weights in units of ATM cells The weights are internally proportioned such that the bandwidth is divided accurately among VCs The following are recommendations for configuring per VC MDRR on the 4 Port ATM ISE line card Set the bandwidth to be at least 10 percent in each class The default class class default should also have at least 10 percent of the bandwidth allocation th...

Page 21: ...t 1 percent must be allocated to this class If priority is not specified on any class then any form of the bandwidth command can be used If the priority command is configured without a police command drop exceed action then the only form of the bandwidth command that is allowed on the other classes in the policy map is the bandwidth remaining command If a police command is used on the priority que...

Page 22: ...name Example Router config pmap class class2 Specifies to configure the second class Step 7 bandwidth remaining percent percent Example Router config pmap c bandwidth remaining percent 50 Specifies a minimum bandwidth guarantee to a traffic class Here the minimum bandwidth guarantee is based on the remaining bandwidth available If there is no available bandwidth the class will receive no bandwidth...

Page 23: ...h command can be used with either a percent or kbps specified The following example uses the bandwidth percent command to guarantee bandwidth to nonpriority classes Twenty percent of the VC rate is guaranteed to class2 Router config policy map MDRR POLICE LLQ Router config pmap class class1 Router config pmap c priority Router config pmap c police 64000000 conform action transmit exceed drop Route...

Page 24: ... set qos group value 13 exit 14 exit 15 interface atmslot port subifnum 16 pvc vpi vci 17 service policy input policy name DETAILED STEPS Command or Action Purpose Step 1 enable Example Router enable Enables privileged EXEC mode Enter your password if prompted Step 2 configure terminal Example Router configure terminal Enters global configuration mode Step 3 class match any class name Example Rout...

Page 25: ...edence value can be any value between 0 and 7 Step 10 set ip dscp ip dscp value Example Router config pmap c set ip dscp 31 Specifies the IP DSCP of packets within a traffic class The IP DSCP value can be any value between 0 and 63 Step 11 set mpls experimental value Designates the value to which the MPLS bits are set if the packets match the specified policy map Step 12 set qos group value Exampl...

Page 26: ... 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 mat...

Page 27: ...ss name command to display the information relating to a traffic class Use the show policy map command to display the configuration of a traffic policy and its associated traffic classes Forms of these commands are listed in the table below Command Purpose Router show class map Displays all traffic class information Router show class map class name Displays the traffic class information for the us...

Page 28: ...meters applied through a VC class assigned to the bundle are superseded by those applied at the bundle level Bundle level parameters are superseded by parameters applied to an individual VC The following sections describe applying bundle level parameters Configuring Bundle Level Parameters page 28 Configuring VC Class Parameters to Apply to a Bundle page 29 Attaching a VC Class to a Bundle page 29...

Page 29: ...a bundle use the following command in bundle configuration mode Parameters set through bundle level commands contained in the VC class are applied to the bundle and all its VC members Bundle level parameters applied through commands configured directly on the bundle supersede those applied through a VC class Note that some bundle level parameters applied through a VC class or directly to the bundl...

Page 30: ...idth command is applied to each VC separately In other words the weight of the MDRR will be relative to the traffic passing on each VC and not relative to the traffic passing on the bundle The following sections describe applying parameters to individual VCs Configuring a VC Bundle Member Directly page 30 Configuring VC Class Parameters to Apply to a VC Bundle Member page 31 Applying a VC Class to...

Page 31: ...affic shaping rule for the VC qualified by peak cell rate sustainable cell rate scr and optional maximum burst cell size mbs Router config if atm member vbr rt pcr scr mbs Configures VBR RT as the traffic shaping rule for the VC qualified by peak cell rate sustainable cell rate scr and optional maximum burst cell size mbs Router config if atm member cbr pcr Configures CBR as the traffic shaping ru...

Page 32: ...age 32 VC Bundle Configuration Using MPLS and Service Policies Example page 33 VC Bundle Configuration Using a VC Class Example page 33 CLP Bit Setting on a Per Experimental Basis with VC Bundling page 34 VC Bundle Configuration on an IP Subinterface Example This example configures a VC bundle with eight member VCs on an IP subinterface interface ATM5 0 2 point to point ip address 1 5 0 1 255 255 ...

Page 33: ... 2 1 255 255 255 0 no ip directed broadcast no atm enable ilmi trap bundle b511 oam retry 3 5 1 oam bundle manage pvc bundle 1 103 service policy out high mpls experimental 5 7 pvc bundle 1 102 service policy out high mpls experimental 2 4 pvc bundle 1 101 service policy out high mpls experimental 0 1 tag switching ip VC Bundle Configuration Using a VC Class Example This example shows how to confi...

Page 34: ...recedence bits to do this matching instead of the MPLS experimental bits class map match any exp01 match mpls experimental 0 1 class map match any exp45 match mpls experimental 4 5 policy set clp 0145 class exp01 set atm clp class exp45 set atm clp interface atm4 0 1 point to point ip address 4 0 1 1 255 255 255 0 bundle my paris2 bundle pvc bundle 40 1 precedence 0 3 service policy output set clp...

Page 35: ...age 49 Configuring Cell Based Traffic Policing on AToM VCs page 63 Configuring Experimental Mapping page 73 Configuring Layer 2 AToM Virtual Circuits A virtual circuit VC is a point to point connection between two ATM devices A VC is established for each ATM end node with which the router communicates Permanent virtual circuits PVCs configured on the router remain active until the circuit is remov...

Page 36: ...n and sends out the Layer 2 frame The successful transmission of the Layer 2 frames between PE routers is due to the configuration of the PE routers You set up the connection called a pseudowire between the routers The 4 Port ATM ISE line cards provide a number of configuration options for ATM over MPLS AAL5 Encapsulates ATM AAL5 service data units SDUs in MPLS packets and forwards them across the...

Page 37: ...addition it drops F5 continuity check cells without passing them along the MPLS network to the egress PE Configuring OAM Emulation on AToM VCs page 47 Prerequisites Before configuring AToM ensure that the network is configured as follows Configure IP routing in the core so that the PE routers can reach each other via IP Configure MPLS in the core so that a label switched path LSP exists between th...

Page 38: ...ommand Purpose Step 1 enable Example Router enable Enables privileged EXEC mode Enter your password if prompted Step 2 configure terminal Example Router configure terminal Enters global configuration mode Step 3 interface atmslot port Example Router config interface atm1 0 Specifies an ATM interface Step 4 pvc vpi vci l2transport Example Router config if pvc 1 200 l2transport Assigns a virtual pat...

Page 39: ...prompted Step 2 configure terminal Example Router configure terminal Enters global configuration mode Step 3 interface atmslot port Example Router config interface atm1 0 Specifies an ATM interface Step 4 pvc vpi vci l2transport Example Router config if pvc 0 100 l2transport Assigns a VPI and VCI The l2transport keyword indicates that the PVC is a switched PVC and not a terminated PVC Step 5 encap...

Page 40: ...tm pvp vpi l2transport 5 xconnect peer router id vcid encapsulation mpls DETAILED STEPS Command Purpose Step 1 enable Example Router enable Enables privileged EXEC mode Enter your password if prompted Step 2 configure terminal Example Router configure terminal Enters global configuration mode Step 3 interface atmslot port Example Router config interface atm1 0 Specifies an ATM interface Step 4 atm...

Page 41: ...rom an ATM main interface and specify the destination address and the VC ID The syntax and semantics of the xconnect command are the same as for all other transport types Each ATM port is associated with one unique pseudowire VC label Perform this task to transport ATM over MPLS in port mode Restrictions The cell relay function can only be configured when the ATM interface is configured for AAL0 e...

Page 42: ...th AAL5 encapsulation In cell packing only cells from the same VC VP can be packed into one MPLS packet Cells from different connections cannot be concatenated into the same MPLS packet The number of cells that can be packed varies from 2 to 28 SUMMARY STEPS 1 enable 2 configure terminal 3 interface atmslot port 4 atm mcpt timers timer1 timeout timer2 timeout timer3 timeout 5 pvc vpi vci l2transpo...

Page 43: ...ore the maximum number of cells are packed into an AToM packet the packet is sent anyway The range of acceptable values is from 2 to 4095 Step 5 pvc vpi vci l2transport Example Router config if pvc 0 100 l2transport Assigns a virtual path identifier VPI and virtual circuit identifier VCI The l2transport keyword indicates that the PVC is a switched PVC and not a terminated PVC Step 6 encapsulation ...

Page 44: ... VP is configured for AAL0 encapsulation It has no meaning if the VP is configured with AAL5 encapsulation In cell packing only cells from the same VC VP can be packed into one MPLS packet Cells from different connections cannot be concatenated into the same MPLS packet The number of cells that can be packed varies from 2 to 28 SUMMARY STEPS 1 enable 2 configure terminal 3 interface atmslot port 4...

Page 45: ...ncatenated into the same MPLS packet Step 4 atm mcpt timers timer1 timeout timer2 timeout timer3 timeout Example Router config if atm mcpt timers 100 200 1000 Sets up the cell packing timers which specify how long the PE router can wait for cells to be packed into an MPLS packet You can set up to three timers For each timer you specify the maximum cell packing timeout MCPT This value gives the cel...

Page 46: ...trap 9 no atm ilmi keepalive 10 cell packing cells mcpt timer timer 11 xconnect DETAILED STEPS Command or Action Purpose Step 1 enable Example Router enable Enables privileged EXEC mode Enter your password if prompted Step 2 configure terminal Example Router configure terminal Enters global configuration mode Step 3 interface atmslot port Example Router config interface atm1 0 Specifies an ATM int...

Page 47: ...tinuity check cells without passing them along the MPLS network to the egress PE Restrictions OAM Emulation can be enabled only on an AAL5 VC Step 7 atm mcpt timers timer1 timeout timer2 timeout timer3 timeout Example Router config if atm mcpt timers 100 200 1000 Sets up the cell packing timers which specify how long the PE router can wait for cells to be packed into an MPLS packet You can set up ...

Page 48: ...terface atmslot port Example Router config interface atm1 0 Specifies an ATM interface to configure Step 4 pvc name vpi vci l2transport Example Router config if pvc 10 50 l2transport Specifies a PVC with the specified VPI and virtual circuit identifier VCI to configure Step 5 encapsulation aal5 Sets encapsulation to be AAL5 Step 6 oam emulation enable Enables OAM emulation Step 7 oam pvc manage fr...

Page 49: ...s that have bursty transmission characteristics Use the command vbr rt pcr scr Non real time variable bit rate VBR nrt Supports non real time applications with bursty transmission characteristics that tolerate high cell delay but require low cell loss Use the command vbr nrt pcr scr Unspecified bit rate UBR Supports non real time applications that tolerate both high cell delay and cell loss on the...

Page 50: ...antly lower Configuring Cell Relay over MPLS on PVCs This task illustrates the configuration of CBR traffic shaping in cell relay over MPLS VC mode SUMMARY STEPS 1 enable 2 configure terminal 3 policy map policy map name 4 class class default 5 queue limit number of cells cells 6 exit 7 exit 8 interface atmslot port 9 atm clock internal 10 pvc vpi vci l2transport 11 encapsulation aal0 12 cbr pcr 1...

Page 51: ...default class Step 5 queue limit number of cells cells Example Router config pmap c queue limit 200 cells Specifies or modifies the maximum number of cells the queue can hold for a class policy configured in a policy map Step 6 exit Example Router config pmap c exit Exits class mode Step 7 exit Example Router config pmap exit Exits policy map mode Step 8 interface atmslot port Example Router confi...

Page 52: ...shaping in cell relay over MPLS in VP mode SUMMARY STEPS 1 enable 2 configure terminal Step 11 encapsulation aal0 Example Router config atm l2trans pvc encapsulation aal0 For ATM Cell Relay this command specifies raw cell encapsulation for the interface Make sure you specify the same encapsulation type on the PE and CE routers Step 12 cbr pcr Router cfg if atm l2trans pvc cbr 1000 Specifies CBR sh...

Page 53: ...XEC mode Enter your password if prompted Step 2 configure terminal Example Router configure terminal Enters global configuration mode Step 3 policy map policy map name Example Router config policy map out_ubr Specifies the name of the service policy to configure with the shaping queue size Step 4 class class default Example Router config pmap class class default Specifies to configure the default ...

Page 54: ...outer config atm clock internal Causes the ATM interface to generate the transmit clock internally Step 10 atm pvp vpi l2transport Example Router config if atm pvp 100 l2transport Specifies a PVP with the specified virtual path identifier VPI The l2transport keyword indicates that the PVC is a switched PVC and not a terminated PVC Step 11 ubr pcr Example Router config if vc ubr 2000 Specifies UBR ...

Page 55: ...mer2 timeout timer3 timeout 11 pvc vpi vci l2transport 12 encapsulation aal0 13 cell packing cells mcpt timer timer 14 vbr rt pcr scr burst 15 service policy output policy map name 16 xconnect peer router id vcid encapsulation mpls DETAILED STEPS Command or Action Purpose Step 1 enable Example Router enable Enables privileged EXEC mode Enter your password if prompted Step 2 configure terminal Exam...

Page 56: ...LS packet You can set up to three timers For each timer you specify the maximum cell packing timeout MCPT This value gives the cell packing function a limited amount of time to complete If the timer expires before the maximum number of cells are packed into an AToM packet the packet is sent anyway The range of values is from 2 to 4095 Step 11 pvc name vpi vci l2transport Example Router config if p...

Page 57: ... MPLS on PVPs The following task illustrates the configuration of VBR NRT traffic shaping in cell packing over MPLS in VP mode SUMMARY STEPS 1 enable 2 configure terminal 3 policy map policy map name Step 14 vbr rt pcr scr burst Example Router config if vc vbr rt 2000 1000 100 Specifies VBR rt shaping The pcr value indicates the peak cell rate and its range is from 38 to 622000 Kbps The scr value ...

Page 58: ...vileged EXEC mode Enter your password if prompted Step 2 configure terminal Example Router configure terminal Enters global configuration mode Step 3 policy map policy map name Example Router config policy map out_vbr nrt Specifies the name of the service policy to configure with the shaping queue size Step 4 class class default Example Router config pmap class class default Specifies to configure...

Page 59: ... atm l2trans pvc cell packing 10 mcpt timer 1 Enables cell packing and specifies the cell packing parameters The cells value represents the maximum number of cells to be packed into an MPLS packet The range is from 2 to 28 The timer value allows you to specify which timer to use Step 12 vbr nrt pcr scr mbs Example Router config if vc vbr nrt 3000 2000 200 Specifies VBR nrt shaping The pcr value in...

Page 60: ...Configuring AAL5 over MPLS on PVCs This task illustrates the configuration of VBR RT traffic shaping in AAL5 over MPLS VC mode SUMMARY STEPS 1 enable 2 configure terminal 3 policy map policy map name 4 class class default 5 queue limit number of cells cells 6 exit 7 exit 8 interface atmslot port 9 atm clock internal 10 pvc vpi vci l2transport 11 encapsulation aal5 12 vbr rt pcr scr burst 13 servic...

Page 61: ...xit Example Router config pmap c exit Exits class mode Step 7 exit Example Router config pmap exit Exits policy map mode Step 8 interface atmslot port Example Router config interface atm1 0 Specifies an ATM interface or subinterface to configure Step 9 atm clock internal Example Router config atm clock internal Causes the ATM interface to generate the transmit clock internally Step 10 pvc name vpi...

Page 62: ...er config pmap c service policy output out_vbr rt Attaches the queue limit service policy to the PVC Step 14 xconnect peer router id vcid encapsulation mpls Example Router config atm vc xconnect 2 2 2 2 121 encapsulation mpls Binds the attachment circuit to a pseudowire VC Command or Action Purpose Command Purpose Router show atm pvp Displays information about configured PVPs Router show atm pvc D...

Page 63: ...icing is used there is a single policy definition using the rate and burst tolerance parameters For a two bucket policer the rate and burst tolerance are taken from the parent policy and the SCR and ATM maximum burst size MBS values are taken from the child policy This section describes some of the most common tasks that are necessary to configure QoS traffic policing on AToM VCs For more detailed...

Page 64: ...ercent The range of CDVT on the 4 port ATM ISE line card is 1 1 000 000 The default value is 50 000 It is recommended that you use a minimum CDVT value greater than 50 otherwise policing accuracy will be less than 99 percent It is also recommended to use an MBS value of greater than 10 cells otherwise policing accuracy will be less than 99 for the SCR bucket The cell based policer s burst toleranc...

Page 65: ...s delay tolerance cdvt conform action transmit exceed action drop 12 service policy child vbr1 Step 3 policy map policy map name Example Router config policy map cbr Specifies the name of the service policy to configure Step 4 class class default Example Router config pmap class class default Specifies the name of a predefined class which was defined with the class map command to be included in th...

Page 66: ...o configure the default class referred to as class default Step 5 police rate scr cps atm mbs mbs cells conform action transmit exceed action drop Example Router config pmap c police rate 200000 cps atm mbs 1024 cells conform action transmit exceed action drop Specifies a maximum bandwidth usage by a traffic class through the use of a token bucket algorithm For a description of the conform action ...

Page 67: ...pls exp value 14 policy rate pcr cps delay tolerance cdvt conform action transmit exceed action drop 15 service policy child vbr1 Step 10 set mpls experimental mpls exp value Example Router config pmap c set mpls experimental 4 Optional Specifies the value used to set the MPLS EXP bits defined by the policy map Valid values are numbers from 0 to 7 Step 11 police rate pcr cps delay tolerance cdvt c...

Page 68: ...ot atm clp Specifies that CLP1 is used as an unsuccessful match criterion meaning that CLP1 cells will pass and CLP0 cells will be discarded Step 5 exit Example Router config cmap exit Exits class map mode Step 6 policy map child vbr2 Example Router config policy map child vbr1 Specifies the name of the child service policy to configure Step 7 class class map name Example Router config pmap class ...

Page 69: ...to configure Step 12 class class default Example Router config pmap class class default Specifies to configure the default class Step 13 set mpls experimental mpls exp value Example Router config pmap c set mpls experimental 4 Optional Specifies the value used to set the MPLS EXP bits defined by the policy map Valid values are numbers from 0 to 7 Step 14 police rate pcr cps delay tolerance cdvt co...

Page 70: ...ted Step 2 configure terminal Example Router configure terminal Enters global configuration mode Step 3 class map match all class map name Example Router config class map match all cpl0 Specifies the user defined name of the traffic class Use match all to specify a logical AND operator for all matching statements under this traffic class Step 4 match not match criteria Example Router config cmap m...

Page 71: ...Exits policy map mode Step 11 policy map vbr3 Example Router config policy map vbr3 Specifies the name of the parent service policy to configure Step 12 class class default Example Router config pmap class class default Specifies to configure the default class Step 13 set mpls experimental mpls exp value Example Router config pmap c set mpls experimental 4 Optional Specifies the value used to set ...

Page 72: ...ode Enter your password if prompted Step 2 configure terminal Example Router configure terminal Enters global configuration mode Step 3 interface atmslot port Example Router config interface atm1 0 Specifies an ATM interface to configure Step 4 atm clock internal Example Router config atm clock internal Causes the ATM interface to generate the transmit clock internally Step 5 pvc vpi vci l2transpo...

Page 73: ...r id vcid encapsulation mpls Example Router config atm l2trans pvc xconnect 13 13 13 13 100 encapsulation mpls Binds the attachment circuit to a pseudowire VC or VP Step 8 service policy input policy map name Example Router config atm l2trans pvc service policy input vbr1 Attaches a service policy to a VC and specifies the direction in which the policy should be applied Command or Action Purpose C...

Page 74: ...n mode Step 3 policy map policy map name Example Router config policy map atm policy Specifies the name of the child service policy to configure Step 4 class class map name Example Router config pmap class atm class Specifies to configure the default class referred to as class default Step 5 set mpls experimental mpls exp value Example Router config pmap c set mpls experimental 4 Optional Specifie...

Page 75: ...c 1 200 l2transport Assigns a virtual path identifier VPI and virtual circuit identifier VCI The l2transport keyword indicates that the PVC is a switched PVC and not a terminated PVC Step 10 service policy input policy map name Example Router config atm l2trans pvc service policy input atm policy Attaches a service policy to a VC and specifies the direction in which the policy should be applied St...

Page 76: ...eferred to as class default Step 5 set mpls experimental mpls exp value Example Router config pmap c set mpls experimental 4 Optional Specifies the value used to set the MPLS EXP bits defined by the policy map Valid values are numbers from 0 to 7 Step 6 exit Example Router config pmap c exit Exits class mode Step 7 exit Example Router config pmap exit Exits policy map mode Step 8 interface atmslot...

Page 77: ... show interface counters never Input queue 0 75 0 0 size max drops flushes Total output drops 0 Queueing strategy fifo Output queue 0 40 size max 5 minute input rate 0 bits sec 0 packets sec 5 minute output rate 0 bits sec 0 packets sec 0 packets input 0 bytes 0 no buffer Received 0 broadcasts 0 IP multicast 0 runts 0 giants 0 throttles 0 input errors 0 CRC 0 frame 0 overrun 0 ignored 0 abort 0 pa...

Page 78: ...slot 1 show controller atm 1 traffic VCID InPkts InBytes PktsInSW InOams OutPkts OutBytes 1 78278986 4227058178 0 0 82600440 4460416714 SAR Counters tx_packets 82600440 tx_bytes 4460416714 tx_total_resource_errs 0 tx_total_other_errs 0 tx_wred_thresh_drops 0 tx_wred_random_drops 0 rx_packets 78278986 rx_bytes 4227058178 rx_total_resource_errs 0 rx_total_other_errs 0 rx_buffer_exhaust_errs 0 rx_CRC...

Page 79: ...rily imply an error because this counter includes tx_wred_thresh_drops and tx_wred_random_drops as well as packet drops due to complete buffer exhaustion on the SAR This should be equal to the sum of the number of resource errors that occur on all the VCs Buffer exhaustion should not occur if you have not oversubscribed the queue thresholds on the interface See the Debugging Unexpected TX Drops on...

Page 80: ...TM ISE line card RX SAR because it works in unidirectional mode with 64M buffers available only for reassemblies Same value as Ignored in the show interface command rx_packet_abort_errs The number of packet reassemblies that failed because of receiving a trailer length of 0 This is included in rx_total_other_errs Same value as Abort in the show interface command rx_mps_errors The number of packet ...

Page 81: ... 2 Step 2 Use the show controller atm command to get the connection ID for VCD 2 router exec slot 0 show controller atm 0 traffic Line Card Slot 0 VCID CONNID InPkts InBytes PktsInSW InOams OutPkts OutBytes 2 1 0 0 0 0 0 0 For the example above the connID for VC 1 100 is 1 Step 3 Now specify the connID in the show controller atm traffic command and view the VC statistics Router exec slot 0 show co...

Page 82: ...following procedure describes how to display the per VC counters in Cisco IOS releases 12 0 26 S and 12 0 25 S Step 1 Retrieve the VCD by using the show atm pvc command on the RP router show atm pvc VCD Peak Avg Min Burst Interface Name VPI VCI TYPE Encaps Kbps Kbps Cells Sts 0 0 1 2 1 100 PVC SNAP 23000 N A UP In this example the VCD for the VC whose VCI VPI are 1 100 is 2 Step 2 Now specify the ...

Page 83: ...ote The above will be observable easily on a VC that is constantly oversubscribed so that some of its queues are never completely drained However if the traffic sent to the VC is highly bursty then the queues might be building up momentarily but be completely drained by the time the counters are displayed In this case tx_resource_err will increment even though the queue depth might be small or zer...

Page 84: ...affic class The class map match any command is used when the first possible match criterion from a list of match criteria must be met for a packet to match the specified traffic class If neither match all nor match any is specified the traffic class will behave in a manner consistent with class map match all command For additional information on using the match any and match all options see the Us...

Page 85: ...ful match criterion then QoS group 4 is evaluated as a match criterion Each matching criterion is evaluated to see if the packet matches that criterion Once a successful match occurs the packet is classified as a member of traffic class george If the packet matches none of the specified criteria the packet is classified as a member of the default class Note that the class map match all command req...

Page 86: ...e traffic policy to configure class class name Example Router config pmap class class1 Router config pmap class class default Specifies the name of a predefined class which was defined with the class map command to be included in the service policy You can include the default class class default in the traffic policy bandwidth bandwidth kbps percent percent OR bandwidth remaining percent percent E...

Page 87: ...icates that WRED is to use the DSCP value when it calculates the drop probability for the packet random detect dscp dscpvalue min threshold cells max threshold cells mark probability denominator Example Router config pmap c random detect dscp 1 300 cells 700 cells 1 Specifies the minimum and maximum cell thresholds and optionally the mark probability denominator for the DSCP value Note Use either ...

Page 88: ...idth commands Commands for Ingress Traffic The following commands can be used to configure a traffic policy for ingress traffic set ip dscp ip dscp value Example Router config pmap c set ip dscp 31 Specifies the IP DSCP of packets within a traffic class The IP DSCP value can be any value between 0 and 63 set ip precedence Specifies the IP precedence of packets within a traffic class The IP precede...

Page 89: ...or a description of the conform action and exceed action keywords see Table 5 on page 16 shape average mean rate burst size excess burst size Example Router config pmap c shape average 2000 Shapes ingress traffic to the indicated bit rate according to the algorithm specified queue limit number of packets Example Router config pmap c queue limit 100 Specifies the maximum number of packets queued fo...

Page 90: ...minator for the precedence value Note Use either the random detect dscp based command with the random detect dscp command or use the random detect precedence command alone Do not use the random detect precedence command with either of the DSCP commands set ip dscp ip dscp value Example Router config pmap c set ip dscp 31 Specifies the IP DSCP of packets within a traffic class The IP DSCP value can...

Page 91: ... AAL5 MIB CISCO ATM EXT MIB IF MIB SONET MIB CISCO IETF ATM2 PVCTRAP MIB MPLS TE MIB CISCO QUEUE MIB Related Topic Document Title Hardware installation 4 Port ATM ISE Line Card Installation and Configuration New software features Release Notes for Cisco 12000 Series Routers for Cisco IOS Release 12 0 S FPGA upgrade Field Diagnostics for the Cisco 12000 Series Internet Router Software configuration...

Page 92: ...isco IOS Release 12 0 command reference publications police rate random detect dscp RFCs Title RFC1483 Multiprotocol Encapsulation with support for LLC SNAP encapsulation and VC multiplexing and NLPID encapsulation RFC1577 RFC1755 RFC1626 Classical IP and ARP over ATM Client and ARP Server RFC1626 Default IP MTU for use over ATM AAL5 RFC1755 ATM Signaling Support for IP over ATM Description Link T...

Page 93: ...alid values are 7 to 10 000 000 000 scr Sustainable cell rate specified for single level ATM 4 0 policies Valid values are 7 to 10 000 000 000 cps Optional Indicates that the rate value is in cells per second If this keyword is not used then bits per second bps is assumed cells Indicates that the burst value is in units of cells This option is only available if the cps keyword is used atm mbs Indi...

Page 94: ...the discard class attribute of a packet and transmits the packet with the new discard class setting set dscp transmit value Sets the IP differentiated services code point DSCP value and transmits the packet with the new IP DSCP value setting set frde transmit value Sets the Frame Relay Discard Eligibility DE bit from 0 to 1 on the frame relay frame and transmits the packet with the DE bit set to 1...

Page 95: ...gorithm is used when the violate action option is not specified in the police rate command command line interface CLI The conform bucket is initially set to the full size the full size is the number of bytes specified as the normal burst size When a packet of a given size for example B bytes arrives at specific time time T the following actions occur Tokens are updated in the conform bucket If the...

Page 96: ...t is checked for bytes by the packet If the number of bytes in the exceed bucket B is greater than or equal to 0 the exceed action is taken and B bytes are removed from the exceed token bucket No bytes are removed from the conform bucket If the number of bytes in the exceed bucket B is fewer than 0 the packet violates the rate and the violate action is taken The action is complete for the packet E...

Page 97: ...ber of cells The value range of this argument is from 1 to 262 143 When the average queue length reaches the minimum threshold Weighted Random Early Detection WRED randomly drops some packets with the specified DSCP value cells On the 4 Port ATM ISE line card for the Cisco 12000 Series Router the min threshold and max threshold values must be specified as a count of ATM cells max threshold Maximum...

Page 98: ...shold for DSCP value af22 is 28 the maximum threshold is 40 and the mark probability is 10 random detect dscp af22 28 cells 40 cells 10 Related Commands Glossary Command Description random detect interface Enables WRED random detect exponential weighting constant Configures the WRED exponential weight factor for the average queue size calculation Term Description AAL ATM adaptation layer AIS alarm...

Page 99: ...ge PVC permanent virtual circuit PVP permanent virtual path QoS Quality of Service QPPB QoS Policy Propagation via Border Gateway Protocol BGP RDI remote defect indication RFC Request For Comments RED Random Early Detection RPR Route processor redundancy SCR sustainable cell rate SDU service data unit SNMP Simple Network Management Protocol SSO Stateful Switchover SVC switched virtual circuit TE t...

Page 100: ... Cisco Certified Internetwork Expert logo Cisco IOS Cisco Press Cisco Systems Cisco Systems Capital the Cisco Systems logo Cisco Unity Enterprise Solver EtherChannel EtherFast EtherSwitch Fast Step Follow Me Browsing FormShare GigaDrive HomeLink Internet Quotient IOS iPhone IP TV iQ Expertise the iQ logo iQ Net Readiness Scorecard iQuick Study LightStream Linksys MeetingPlace MGX Networkers Networ...

Page 101: ...Software Configuration of ATM ISE Line Cards for Cisco 12000 Series Routers Glossary 101 Cisco IOS Release 12 0 27 S ...

Page 102: ...Software Configuration of ATM ISE Line Cards for Cisco 12000 Series Routers Glossary 102 Cisco IOS Release 12 0 27 S ...

Reviews: