Cisco ISE - Line Card ISE Configuration Manual

Software Configuration of ATM ISE Line Cards for Cisco 12000 Series Routers
This feature module describes the software configuration for the Cisco 4-Port ATM Internet Services Engine (ISE) line cards in the Cisco 12000 Series Router. The line card comes in two variations: OC-12c/STM-4c and OC-3c/STM-1; otherwise, the features are the same on both cards.
Feature History for the 4-Port ATM ISE Line Card
Release Modification
12.0(25)S The 4-Port OC-12c/STM-4c ATM ISE line card was introduced.
12.0(26)S2 The 4-Port OC-3c/STM-1 ATM ISE line card was integrated into 12.0(26)S.
12.0(27)S1 The 4-Port OC-3c/STM-1 ATM ISE line card was introduced. AToM, Layer 2/Layer 3 features on a single port and enhanced QoS policing features were introduced.
Contents
Finding Support Information for Platforms and Cisco IOS Software Images
Use Cisco Feature Navigator to find information about platform support and Cisco IOS software image support. Access Cisco Feature Navigator at http://www.cisco.com/go/fn. You 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.
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-Port ATM ISE Line Card, page 5
How to Configure Layer 3 Terminated VCs on the 4-Port ATM ISE Line Card, page 8
How to Configure AToM VCs on the 4-Port ATM ISE Line Card, page 35
Troubleshooting ATM Errors on the 4-Port ATM ISE Line Card, page 76
Corporate Headquarters: Cisco Systems, Inc., 170 West Tasman Drive, San Jose, CA 95134-1706 USA
Copyright © 2004 Cisco Systems, Inc. All rights reserved.
Software Configuration of ATM ISE Line Cards for Cisco 12000 Series Routers
Prerequisites for the 4-Port ATM ISE Line Card
Configuring Modular QoS CLI, page 84
Additional References, page 91
Command Reference, page 92
Glossary, page 98
Prerequisites for the 4-Port ATM ISE Line Card
There are no prerequisites for using the 4-port ATM ISE line card.
Restrictions for the 4-Port ATM ISE Line Card
Restrictions and limitations for the 4-Port ATM ISE line cards are listed in Tab l e 1 and Table 2.
Table 1 Supported Values for 4-Port ATM ISE Line Card
Feature Limitation
Maximum number of cell packing or policing VCs
1
508 per port
2
Maximum number of active VCs3: Layer 2 Layer 3
Range of VPI5 values
10244 per port and card
3
2047
per port and card
Varies with vc-per-vp value. In Release 12.0(25)S: up to 255 In Release 12.0(27)S: UNI VPIs—up to 255; NNI VPIs—up to 4095
Range of VCI
1. VC=virtual circuit.
2. Hardware limitation.
3. Subject to overall system limitation and configuration.
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.
5. VPI=virtual path identifier.
6. VCI=virtual channel identifier.
Table 2 Scalability Limitations for the 4-Port ATM ISE Line Card
6
values
Varies with vc-per-vp value, up to 65,535
Layer 2
Feature
Limitation
Maximum number of AToM Tunnels per port 1024
Maximum number of AToM Tunnels per line card 1024
Maximum number of AToM Tunnels per router 2048
Maximum number of AToM Tunnels per port with features
1
508
Maximum number of AToM Tunnels per port with cell packing 508
Cisco IOS Release 12.0(27)S
2
Software Configuration of ATM ISE Line Cards for Cisco 12000 Series Routers
Information About the 4-Port ATM ISE Line Card
Table 2 Scalability Limitations for the 4-Port ATM ISE Line Card (continued)
Feature
Maximum number of AToM Tunnels per line card with features
1
Maximum number of AToM Tunnels per line card with cell packing 1024
1. Includes features such as policing
Information About the 4-Port ATM ISE Line Card
The 4-Port ATM ISE line cards, which deliver line rate OC-12c/STM-4c or OC-3c/STM-1 bandwidth, provide enhanced Layer 2 and Layer 3 capabilities for high-speed customer aggregation, backbone connectivity, and peering solutions. These cards perform traffic shaping and per-virtual circuit (VC) queueing, and support per-VC Modified Deficit Round Robin (MDRR) with per-VC low latency queueing (LLQ). They also support Any Transport over MPLS (AToM), enhanced traffic policing, and the ability to configure both AToM VCs and terminated VCs on a single port.
MDRR is implemented on a per-VC basis with up to eight queues per VC, where one of the queues is a low latency queue (LLQ). Both per-VC Weighted Random Early Detection (WRED) and per-VC MDRR are performed in the hardware.
The 4-Port OC-12c/STM-4c ATM ISE line card provides the Cisco 12000 Series Router with four 622-Mbps ATM interfaces. The 4-Port OC-3c/STM-1 ATM ISE line card provides four 155-Mbps ATM interfaces. The cards communicate with the Cisco 12000 Series Router switch fabric.
Layer 2 Limitation
1024
Features of the 4-Port ATM 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)
range. User-network interface (UNI) VPIs can be in the range of 0..255; network-to-network interface (NNI) VPIs can be in the range of 0..4095. VCIs can be in the range 0..65,535.
Per-VC statistics through hardware.
Per-port statistics through hardware.
AAL5 [I.362] [I.363] reassembly and segmentation.
Non-real-time variable bit rate (VBR-nrt) and real time variable bit rate (VBR-rt) traffic shaping
with 99+ percent shaping accuracy.
Constant bit rate (CBR) traffic shaping with 99+ percent shaping accuracy.
Unspecified bit rate (UBR) with support for optional peak cell rate (PCR) parameter with 99+
percent shaping accuracy.
VP tunnel traffic shaping for the full range of VPI on UNI interfaces—up to 256 VP tunnels per port.
Maximum transmission unit (MTU) of up to 9180 bytes.
Each VC supports up to 9K MTU.
Cisco IOS Release 12.0(27)S
3
Information About the 4-Port ATM ISE Line Card
F4 and F5 flows of operation, administration, and maintenance (OAM) cells and OAM management
specified as requirements by [UNI 3.x] [I.610].
Layer 3-Specific Features
Software Configuration of ATM ISE Line Cards for Cisco 12000 Series Routers
Supports up to 2047 traffic-shaped VC connections per interface.
Bidirectional OC-12c/STM-4c line rate for 64-byte packets (two cells) on all four ports. This is an
1
aggregate line rate of approximately 2.8 million packets per second.
Bidirectional OC-3c/STM-1 full line rate for any packet size on all four ports.
Support for up to 120 distinct WRED profiles per interface. These profiles are configurable using
Cisco IOS software.
ATM VC bundle management.
MPLS Traffic Engineering (TE), including Single Area (OSPF,ISIS), DS-TE (OSPF,ISIS),
Autobandwidth, TE Metrics (OSPF,ISIS), TE Node Exclusion (OSPF,ISIS), Multiarea (OSPF,ISIS).
Support for thousands of ACL/xACL entries, including both ingress 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 EXP, QoS
groups, and more.
IP and MPLS traffic marking
QoS Policy Propagation via BGP (QPPB)
Ingress IP-based traffic shaping.
Netflow, including sampled ingress/egress Netflow, aggregated Netflow, and MPLS-aware Netflow.
High Availability, including route processor redundancy (RPR), RPR+, and Stateful Switchover
(SSO).
ATM OAM F5 continuity check.
MPLS virtual private network (VPN).
UNI 3.x and Interim Local Management Interface (ILMI).
Switched virtual circuit (SVC) support for point-to-point and point-to-multipoint connections.
Multicast packet replication.
ATM cell loss priority (CLP) bit setting.
MPLS VPN Inter-AS.
MPLS VPN carrier supporting carrier (CsC).
Layer 2-Specific Features
Supports up to 2047 traffic-shaped VC connections per interface.
1. Subject to overall system limitation and configuration.
2
Cisco IOS Release 12.0(27)S
4
Software Configuration of ATM ISE Line Cards for Cisco 12000 Series Routers
How to Perform a Basic Configuration of the 4-Port ATM ISE Line Card
Any Transport over Multiprotocol Label Switching (MPLS) [AToM].
ATM OA M E m u l a t io n
Cell-based policing
Experimental bit marking
Cell packing for port, VC, and VP modes
Cell relay for port, VC, and VP modes
How to Perform a Basic Configuration of the 4-Port ATM ISE Line Card
The 4-port ATM ISE line cards provide the ability to configure Layer 2 AToM VCs as well as Layer 3 terminated VCs. On any individual ATM interface, you can configure both AToM VCs and terminated VCs as required. The configurations of these are discussed in subsequent sections in this document. This section provides basic ATM interface configuration information and discusses those features that are applicable to both AToM VCs and terminated VCs.
Configuring ATM interfaces and virtual 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 shutdown command in configuration mode.
Default Interface Configuration
When the 4-Port ATM ISE line card is enabled (taken out of shutdown) with no additional configuration commands applied, the default interface configuration file parameters, described in Tab le 3, are used.
Table 3 4-Port ATM ISE Line Card Default Configuration Values
Parameter Configuration File Entry Default Value
Maximum transmission unit (MTU) [no] mtu bytes 4470 bytes
Maximum numbers of virtual circuits [no] atm maxvc numvc 2047
Loopback [no] loopback [diagnostic | line] no loopback
Internal clock [no] atm clock internal no atm clock internal
SONET framing [no] atm sonet stm-4 no atm sonet stm-4
2. Subject to overall system limitation and configuration.
Cisco IOS Release 12.0(27)S
5
How to Perform a Basic Configuration of the 4-Port ATM ISE Line Card
Configuration Basics
After you verify that the new 4-Port ATM ISE line card is installed correctly, use the configure command to configure the new interface. Be prepared with the information that you will need, such as the interface IP address.
The Cisco 12000 Series Router identifies an interface address by its line card slot number and port number, in the format slot/port. Because each 4-Port ATM ISE line card contains four ATM interfaces, the port numbers are 0 to 3. For example, the slot/port address of an ATM interface on a 4-Port ATM ISE line card installed in line card slot 2 is 2/0 to 2/3.
Use the following procedure to create a basic configuration, 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 interfaces
Software Configuration of ATM ISE Line Cards for Cisco 12000 Series Routers
DETAILED STEPS
Command or Action Purpose
Step 1
Step 2
Step 3
show version
show interfaces
enable
Example:
Router> enable
Step 4
configure terminal
Example:
Router# configure terminal
Step 5
interface atmslot/port
3. enable
4. configure terminal
5. interface atmslot/port
6. no shutdown
7. Ctrl-Z
8. copy running-config startup-config
Confirm that the system recognizes the line card.
Check the status of each port on the line card.
Enables privileged EXEC mode.
Enter your password if prompted.
Enters global configuration mode.
Enter interface configuration mode for the specified ATM interface.
Example:
Router(config)# interface atm1/3
Cisco IOS Release 12.0(27)S
6
Software Configuration of ATM ISE Line Cards for Cisco 12000 Series Routers
Command or Action Purpose
Step 6
Step 7
Step 8
no shutdown
Example:
Router(config-if)# no shutdown
Press Ctrl-Z
copy running-config startup-config
Configuring UNI and NNI Cell Support
You can designate that the cell format for an interface be either User Network Interface (UNI) or Network Node Interface (NNI). The default setting is UNI. Use the atm maxvpi-bits command to change the maximum VPI range from 0..255 (UNI) to 0..4095 (NNI).
Router(config)# interface atm 2/2 Router(config-if)# atm maxvip-bits 12
How to Perform a Basic Configuration of the 4-Port ATM ISE Line Card
Change the state of the interface to up and enable the interface.
Exit configuration mode.
Perform this after completing all desired configuration commands on the interface or subinterface.
Write the new configuration to memory.
To change the interface setting back to NNI, use the no form of this command: no maxvip-bits 12.
This configuration should be entered before the connection is added.
Troubleshooting Tips
To verify the operation of the interfaces configured on the 4-Port ATM ISE line card, use the following commands:
Command Purpose
Router# show version
Router# show gsr
Router# show interfaces atm slot/port
Router# show running-config
Displays the configuration of the system hardware, the software release, the names and sources of configuration files, and the boot images. Verify that the list includes the newly configured 4-Port ATM ISE line card ports and interfaces.
Displays information about the hardware modules installed in the Cisco 12000 Series Router.
Displays information about the ATM interfaces. For example, to display information about slot 2, port 0, enter:
Router# show interfaces atm2/0
Displays information about the currently running configuration in RAM.
To display information about the current state of the ATM network, use the following commands:
Cisco IOS Release 12.0(27)S
7
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
Command Purpose
Router# show atm interface atm slot/port
Router# show atm traffic
Displays current ATM-specification information about the 4-Port ATM ISE line card interface.
Displays current ATM statistics.
How to Configure Layer 3 Terminated VCs on the 4-Port ATM ISE Line Card
The following configuration tasks are described in this section:
Configuring Layer 3 Terminated Virtual Circuits, page 8
Configuring ATM Shaping on Terminated VCs, page 9
Configuring OAM Management on Terminated VCs, page 11
Configuring Quality of Service on Terminated VCs, page 14
Configuring and Managing VC Bundles, page 28
Configuring Bridged PVCs, page 35
Configuring Layer 3 Terminated 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. The characteristics of the VC are established when it is created and include the following for the 4-Port ATM ISE line cards:
Quality of service (QoS)
ATM adaptation layer (AAL) mode
Encapsulation type (LLC/SNAP, IP MUX, and NLPID)
Peak and average transmission rates
Permanent virtual 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 create a PVC, you create a virtual circuit descriptor (VCD) and attach it to the VPI and VCI. The VCD tells the card which VPI/VCI to use for a particular packet. The 4-Port ATM ISE line card requires this feature to manage the packets for transmission. The number chosen for the VCD is independent of the VPI/VCI used.
A permanent virtual path (PVP) is like a bundle of VCs, transporting all cells with a common VPI, rather than a specific VPI and VCI.
PVCs are created and configured using the pvc command in interface configuration mode. PVPs are created and configured using the atm pvp command in interface configuration mode.
The syntax of the pvc command is as follows:
pvc [name] vpi/vci
Cisco IOS Release 12.0(27)S
8
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
The syntax of the atm pvp command is:
atm pvp vpi
vpi is the ATM network VPI to use for this virtual circuit, in the range of 0 to 255 for UNI or 0 to 4095 for NNI; vci is the ATM network VCI to use for this virtual circuit, in the range of 0 to 655,535.
Troubleshooting Tips
To display information about the connected virtual circuits, use the following commands:
Command Purpose
Router# show atm pvc
Router# show atm vc
Displays current ATM PVC information.
Displays current ATM VC information.
Configuring ATM Shaping on Terminated VCs
The 4-Port ATM ISE line cards support IP traffic shaping on terminated VCs. The following ATM shaping options are available:
Restrictions
Constant bit rate (CBR)—Supports real-time applications that request a static amount of bandwidth
that is continuously available for the duration of the connection. (See Step 5.)
Real-time variable bit rate (VBR-rt)—Supports real-time applications that have bursty transmission
characteristics. (See Step 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 it is a best-effort service. (See Step 8.)
To configure ATM shaping, perform the shaping commands in PVC mode. You should use only one of the shaping commands in Step 5 through Step 8, depending on the type of shaping to be configured.
CDVT
When traffic shaping is configured on a VC, the cell delay variation (CDV) is set for the VC. This value will change according to the shaping class defined. The cell delay variation tolerance (CDVT) values are shown in Table 4.
Table 4 CDVT per Traffic Class for Traffic Shaping
Traffic Class OC-12c/STM-4c Line Card OC-3c/STM-1 Line Card
CBR 70 μsec 70 μsec
UBR 185 μsec 305 μsec
VBR-RT 70 μsec 70 μsec
VBR-NRT 185 μsec 305 μsec
Cisco IOS Release 12.0(27)S
9
How to Configure Layer 3 Terminated VCs on the 4-Port ATM ISE Line Card
Note For VBR connections in which the sustainable cell rate (SCR) is not equal to the PCR value, the CDVT
is significantly lower.
Decreased VC Throughput
If you configure a VC on a 4-Port OC-12/STM-4 ATM ISE interface with a peak cell rate (PCR) or sustainable cell rate (SCR) greater than OC-6 (using the ubr, vbr-nrt, vbr-rt, or cbr commands), and attach a traffic policy with MDRR (configured using the bandwidth command) to the interface for specified traffic classes, when traffic on the interface from the specified classes is equal to or greater than the configured PCR or SCR values, frequent queueing and dequeueing changes occur between the MDRR queues and may cause a decreased VC throughput.
Decreased throughput is more likely 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.
SUMMARY STEPS
Software Configuration of ATM ISE Line Cards for Cisco 12000 Series Routers
DETAILED STEPS
Command or Action Purpose
Step 1
enable
Example:
Router> enable
Step 2
configure terminal
Use either Step 5, Step 6, Step 7 or Step 8 depending on the desired shaping.
1. enable
2. configure terminal
3. interface atmslot/port.subinterface
4. pvc vpi/vci
5. cbr pcr
6. vbr-rt pcr scr
7. vbr-nrt pcr scr
8. ubr pcr
Enables privileged EXEC mode.
Enter your password if prompted.
Enters global configuration mode.
Example:
Router# configure terminal
Step 3
interface atmslot/port.subinterface
Example:
Router(config)# interface atm1/0.2
Cisco IOS Release 12.0(27)S
10
Specifies an ATM interface or subinterface to configure.
Configure subinterfaces so that you can take advantage of access list definitions for the IP traffic.
Software Configuration of ATM ISE Line Cards for Cisco 12000 Series Routers
Command or Action Purpose
Step 4
pvc [name] vpi/vci
Example:
Router(config-if)# pvc 0/100
Step 5
cbr pcr
Router(config-if-vc)# cbr 155000
How to Configure Layer 3 Terminated VCs on the 4-Port ATM ISE Line Card
Specifies a PVC with the specified VPI and virtual circuit identifier (VCI).
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
Specifies VBR-rt shaping.
The pcr value indicates the peak cell rate, and its range is from 38 to 622,000 Kbps. The scr value indicates the sustainable cell rate, and its range is from 38 to pcr Kbps. The burst value indicates the burst size, in number of cells.
Specifies VBR-nrt shaping.
Step 7
Example:
Router(config-if-vc)# vbr-rt 100000 40000 200000
vbr-nrt pcr scr mbs
The pcr value indicates the peak cell rate, and its range is
Example:
Router(config-if-vc)# vbr-nrt 100000 40000 200000
from 38 to 622,000 Kbps. The scr value indicates the sustainable cell rate, and its range is from 38 to pcr Kbps. The mbs value indicates the maximum burst size, in number of cells.
Step 8
ubr pcr
Specifies UBR shaping.
The pcr value indicates the peak cell rate, and its range is
Example:
Router(config-if-vc)# ubr 100000
from 38 to 622,000 Kbps.
Configuring OAM Management on Terminated VCs
OAM may be enabled for PVC or SVC management on terminated VCs. To configure OAM management for an ATM Layer 3 PVC, perform the following procedure.
SUMMARY STEPS
1. enable
2. configure terminal
3. interface atmslot/port.subinterface [point-to-point | multipoint]
4. pvc vpi/vci
5. oam-pvc manage
6. oam retry up-count down-count retry-frequency
7. oam-pvc manage cc {end | segment} [direction {both | sink | source}] [keep-vc-up [end aisrdi
failure | seg aisrdi failure]]
8. oam retry cc {end | segment} [activation-count [deactivation-count [retry-frequency]]]
Cisco IOS Release 12.0(27)S
11
How to Configure Layer 3 Terminated VCs on the 4-Port ATM ISE Line Card
DETAILED STEPS
Command or Action Purpose
Step 1
enable
Example:
Router> enable
Step 2
configure terminal
Example:
Router# configure terminal
Step 3
interface atmslot/port.subifnum {point-to-point | multipoint}
Example:
Router(config)# interface atm1/3.2 point-to-point
Step 4
pvc [name] vpi/vci
Software Configuration of ATM ISE Line Cards for Cisco 12000 Series Routers
Enables privileged EXEC mode.
Enter your password if prompted.
Enters global configuration mode.
Specify the new ATM subinterface to configure.
Specify an ATM PVC.
Example:
Router(config-subif)# pvc 10/50
Step 5 oam-pvc manage [frequency]
Example:
Router(config-if-atm-vc)# oam-pvc manage
Step 6
oam retry up-count down-count retry-frequency
Example:
Router(config-if-atm-vc)# oam retry 3 5 1
Enable OAM management.
(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 argument to specify the number of consecutive end-to-end F5 OAM loopback cell responses that are not received in order to tear down a PVC. Use the retry-frequency argument to specify the frequency (in seconds) at which end-to-end F5 OAM loopback cells should be transmitted when a change in UP/DOWN state is being verified. For example, if a PVC is up and a loopback cell response is not received after the frequency (in seconds) specified using the oam-pvc command, then loopback cells are sent at the retry-frequency to verify whether or not the PVC is down.
Cisco IOS Release 12.0(27)S
12
Software Configuration of ATM ISE Line Cards for Cisco 12000 Series Routers
Command or Action Purpose
Step 7
oam-pvc manage cc {end | segment} [direction {both | sink | source}] [keep-vc-up [end aisrdi failure | seg aisrdi failure]]
Configures ATM OAM F5 continuity check (CC) management to detect connectivity failures at the ATM layer.
Example:
Router(config-if-atm-vc)# oam-pvc manage cc segment direction source
Step 8
oam retry cc {end | segment} [activation-count [deactivation-count [retry-frequency]]]
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.
Example:
Router(config-if-atm-vc)# oam retry cc segment 10 10 30
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.
How to Configure Layer 3 Terminated VCs on the 4-Port ATM ISE Line Card
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.
Cisco IOS Release 12.0(27)S
13
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
The 4-Port ATM ISE line card implements two types of OAM cells: CC cells for fault management and CC cells for activation and deactivation. Fault management cells detect connectivity failures. Activation and deactivation cells initiate the activation or deactivation of continuity checking.
Configuring Quality of Service on Terminated VCs
Quality of Service (QoS) on terminated VCs is configured using the Modular QoS CLI (MQC). MQC allows users to create traffic policies and attach these policies to interfaces. A traffic policy contains a traffic class and one or more QoS features. A traffic class is used to classify traffic, and the QoS features in the traffic policy determine how to treat the classified traffic.
To configure and enable QoS on terminated VCs, you must define a traffic class, create a traffic policy, and attach this traffic policy to the PVC. See the “Configuring Modular QoS CLI” section 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
This task describes how to configure traffic policing using the MQC. Traffic policing can be configured for either ingress or egress traffic.
This task illustrates the use of the match access-group command. For information on other match options, refer to the “Configuring Modular QoS CLI” section on page 84.
When traffic policing is configured, packets coming into interface are evaluated by the token bucket algorithm to determine whether they conform to or exceed the specified parameters. The conform-action, exceed-action, and violate-action parameters in the police command determine what is done with the packets.
SUMMARY STEPS
1. enable
2. configure terminal
3. class-map class-map-name
4. match access-group access-group
5. exit
6. policy-map policy-name
7. class class-name
8. police bps burst-normal burst-max conform-action action exceed-action action violate-action
action
9. exit
Cisco IOS Release 12.0(27)S
14
Software Configuration of ATM ISE Line Cards for Cisco 12000 Series Routers
10. exit
11. interface atmslot/port.subifnum
12. pvc vpi/vci
13. service-policy {input | output} policy-name
DETAILED STEPS
Command or Action Purpose
Step 1
enable
Example:
Router> enable
Step 2
configure terminal
Example:
Router# configure terminal
Step 3
class-map class-map-name
How to Configure Layer 3 Terminated VCs on the 4-Port ATM ISE Line Card
Enables privileged EXEC mode.
Enter your password if prompted.
Enters global configuration mode.
Specifies the user-defined name of the traffic class.
Step 4
Step 5
Step 6
Step 7
Step 8
Step 9
Step 10
Example:
Router(config)# class-map acgroup2
match access-group access-group
Example:
Router(config-cmap)# match access-group 2
exit
policy-map policy-name
Example:
Router(config)# policy-map police
class class-name
Example:
Router(config-pmap)# class acgroup2
Router(config-pmap-c)# police bps burst-normal
burst-max conform-action action exceed-action action violate-action action
Example:
Router(config-pmap)# police 8000 2000 4000 conform-action transmit exceed-action set-qos-transmit 4
exit
exit
Specifies the numbered access list against whose contents packets are checked to determine if they belong to the class.
Exits class-map mode.
Specifies the name of the traffic policy to configure.
Specifies the name of a predefined class, which was defined with the class-map command, to be included in the traffic policy.
Specifies a maximum bandwidth usage by a traffic class through the use of a token bucket algorithm.
Exits policy-map class mode.
Exits policy-map mode
Cisco IOS Release 12.0(27)S
15
How to Configure Layer 3 Terminated VCs on the 4-Port ATM ISE Line Card
Command or Action Purpose
Step 11
Step 12
Step 13
interface atmslot/port.subifnum
Example:
Router(config)# interface atm1/0.1
pvc vpi/vci
Example:
Router(config-subif)# pvc 10/50
service-policy {input | output} policy-name
Example:
Router(config-if-atm-vc)# service-policy input police
The command syntax of the police command allows you to specify the action to be taken on a packet when you enable the action keyword. The actions resulting from the keyword choices are listed in
Table 5.
Software Configuration of ATM ISE Line Cards for Cisco 12000 Series Routers
Specifies the ATM subinterface to configure.
Specifies the ATM PVC to attach the traffic policy to.
Attaches the traffic policy to the PVC.
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
set-discard-class-transmit
new-class
set-dscp-transmit dscp Sets the differentiated services code point (DSCP) value and
set-mpls-exp-imposition-transmit
mpls-exp
set-mpls-exp-topmost-transmit
mpls-exp
set-prec-transmit new-prec Sets the IP precedence and sends the packet.
set-qos-transmit new-qos Sets the QoS group and sends the packet. This is supported for
transmit Sends the packet.
Configuring a Per-VC Queue Limit
for egress only.
Sets the discard-class and sends the packet. This is supported for ingress on terminated VCs only.
sends the packet.
Sets the experimental value at tag imposition and sends the packet. This is supported for ingress on terminated VCs only.
Sets the experimental value on the topmost label and sends the packet. This is supported on terminated VCs only.
ingress only.
Use this task to configure a per-VC queue limit on a single egress or ingress queue.
Restrictions
A queue limit cannot be configured together with WRED.
Cisco IOS Release 12.0(27)S
16
Software Configuration of ATM ISE Line Cards for Cisco 12000 Series Routers
SUMMARY STEPS
1. enable
2. configure terminal
3. policy-map policy-name
4. class class-default
5. queue-limit cells cells (for egress queue) or queue-limit packets packets (for ingress queue)
6. exit
7. exit
8. interface atmslot/port.subifnum
9. pvc vpi/vci
10. service-policy {input | output} policy-name
DETAILED STEPS
How to Configure Layer 3 Terminated VCs on the 4-Port ATM ISE Line Card
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
Step 7
Command or Action Purpose
enable
Enables privileged EXEC mode.
Enter your password if prompted.
Example:
Router> enable
configure terminal
Enters global configuration mode.
Example:
Router# configure terminal
policy-map policy-name
Specifies the name of the traffic policy to configure.
Example:
Router(config)# policy-map qlimit1
class class-default
Specifies to configure the default class.
Example:
Router(config-pmap)# class class-default
queue-limit cells cells or queue-limit packets packets
Specifies the maximum number of cells or packets queued for a traffic class that has a bandwidth configuration or class-default specified. Ingress queues are defined in packets and egress queues are defined in cells.
Example:
Router(config-pmap-c)# queue-limit 576 cells
exit
exit
Exits policy-map class mode.
Exits policy-map mode.
Cisco IOS Release 12.0(27)S
17
How to Configure Layer 3 Terminated VCs on the 4-Port ATM ISE Line Card
Command or Action Purpose
Step 8
interface atmslot/port.subifnum point-to-point
Example:
Router(config)# interface atm4/0.1
Step 9
pvc vpi/vci
Example:
Router(config-subif)# pvc 4/11
Step 10
service-policy {input | output} policy-name
Example:
Router(config-if-atm-vc)# service-policy output qlimit1
Configuring Per-VC WRED
Software Configuration of ATM ISE Line Cards for Cisco 12000 Series Routers
Specifies the ATM subinterface to configure.
Specifies the ATM PVC to attach the traffic policy to.
Attaches the traffic policy to the PVC.
Restrictions
SUMMARY STEPS
Use this task to configure DSCP-based or precedence-based WRED on a VC. WRED can be configured on both ingress or egress queues, where ingress queues are defined in terms of packets and egress queues are defined in terms of cells.
Random-detect cannot be configured on a class that has priority configured.
No more than three different Random Early Detection (RED) profiles can be configured on one class
of service (COS) queue.
For precedence-based WRED use Step 7; for DSCP-based 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}
[mark-probability-denominator]
10. exit
11. exit
12. interface atmslot/port.subifnum
Cisco IOS Release 12.0(27)S
18
Software Configuration of ATM ISE Line Cards for Cisco 12000 Series Routers
13. pvc vpi/vci
14. service-policy output policy-name
DETAILED STEPS
Command or Action Purpose
Step 1
enable
Example:
Router> enable
Step 2
configure terminal
Example:
Router# configure terminal
Step 3
policy-map policy-name
How to Configure Layer 3 Terminated VCs on the 4-Port ATM ISE Line Card
Enables privileged EXEC mode.
Enter your password if prompted.
Enters global configuration mode.
Specifies the name of the traffic policy to configure.
Step 4
Step 5
Step 6
Step 7
Example:
Router(config)# policy-map wred-1
class class-name
Example:
Router(config-pmap)# class class1
random-detect
random-detect exponential-weighting-constant n
Example:
Router(config-pmap-c)# random-detect exponential-weighting-constant 10
random-detect precedence precedence min-threshold {cells | packets} max-threshold {cells | packets} [mark-prob-denominator]
Example:
Router(config-pmap-c)# random-detect precedence 4 500 cells 1100 cells 1
Specifies to configure the first class.
Enables a weighted random early detection (WRED) drop policy for a traffic class that has a bandwidth configuration or class-default specified.
Configures a WRED exponential weighting constant on a per-COS-queue basis.
Specifies the minimum and maximum cell thresholds and, optionally, the mark-probability denominator for the precedence value.
Specify cells for egress and packets for ingress.
Note Use this step to configure precedence-based
WRED.
Step 8
random-detect dscp-based
Indicates that WRED is to use the DSCP value when it calculates the drop probability for the packet.
Note Use this step to configure DSCP-based WRED.
Cisco IOS Release 12.0(27)S
19
How to Configure Layer 3 Terminated VCs on the 4-Port ATM ISE Line Card
Command or Action Purpose
Step 9
random-detect dscp dscpvalue min-threshold {cells | packets} max-threshold {cells | packets} [mark-probability-denominator]
Example:
Router(config-pmap-c)# random-detect dscp 1 300 cells 700 cells 1
Software Configuration of ATM ISE Line Cards for Cisco 12000 Series Routers
Specifies the minimum and maximum cell thresholds and, optionally, the mark-probability denominator for the DSCP value.
Specify cells for egress and packets for ingress.
Note Use this step to configure DSCP-based WRED.
Step 10
Step 11
Step 12
exit
exit
interface atmslot/port.subifnum
Exits policy-map class mode.
Exits policy-map mode.
Specifies the ATM subinterface to configure.
Example:
Router(config)# interface atm1/0.1
Step 13
pvc vpi/vci
Specifies the ATM PVC to attach the policy map to.
Example:
Router(config-subif)# pvc 1/1
Step 14
service-policy output policy-name
Attaches the policy map to the PVC.
Example:
Router(config-if-atm-vc)# service-policy output wred-1
Configuring Per-VC MDRR and Low Latency Queueing
This task configures egress MDRR.
Using egress MDRR, the 4-Port ATM ISE line card supports up to eight queues for classes of traffic per VC. One of the queues is always reserved for a special class called class-default. Up to seven of the classes are normal queues, including the class-default queue. The eighth class is always a low latency queue.
The class, class-default, is always configured, and it consumes one of the eight queues. If not configured explicitly, it is configured implicitly. When the bandwidth command is used, at least 1 percent of traffic must be reserved for the class-default queue. All packets that do not match any user-defined class on the policy map are considered to belong to class-default, and therefore enter the default queue.
The low latency queue, or priority queue, is also always created. All traffic sourced from the router (including ping traffic and multicast traffic) uses this queue, regardless of classification.
Bandwidth percentages 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; therefore, you should ensure that the bandwidth allocated to all configured classes is less that 90 percent.
Cisco IOS Release 12.0(27)S
20
Software Configuration of ATM ISE Line Cards for Cisco 12000 Series Routers
Set the MTU as low as possible on each subinterface, using the ip mtu command, while still
avoiding fragmentation. Fragmentation causes extreme performance degradation, because it is done in the slow path. Do not decrease the MTU to the point where it causes fragmentation.
Note Changing MTU settings may cause all VCs on the interface or subinterface to be torn down and
set back up.
If none of the classes is a priority class, the maximum number of classes that can be configured with the bandwidth command, excluding the class-default class, is six. When class-default is not specified, at least 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 queue, then all forms of the bandwidth commands are allowed.
SUMMARY STEPS
How to Configure Layer 3 Terminated VCs on the 4-Port ATM ISE Line Card
DETAILED STEPS
Command or Action Purpose
Step 1
enable
1. enable
2. configure terminal
3. policy-map policy-name
4. class class-name
5. priority
6. class class-name
7. bandwidth remaining percent percent
8. class class-default
9. exit
10. exit
11. interface atmslot/port.subifnum
12. pvc vpi/vci
13. service-policy output policy-name
Enables privileged EXEC mode.
Example:
Router> enable
Step 2
configure terminal
Example:
Router# configure terminal
Enter your password if prompted.
Enters global configuration mode.
Cisco IOS Release 12.0(27)S
21
How to Configure Layer 3 Terminated VCs on the 4-Port ATM ISE Line Card
Command or Action Purpose
Step 3
policy-map policy-name
Example:
Router(config)# policy-map WRED-MDRR-POLICY-1
Step 4
class class-name
Example:
Router(config-pmap)# class class1
Step 5
Step 6
priority
class class-name
Example:
Router(config-pmap)# class class2
Step 7
bandwidth remaining percent percent
Example:
Router(config-pmap-c)# bandwidth remaining percent 50
Step 8
Step 9
Step 10
Step 11
class class-default
exit
exit
interface atmslot/port.subifnum
Software Configuration of ATM ISE Line Cards for Cisco 12000 Series Routers
Specifies the name of the traffic policy to configure.
Specifies to configure the first class.
Specifies the class as the priority class.
Specifies to configure the second class.
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, regardless of the percent specified.
Explicitly specifies to configure the default class.
Exits policy-map class mode.
Exits policy-map mode.
Specifies the ATM subinterface to configure.
Step 12
Step 13
Example:
Router(config)# interface atm1/0.1
pvc vpi/vci
Specifies the ATM PVC to attach the policy map to.
Example:
Router(config-subif)# pvc 1/1
service-policy output policy-name
Attaches the policy map to the PVC.
Example:
Router(config-if-atm-vc)# service-policy output WRED-MDRR-POLICY-1
Note If the class-default is not explicitly configured, it is implicitly configured. All remaining bandwidth is
allocated to class-default.
Note VCs with a configured bandwidth (using the bandwidth command) are limited to a peak cell rate (PCR)
of 299,520 Kbps on the 4-Port OC-12c/STM-4c ATM ISE line card.
Cisco IOS Release 12.0(27)S
22
Software Configuration of ATM ISE Line Cards for Cisco 12000 Series Routers
Examples
Following are additional examples of configuring MDRR:
Configuring Per-VC MDRR and Low Latency Queueing with Queue Limits
Configuring Per-VC MDRR and Policed Low Latency Queueing
Configuring Per-VC MDRR and Low Latency Queueing with Queue Limits
In the following example, per-VC MDRR and LLQ are configured with nondefault queue limits.
Configure the policy map as shown in the example:
Router(config)# policy-map MDRRandQlimit Router(config-pmap)# class class1 Router(config-pmap-c)# priority Router(config-pmap-c)# class class2 Router(config-pmap-c)# bandwidth remaining percent 50 Router(config-pmap-c)# queue-limit 576 cells Router(config-pmap-c)# class class-default Router(config-pmap-c)# queue-limit 576 cells
After the policy map has been created, configure it on the VC using the service-policy command.
How to Configure Layer 3 Terminated VCs on the 4-Port ATM ISE Line Card
Configuring Per-VC MDRR and Policed Low Latency Queueing
If the police command is used with the exceed-action set to drop on the priority queue, then the bandwidth 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 Router(config-pmap-c)# class class2 Router(config-pmap-c)# bandwidth percent 20 Router(config-pmap-c)# end Router#
The next example uses the bandwidth remaining percent command, and specifies that 20 percent of the remaining bandwidth 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 Router(config-pmap-c)# class class2 Router(config-pmap-c)# bandwidth remaining percent 20 Router(config-pmap-c)# end Router#
After the policy map has been created, configure it on the VC using the service-policy command.
Configuring the set Commands
This task illustrates how to configure the toggling of various bits, such as the ATM CLP, the IP DSCP, the IP precedence, and the MPLS experimental. Setting of the ATM CLP bit is only supported on egress queues; setting of all other bits is supported on both ingress and egress queues.
Cisco IOS Release 12.0(27)S
23
How to Configure Layer 3 Terminated VCs on the 4-Port ATM ISE Line Card
In this task, use one of either Step 8, Step 9, Step 10, Step 11, or Step 12, depending on what bits you need to configure.
SUMMARY STEPS
1. enable
2. configure terminal
3. class-map class-map-name
4. match ip precedence numbers
5. exit
6. policy-map policy-name
7. class class-name
8. set atm-clp
9. set ip precedence value
10. set ip dscp ip-dscp-value
11. set mpls experimental value
12. set qos-group value
Software Configuration of ATM ISE Line Cards for Cisco 12000 Series Routers
DETAILED STEPS
Command or Action Purpose
Step 1
enable
Example:
Router> enable
Step 2
configure terminal
Example:
Router# configure terminal
Step 3
class match-any class-name
Example:
Router(config-pmap)# class match-any prec345
Step 4
match ip precedence numbers
13. exit
14. exit
15. interface atmslot/port.subifnum
16. pvc vpi/vci
17. service-policy input policy-name
Enables privileged EXEC mode.
Enter your password if prompted.
Enters global configuration mode.
Specifies the user-defined name of the traffic class. The match-any keyword specifies a logical OR operator for all matching statements under this traffic class.
Specifies up to eight IP precedence values used as match criteria.
Example:
Router(config-cmap)# match ip precedence 3 4 5
Cisco IOS Release 12.0(27)S
24
Software Configuration of ATM ISE Line Cards for Cisco 12000 Series Routers
Command or Action Purpose
Step 5
Step 6
exit
policy-map policy-name
Example:
Router(config)# policy-map SET_ATM_CLP
Step 7
class prec345
Example:
Router(config-pmap)# class prec345
Step 8
set atm-clp
How to Configure Layer 3 Terminated VCs on the 4-Port ATM ISE Line Card
Exits class-map mode.
Specifies the name of the traffic policy to configure.
Specifies the name of a predefined class, which was defined with the class-map command, to be included in the traffic policy.
Sets the ATM cell loss priority bit to 1.
Step 9
Step 10
Step 11
Step 12
Step 13
Step 14
Step 15
Step 16
Example:
Router(config-pmap)# set atm-clp
set ip precedence
set ip dscp ip-dscp-value
Example:
Router(config-pmap-c)# set ip dscp 31
set mpls experimental value
set qos-group value
Example:
Router(config-pmap-c)# set qos-group 10
exit
exit
interface atmslot/port.subifnum
Example:
Router(config)# interface atm1/0.1
pvc vpi/vci
Note Use either Step 8, Step 9, Step 10, Step 11, or
Step 12, depending on what bits you need to
configure.
Specifies the IP precedence of packets within a traffic class. The IP precedence value can be any value between 0 and 7.
Specifies the IP DSCP of packets within a traffic class. The IP DSCP value can be any value between 0 and 63.
Designates the value to which the MPLS bits are set if the packets match the specified policy map.
Specifies a QoS group value to associate with the packet. The QoS group value can be any value between 0 and 99.
Exits policy-map class mode.
Exits policy-map mode.
Specifies the ATM subinterface to configure.
Specifies the ATM PVC to attach the policy map to.
Example:
Router(config-subif)# pvc 10/50
Step 17
service-policy input policy-name
Example:
Router(config-if-atm-vc)# service-policy output SET_ATM_CLP
Attaches the policy map to the PVC.
Cisco IOS Release 12.0(27)S
25
How to Configure Layer 3 Terminated VCs on the 4-Port ATM ISE Line Card
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.
Software Configuration of ATM ISE Line Cards for Cisco 12000 Series Routers
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.
Cisco IOS Release 12.0(27)S
26
Software Configuration of ATM ISE Line Cards for Cisco 12000 Series Routers
Router(config)# class-map match-any prec01 Router(config-cmap)# match ip prec 0 1
Router(config)# class-map match-any prec345 Router(config-cmap)# match ip prec 3 4 5
Router(config)# policy SET_ATM_CLP Router(config-pmap)# class prec01 Router(config-pmap-c)# bandwidth percent 10 Router(config-pmap-c)# class prec345 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 by Traffic Policing
This example uses traffic policing to mark packets by setting the ATM CLP bit:
Router(config)# policy-map POLIC_SET_ATM_CLP Router(config-pmap)# class class1 Router(config-pmap-c)# police 64000000 conform-action transmit exceed-action
set-clp-transmit
Router(config-pmap-c)# exit
How to Configure Layer 3 Terminated VCs on the 4-Port ATM ISE Line Card
After the policy map has been created, configure it on the VC using the service-policy command.
Troubleshooting Tips
Use the show class-map class-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
Router# show class-map class-name
Router# show policy-map
Router# show policy-map policy-map-name
Router# show policy-map interface
Router# show policy-map interface interface-spec
Router# show policy-map interface interface-spec
input
Router# show policy-map interface interface-spec output
Router# show policy-map [interface [interface-spec
[input | output] [class class-name]]]]
Displays all traffic class information.
Displays the traffic class information for the user-specified traffic class.
Displays all configured service policies.
Displays the user-specified traffic policy.
Displays configurations and statistics of all input and output policies attached to an interface.
Displays configuration and statistics of the input and output policies attached to a particular interface.
Displays configuration and statistics of the input policy attached to an interface.
Displays configuration and statistics of the output policy attached to an interface.
Displays the configuration and statistics of the class name configured in the policy.
Cisco IOS Release 12.0(27)S
27
How to Configure Layer 3 Terminated VCs on the 4-Port ATM ISE Line Card
Configuring and Managing VC Bundles
See the following sections for configuration tasks for the VC bundle management feature. Each task in the list is identified as either required or optional.
Creating a VC Bundle, page 28
Applying Bundle-Level Parameters, page 28
Committing a VC to a Bundle, page 30
Applying Parameters to Individual VCs, page 30
VC Bundle Examples, page 32
Troubleshooting Tips, page 34
Creating a VC Bundle
To create a bundle and enter bundle configuration mode, in which you can assign attributes and parameters to the bundle and all its member VCs, use the following command in subinterface configuration mode:
Software Configuration of ATM ISE Line Cards for Cisco 12000 Series Routers
Command Purpose
Router (config-subif)# bundle bundle-name
Creates the VC bundle specified as bundle-name and enters bundle configuration mode.
Applying Bundle-Level Parameters
Bundle-level parameters can be applied either by assigning VC classes or by directly applying them to the bundle.
Parameters 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
Configuring Bundle-Level Parameters
Configuring bundle-level parameters is optional if a class is attached to the bundle to configure it.
To configure parameters that apply to the bundle and all its members, use the following commands in bundle configuration mode, as needed:
Command Purpose
Router(config-if-atm-bundle)# protocol protocol {protocol-address | inarp} [[no] broadcast]
Router(config-if-atm-bundle)# encapsulation
aal-encap
Cisco IOS Release 12.0(27)S
28
Configures a static map or enables Inverse Address Resolution (Inverse ARP) or Inverse ARP broadcasts for the bundle.
Configures the ATM adaptation layer (AAL) and encapsulation type for the bundle.
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
Command Purpose
Router(config-if-atm-bundle)# inarp minutes
Configures the Inverse ARP time period for all VC bundle members.
Router(config-if-atm-bundle)# broadcast
Router(config-if-atm-bundle)# ilmi manage
Router(config-if-atm-bundle)# oam retry [up-count] [down-count] [retry-frequency]
Router(config-if-atm-bundle)# oam-bundle [manage] [frequency]
Enables broadcast forwarding for all VC bundle members.
Enables ILMI management.
Configures the VC bundle parameters related to OAM management.
Enables end-to-end F5 OAM loopback cell generation and OAM management for all VCs in the bundle.
Configuring VC Class Parameters to Apply to a Bundle
Use of a VC class allows you to configure a bundle by applying multiple attributes to it at one time because you apply the class itself to the bundle. Use of a VC class allows you to generalize a parameter across all VCs, after which (for some parameters) you can modify that parameter for individual VCs. (See the “Applying Parameters to Individual VCs” section on page 30 for more information.)
To configure a VC class to contain commands that configure VC members of a bundle when the class is applied to that bundle, use the following command in vc-class configuration mode. To enter vc-class configuration mode, use the vc-class atm command.
Command Purpose
Router(config-vc-class)# oam-bundle [manage] [frequency]
Enables end-to-end F5 OAM loopback cell generation and OAM management for all VCs in the bundle.
In addition to the oam-bundle command, you can add the following commands to a VC class to be used to configure a bundle: bump, precedence, mpls experimental, and protect commands. For more information about these commands, refer to the ATM VC Bundle Management on Cisco 12000 Series
8-Port OC_3 STM-1 ATM Line Cards document.
Attaching a VC Class to a Bundle
To attach a preconfigured VC class containing bundle-level configuration commands to a bundle, use the following command in bundle configuration mode:
Command Purpose
Router(config-if-atm-bundle)# class-bundle
vc-class-name
Configures a bundle with the bundle-level commands contained in the specified VC class.
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 bundle can be superseded by commands that you directly apply to individual VCs in bundle-vc configuration mode. For more information on bundle-vc configuration mode, see “Committing a VC to a Bundle” in the following section.
Cisco IOS Release 12.0(27)S
29
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
Committing a VC to a Bundle
To add a VC to an existing bundle and enter bundle-vc configuration mode, use the following command in bundle configuration mode:
Command Purpose
Router(config-if-atm-bundle)# pvc-bundle pvc-name [vpi/] [vci]
Adds the specified VC to the bundle and enters bundle-vc configuration mode to configure the specified VC bundle member.
For information on how to create a bundle and configure it, see the “Creating a VC Bundle” section on
page 28 and the “Applying Bundle-Level Parameters” section on page 28.
Applying Parameters to Individual VCs
Parameters can be applied to individual VCs either by using VC classes or by directly applying them to the bundle members.
Parameters applied to an individual VC supersede bundle-level parameters. Parameters applied directly to a VC take precedence over the same parameters applied within a class to the VC at the bundle-vc configuration level.
The following should be noted regarding parameters applied to individual VCs:
Policing in a policy-map is performed on the aggregate traffic of the bundle. In other words, policing
is not per VC, but rather for the whole subinterface.
MDRR defined using the bandwidth 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 a Discrete VC Bundle Member, page 32
Configuring a VC Not to Accept Bumped Traffic, page 32
Configuring a VC Bundle Member Directly
Configuring VC bundle members directly is optional if a VC class is attached to the bundle member.
To configure an individual VC bundle member directly, use the following commands in bundle-vc configuration mode:
Command Purpose
Router(config-if-atm-member)# bump {implicit | explicit precedence-level | traffic}
Router(config-if-atm-member)# mpls experimental [other | range]
Router(config-if-atm-member)# precedence [other | range]
Configures the bumping rules for the VC bundle member.
Specifies which MPLS experimental bit values can be mapped to a member of a VC bundle.
Configures the precedence levels that apply to the VC bundle member.
Cisco IOS Release 12.0(27)S
30
Loading...
+ 72 hidden pages