Guest

Cisco IOS Software Releases 12.0 S

Any Transport over MPLS

  • Viewing Options

  • PDF (1.1 MB)
  • Feedback
Any Transport over MPLS

Table Of Contents

Any Transport over MPLS

Contents

Prerequisites for Any Transport over MPLS

Cisco 7200 and 7500 Series Routers: Required Chassis, Processors, and VIPs

Cisco 7200 and 7500 Series Routers: Supported Port Adapters

Cisco 12000 Series Routers: Supported Line Cards

Restrictions for Any Transport over MPLS

ATM AAL5 over MPLS Restrictions

ATM Cell Relay over MPLS Restrictions

Ethernet over MPLS Restrictions

Frame Relay over MPLS Restrictions

HDLC over MPLS Restrictions

PPP over MPLS Restrictions

Restrictions Specific to the Cisco 12000 Series Routers

Information about Any Transport over MPLS

How AToM Transports Layer 2 Packets

Compatibility with Previous Releases of AToM

Benefits of AToM

How to Configure Any Transport over MPLS

Prerequisites

How to Configure the Pseudowire-Class

Configuration Guidelines

How to Configure ATM AAL5 over MPLS

Configuring OAM Cell Emulation for ATM AAL5 over MPLS

How to Configure ATM Cell Relay over MPLS

Varieties of ATM Cell Relay over MPLS

Configuring ATM Relay over MPLS with the Cisco 12000 Series Router Engine 2 8-Port OC-3 STM-1 ATM Line Card

Configuring ATM Cell Relay over MPLS: VC Mode

Configuring ATM Cell Relay over MPLS: VP Mode

Configuring ATM Cell Relay over MPLS: Port Mode

Configuring ATM Cell Relay over MPLS: Single Cell Relay

Configuring ATM Cell Relay over MPLS: Packed Cell Relay

OAM Support with ATM Cell Relay over MPLS

How to Configure Ethernet over MPLS

Configuring Ethernet over MPLS: VLAN Mode

Configuring Ethernet over MPLS: Port Mode

Configuring Ethernet over MPLS: VLAN ID Rewrite

How to Configure Frame Relay over MPLS

How Frame Relay PDUs Move Between PE Routers

Configuring Frame Relay over MPLS with DLCI-to-DLCI Connections

Configuring Frame Relay over MPLS with Port-to-Port Connections

Enabling Other PE Devices to Transport Frame Relay Packets

Local Management Interface and Frame Relay over MPLS

How to Configure HDLC and PPP over MPLS

Configuring HDLC and PPP over MPLS

How to Configure Distributed CEF Mode

Enabling Distributed CEF

How to Configure MPLS Traffic Engineering Fast Reroute

Configuring MPLS TE Fast Reroute

Fast Reroute Configuration Example

Verifying Fast Reroute

Troubleshooting Tips

How to Configure Tunnel Selection

Configuring Tunnel Selection

Tunnel Selection Configuration Guidelines

Tunnel Selection Configuration Example

Verifying Tunnel Selection

Troubleshooting Tunnel Selection

How to Estimate the Size of Packets Traveling Through the Core Network

Example of Estimating Packet Size

Changing the MTU Size on the P and PE Routers

How To Configure QOS with AToM

How to Set Experimental Bits with AToM

ATM AAL5 over MPLS and EXP Bits

ATM Cell Relay over MPLS and EXP Bits

Ethernet over MPLS and EXP Bits

Frame Relay over MPLS and EXP Bits

HDLC over MPLS and PPP over MPLS and EXP Bits

Setting the EXP Bits

Using 802.1Q P Bits to Determine the Experimental Bit Settings

How to Configure QOS Features with the Cisco 12000 Series Routers

Configuring Traffic Policing with the Cisco 12000 Series Routers

Configuration Guidelines

Configuring Traffic Policing for ATM AAL5 and ATM Cell Relay on the Cisco 12000 Series Routers

Configuring Traffic Policing for Frame Relay on the Cisco 12000 Series Routers

How to Configure QoS Features with the Cisco 7500 Series Routers

Setting the Frame Relay Discard Eligibility Bit on the Cisco 7500 Series Routers

Matching the Frame Relay Discard Eligibility Bit on the Cisco 7500 Series Routers

Additional References

Related Documents

Standards

MIBs

RFCs

Technical Assistance

Command Reference

atm mcpt-timers

atm mode cell-relay

atm pvp

cell-packing

debug atm cell-packing

debug atm l2transport

debug mpls l2transport fast-reroute

encapsulation mpls

match fr-de

preferred-path

remote circuit id

show atm cell-packing

show atm pvc

show atm vc

show atm vp

show mpls l2transport vc

switched-dlci


Any Transport over MPLS


Any Transport over MPLS (AToM) transports Layer 2 packets over a Multiprotocol Label Switching (MPLS) backbone. AToM enables service providers to connect customer sites with existing data link layer (Layer 2) networks, by using a single, integrated, packet-based network infrastructure — a Cisco MPLS network. Instead of separate networks with network management environments, service providers can deliver Layer 2 connections over an MPLS backbone. AToM provides a common framework to encapsulate and transport supported Layer 2 traffic types over an MPLS network core. AToM supports the following transport types:

ATM AAL5 over MPLS

ATM Cell Relay over MPLS

Ethernet over MPLS

Frame Relay over MPLS

PPP over MPLS

HDLC over MPLS

Feature Specifications for Any Transport over MPLS

Feature History
 
Release
Modification

12.0(10)ST

Any Transport over MPLS: ATM AAL5 over MPLS was introduced on the Cisco 12000 series routers.

12.1(8a)E

Any Transport over MPLS: Ethernet over MPLS was introduced on the Cisco 7600 series Internet router.

12.0(21)ST

Ethernet over MPLS was introduced on the Cisco 12000 series routers. ATM AAL5 over MPLS was updated.

12.0(22)S

Ethernet over MPLS was integrated into this release. Support for the Cisco 10720 router was added. ATM AAL5 over MPLS was integrated into this release for the Cisco 12000 series routers.

12.0(23)S

The following new features were introduced:

ATM Cell Relay over MPLS (single cell relay, VC mode)

Frame Relay over MPLS

HDLC over MPLS

PPP over MPLS

These features were supported on the Cisco 7200 and 7500 series routers.

The Cisco 12000, 7200, and 7500 series routers supported the following features:

ATM AAL5 over MPLS

Ethernet over MPLS (VLAN mode)

The Cisco 10720 Internet router continued support for Ethernet over MPLS.

12.2(14)S

This feature was integrated into Cisco IOS Release 12.2(14)S.

12.2(15)T

This feature was integrated into Cisco IOS Release 12.2(15)T.

12.0(25)S

The following new features were introduced:

New commands for configuring AToM

Ethernet over MPLS: port mode

ATM Cell Relay over MPLS: packed cell relay

ATM Cell Relay over MPLS: VP mode

ATM Cell Relay over MPLS: port mode

Distributed CEF mode for Frame Relay, PPP, and HDLC over MPLS

Fast reroute with AToM

Tunnel selection

Traffic policing

QoS support

Supported Platforms

Cisco 7200 series, Cisco 7500 series, Cisco 12000 series, Cisco 10720 Internet router

See the sections that describe the features to determine the platforms that support the features.

See Prerequisites for Any Transport over MPLS for the supported port adapters and line cards.


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.

Contents

Prerequisites for Any Transport over MPLS

Information about Any Transport over MPLS

How to Configure Any Transport over MPLS

How To Configure QOS with AToM

Additional References

Command Reference

Prerequisites for Any Transport over MPLS

On the provider edge (PE) routers, AToM requires the hardware specified in the following sections:

Cisco 7200 and 7500 Series Routers: Required Chassis, Processors, and VIPs

Cisco 7200 and 7500 Series Routers: Supported Port Adapters

Cisco 12000 Series Routers: Supported Line Cards

Cisco 7200 and 7500 Series Routers: Required Chassis, Processors, and VIPs

Cisco 7200 series routers

Chassis: All 7200-VXR chassis types

Processors: NPE-225, NPE-300, and NPE-400

Cisco 7500 series routers

Chassis: All 7500 chassis types

Processors: RSP4, RSP4+, RSP8, and RSP16

VIPs: VIP2-50, VIP4-50, VIP4-80, and VIP6-80


Note The chassis, processors, and VIPs listed have been tested and are supported for use with MPLS AToM. All other chassis, processors, and VIPs have not been tested and therefore are not supported. In future releases, you will not be able to configure AToM on unsupported hardware.


Cisco 7200 and 7500 Series Routers: Supported Port Adapters

The following port adapters are supported for the Cisco 7200 and 7500 series routers for each transport type in Cisco IOS Release 12.0(25)S.

Transport Type
Supported Port Adapters

ATM AAL5 over MPLS

PA-A3-OC3

PA-A3-E3

Note AAL5 over MPLS is not supported on hardware version 1.0 of the PA-A3-OC3 and PA-A3-E3 line cards.

PA-A3-DS3

PA-A3-OC12

PA-A3-8T1IMA

PA-A3-8E1IMA

ATM Cell Relay over MPLS

Note ATM Cell Relay over MPLS is not supported on the following port adapters:

PA-A1-OC3
PA-A2-OC3

ATM single cell relay: VC mode

PA-A3-OC3

PA-A3-E3

PA-A3-T3

PA-A3-8T1IMA

PA-A3-8E1IMA

Note ATM Cell Relay is not supported on hardware version 1.0 of the PA-A3-OC3, -E3, and -T3 port adapters.

ATM single cell relay: VP mode
ATM packed cell relay: VP or VC mode

PA-A3-OC3

PA-A3-E3

PA-A3-T3

Note ATM Cell Relay is not supported on hardware version 1.0 of these port adapters.

Ethernet over MPLS (Port and VLAN modes)

7200 and 7500

PA-2FE

PA-FE

7200 only

C7200-I/O-2FE

C7200-I/O-GE+E (Only the Gigabit Ethernet port of this port adapter is supported.)

c7200-I/O-FE

PA-GE

7500 only

GEIP

GEIP+

Frame Relay over MPLS

HDLC over MPLS

PPP over MPLS

Note: Starting in Cisco IOS Release 12.0(25)S, channelized port adapters are supported for HDLC and PPP over MPLS.

PA-MC-8T1

PA-MC-8E1

PA-MC-2T3+

PA-MC-T3

PA-T3

PA-2T3

PA-T3+

PA-4T+

PA-2T3+

PA-8T-V35

PA-E3

PA-2E3

PA-MC-E3

PA-MC-2E1

PA-MC-4T1

PA-MC-STM1

PA-MC-8TE1+

PA-POS-OC3

PA-HSSI

PA-2HSSI

PA-4E1G120

PA-8T-232

PA-8T-X21


Cisco 12000 Series Routers: Supported Line Cards

The following line cards are supported for the Cisco 12000 series routers for each transport type.

Transport Type
Supported Line Cards

ATM AAL5 over MPLS

Label imposition: All Engine 0 and 2 ATM line cards

Label disposition: All line cards

ATM single cell relay over MPLS: VC mode

Label imposition:

All Engine 0 ATM line cards

Engine 2: 8-Port OC-3 STM-1 ATM line card

Label disposition: All line cards

ATM single cell relay over MPLS: VP mode

Label imposition:

Engine 2: 8-Port OC-3 STM-1 ATM line card

Label disposition: All line cards

ATM single cell relay over MPLS: port mode

Label imposition:

Engine 2: 8-Port OC-3 STM-1 ATM line card

Label disposition: All line cards

Ethernet VLAN over MPLS

Label imposition: All Engine 2, 3, and 4+ Ethernet line cards

Label disposition: All line cards

Ethernet Port Mode over MPLS

Label imposition: All Engine 2, 3, and 4+ Ethernet line cards

Label disposition: All line cards

Frame Relay over MPLS

Label imposition:

All Engine 0 POS and channelized line cards

All Engine 2 POS line cards

All IP Service Engine (ISE) POS and channelized line cards

Label disposition: All line cards

HDLC over MPLS

Label imposition:

All Engine 0 POS and channelized line cards

All Engine 2 POS line cards

All IP Service Engine (ISE) POS and channelized line cards

All Engine 4+ POS line cards

Label disposition: All line cards

PPP over MPLS

Label imposition:

All Engine 0 POS and channelized line cards

All Engine 2 POS line cards

All IP Service Engine (ISE) POS and channelized line cards

Label disposition: All line cards


Restrictions for Any Transport over MPLS

The following general restrictions pertain to all transport types under AToM:

Sequencing: AToM does not support detecting of out-of-order packets.

Address format: Configure the LDP router ID on all PE routers to be a loopback address with a /32 mask. Otherwise, some configurations might not properly function.

ATM AAL5 over MPLS Restrictions

The following restrictions pertain to the ATM AAL5 over MPLS feature:

PVC configuration: You can configure ATM AAL5 over MPLS on permanent virtual circuits (PVCs) only. You cannot configure AAL5 over MPLS on main interfaces.

SDU mode: AAL5 over MPLS is supported only in SDU mode.

ATM Cell Relay over MPLS Restrictions

The following restrictions pertain to the ATM Cell Relay over MPLS feature:

TE tunnels: If you have TE tunnels running between the PE routers, you must enable label distribution protocol (LDP) on the tunnel interfaces.

Ethernet over MPLS Restrictions

The following restrictions pertain to the Ethernet over MPLS feature:

Packet format: Ethernet over MPLS supports VLAN packets that conform to the IEEE 802.1Q standard. The 802.1Q specification establishes a standard method for inserting VLAN membership information into Ethernet frames. The Inter-Switch Link (ISL) protocol is not supported between the PE and customer edge (CE) routers.

Frame Relay over MPLS Restrictions

The following restrictions pertain to the Frame Relay over MPLS feature:

Traffic shaping: Frame Relay traffic shaping is not supported with AToM switched VCs.

HDLC over MPLS Restrictions

The following restrictions pertain to the HDLC over MPLS feature:

Asynchronous interfaces: Asynchronous interfaces are not supported.

Interface configuration: You must configure HDLC over MPLS on router interfaces only. You cannot configure HDLC over MPLS on subinterfaces.

PPP over MPLS Restrictions

The following restrictions pertain to the PPP over MPLS feature:

Zero hops on a PE router: Zero hops on one router is not supported. However, you can have back-to-back PE routers.

Asynchronous interfaces: Asynchronous interfaces are not supported. The connections between the CE and PE routers on both ends of the backbone must have similar link layer characteristics. The connections between the CE and PE routers must both be synchronous.

Multilink PPP: Multilink PPP (MLP) is not supported.

Interface configuration: You must configure PPP on router interfaces only. You cannot configure PPP on subinterfaces.

Restrictions Specific to the Cisco 12000 Series Routers

Fast Reroute

Fast Reroute uses three or more labels, depending on where the Traffic Engineering (TE) tunnel ends:

If the TE tunnel is from PE router to PE router, three labels are used.

If the TE tunnel is from PE router to P router, four labels are used.

The Engine 0 ATM line cards support three or more labels, although performance degrades. The Engine 2 Gigabit Ethernet line cards and IP Service Engine (ISE) line cards support three or more labels and can work with the Fast Reroute feature.

Frame Relay over MPLS

If you configure Frame Relay over MPLS and the core-facing interface is an Engine 4 or 4+ line card and the edge facing interface is an Engine 0 or 2 line card, then the FECN, BECN, CR, and DE bit information is stripped from the PVC.

ATM Cell Relay over MPLS

If you configure the Engine 2 8-Port OC-3 STM-1 ATM line card for ATM single cell relay over MPLS, you cannot configure other Layer 3 features on those ports reserved for ATM cell relay over MPLS.

Information about Any Transport over MPLS

To configure AToM, you must understand the following concepts:

How AToM Transports Layer 2 Packets

Compatibility with Previous Releases of AToM

Benefits of AToM

How AToM Transports Layer 2 Packets

AToM encapsulates Layer 2 frames at the ingress PE and sends them to a corresponding PE at the other end of a pseudowire, which is a connection between the two PE routers. The egress PE removes the encapsulation 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. You specify the following information on each PE router:

The type of Layer 2 data that will be transported across the pseudowire, such as Ethernet, Frame Relay, or ATM

The IP address of the loopback interface of the peer PE router, which enables the PE routers to communicate

A unique combination of peer PE IP address and VC ID that identifies the pseudowire

The following example shows the basic configuration steps on a PE router that enable the transport of Layer 2 packets. Each transport type has slightly different steps.

Step 1 defines the interface or subinterface on the PE router.

Router# interface interface-type interface-number

Step 2 specifies the encapsulation type for the interface, such as dot1q.

Router(config-if)# encapsulation encapsulation-type

Step 3 does the following:

Makes a connection to the peer PE router by specifying the LDP router ID of the peer PE router.

Identifies a unique identifier that is shared between the two PE routers. The vcid is a 32-bit identifier.

The combination of the peer-router-id and the VC ID must be a unique combination on the router. Two circuits cannot use the same combination of peer-router-id and VC ID.

Specifies the tunneling method used to encapsulate data in the pseudowire. For AToM, the tunneling method used to encapsulate data is mpls.

Router(config-if)# xconnect peer-router-id vcid encapsulation mpls

As an alternative, you can set up a pseudowire class to specify the tunneling method and other characteristics. See the "How to Configure the Pseudowire-Class" section for more information.

Compatibility with Previous Releases of AToM

In previous releases of AToM, the command used to configure AToM circuits was mpls l2 transport route. This command has been replaced with the xconnect command.

No new CLI enhancements will be made to the mpls l2transport route command. CLI enhancements will be made to either the xconnect command or pseudowire-class command. Therefore, we recommend that you use the xconnect command to configure AToM circuits.

Configurations from previous releases that use the mpls l2transport route command are still supported.

Benefits of AToM

The following list explains some of the benefits of enabling Layer 2 packets to be sent in the MPLS network:

The AToM product set accommodates many types of Layer 2 packets, including Ethernet and Frame Relay, across multiple Cisco router platforms, such as the Cisco 7200 and 7500 series routers. This enables the service provider to transport all types of traffic over the backbone and accommodate all types of customers.

AToM adheres to the standards developed for transporting Layer 2 packets over MPLS. (See the "Standards" section for the specific standards that AToM follows.) This benefits the service provider who wants to incorporate industry-standard methodologies in the network. Other Layer 2 solutions are proprietary, which can limit the service provider's ability to expand the network and can force the service provider to use only one vendor's equipment.

Upgrading to AToM is transparent to the customer. Because the service provider network is separate from the customer network, the service provider can upgrade to AToM without disruption of service to the customer. The customers assume that they are using a traditional Layer 2 backbone.

How to Configure Any Transport over MPLS

This section explains how to perform a basic AToM configuration and includes the following procedures:

How to Configure the Pseudowire-Class

How to Configure ATM AAL5 over MPLS

How to Configure ATM Cell Relay over MPLS

How to Configure Ethernet over MPLS

How to Configure Frame Relay over MPLS

How to Configure HDLC and PPP over MPLS

How to Configure Distributed CEF Mode

How to Configure MPLS Traffic Engineering Fast Reroute

How to Configure Tunnel Selection

How to Estimate the Size of Packets Traveling Through the Core Network

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 an label switched path (LSP) exists between the PE routers.

Enable IP CEF or IP CEF distributed before configuring any Layer 2 circuits.

Configure a loopback interface for originating and terminating Layer 2 traffic. Make sure the PE routers can access the other router's loopback interface. Note that the loopback interface is not needed in all cases. For example, tunnel selection does not need a loopback interface when AToM is directly mapped to a TE tunnel.

How to Configure the Pseudowire-Class

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.


Note In simple configurations, this task is optional. You do not need to specify a pseudowire class if you specify the tunneling method as part of the xconnect command.


The pseudowire-class configuration group specifies the characteristics of the tunneling mechanism, including:

Encapsulation type

Control protocol

Payload-specific options

For more information about the pseudowire-class command, see the feature module Layer 2 Tunnel Protocol Version 3 at the following location:

http://www.cisco.com/univercd/cc/td/doc/product/software/ios120/120newft/120limit/120s/120s24/l2tpv3.htm

Once you specify the encapsulation mpls command, you cannot remove it using the no encapsulation mpls command. Nor can you change the command's setting using the encapsulation l2tpv3 command. Those methods result in the following error message:

Encapsulation changes are not allowed on an existing pw-class.

To remove the command, you must delete the pseudowire with the no pseudowire-class command. To change the type of encapsulation, remove the pseudowire with the no pseudowire-class command and re-establish the pseudowire and specify the new encapsulation type.

SUMMARY STEPS

1. enable

2. configure terminal

3. pseudowire-class name

4. 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

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

pseudowire-class name
Example:

Router(config)# pseudowire-class atom

Establishes a pseudowire class with a name that you specify.

Step 4 

encapsulation mpls

Example:

Router(config-pw)# encapsulation mpls

Specifies the tunneling encapsulation. For AToM, the encapsulation type is mpls.

Configuration Guidelines

You must specify encapsulation mpls as part of the xconnect command or as part of a pseudowire class for the AToM VCs to work properly. If you omit encapsulation mpls as part of the xconnect command, you receive the following error:

% Incomplete command.

How to Configure ATM AAL5 over MPLS

ATM AAL5 over MPLS encapsulates ATM AAL5 SDUs in MPLS packets and forwards them across the MPLS network. Each ATM AAL5 SDU is transported as a single packet. Perform this task to enable ATM AAL5 over MPLS.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface atmslot/port

4. pvc vpi/vci l2transport

5. encapsulation aal5

6. 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

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-atm-vc)# pvc 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 instead of a terminated PVC.

You can configure ATM AAL5 on PVCs only. You cannot configure AAL5 over MPLS on main interfaces.

Step 5 

encapsulation aal5

Example:

Router(config-atm-vc)# encapsulation aal5

Specifies ATM AAL5 encapsulation for the PVC. Make sure you specify the same encapsulation type on the PE and CE routers.

Step 6 

xconnect peer-router-id vcid encapsulation mpls
Example:
Router(config-atm-vc)# xconnect 13.13.13.13 100 
encapsulation mpls

Binds the attachment circuit to a pseudowire VC.

Configuring OAM Cell Emulation for ATM AAL5 over MPLS

Supported Platforms:

Cisco 7200 series routers

Cisco 7500 series routers

Cisco 12000 series routers

Overview of OAM Cell Emulation

If a PE router does not support the transport of OAM cells across an LSP, you can use OAM cell emulation to locally terminate or loopback the OAM cells. You configure OAM cell emulation on both PE routers, which emulates a VC by forming two unidirectional LSPs. You use the oam-ac emulation-enable command and the oam-pvc manage command on both PE routers to enable OAM cell emulation.

After you enable OAM cell emulation on a router, you can configure and manage the ATM VC in the same manner as you would a terminated VC. A VC that has been configured with OAM cell emulation can send loopback cells at configured intervals toward the local CE router. The endpoint can be either of the following:

End-to-end loopback, which sends OAM cells to the local CE router.

Segment loopback, which responds to OAM cells to a device along the path between the PE and CE routers.

The OAM cells include the following:

Alarm indication signal (AIS)

Remote defect indication (RDI)

These cells identify and report defects along a VC. When a physical link or interface failure occurs, intermediate nodes insert OAM AIS cells into all the downstream devices affected by the failure. When a router receives an AIS cell, it marks the ATM VC down and sends an RDI cell to let the remote end know about the failure.

Enabling OAM Cell Emulation for ATM AAL5 over MPLS

To enable OAM cell emulation on the PE routers, issue the oam-ac emulation-enable and oam-pvc manage commands in AToM VC configuration mode.

Specifying the Rate at Which AIS Cells Are Sent

The oam-ac emulation-enable command lets you specify the rate at which AIS cells are sent. The default is one cell every second. The range is 0 to 60 seconds.

Configuration Examples for OAM Cell Emulation

The following example enables OAM cell emulation on an ATM PVC:

Router# interface ATM 1/0/0

Router(config-if)# pvc 1/200 l2transport

Router(config-atm-vc)# oam-ac emulation-enable
Router(config-atm-vc)# oam-pvc manage

The following example sets the rate at which an AIS cell is sent to every 30 seconds:

Router# interface ATM 1/0/0

Router(config-if)# pvc 1/200 l2transport

Router(config-atm-vc)# oam-ac emulation-enable 30
Router(config-atm-vc)# oam-pvc manage

Verifying OAM Cell Emulation

The following show atm pvc command shows that OAM cell emulation is enabled and working on the ATM PVC:

Router# show atm pvc 5/500

ATM4/1/0.200: VCD: 6, VPI: 5, VCI: 500                    
UBR, PeakRate: 1                                         
AAL5-LLC/SNAP, etype:0x0, Flags: 0x34000C20, VCmode: 0x0 
OAM Cell Emulation: enabled, F5 End2end AIS Xmit frequency: 1 second(s) 
OAM frequency: 0 second(s), OAM retry frequency: 1 second(s)
OAM up retry count: 3, OAM down retry count: 5
OAM Loopback status: OAM Disabled
OAM VC state: Not ManagedVerified
ILMI VC state: Not Managed
InPkts: 564, OutPkts: 560, InBytes: 19792, OutBytes: 19680
InPRoc: 0, OutPRoc: 0
InFast: 4, OutFast: 0, InAS: 560, OutAS: 560
InPktDrops: 0, OutPktDrops: 0
CrcErrors: 0, SarTimeOuts: 0, OverSizedSDUs: 0
Out CLP=1 Pkts: 0
OAM cells received: 26
F5 InEndloop: 0, F5 InSegloop: 0, F5 InAIS: 0, F5 InRDI: 26
OAM cells sent: 77
F5 OutEndloop: 0, F5 OutSegloop: 0, F5 OutAIS: 77, F5 OutRDI: 0 
OAM cell drops: 0
Status: UP

How to Configure ATM Cell Relay over MPLS

This section contains the following concepts and procedures:

Varieties of ATM Cell Relay over MPLS

Configuring ATM Cell Relay over MPLS: VC Mode

Configuring ATM Cell Relay over MPLS: VP Mode

Configuring ATM Cell Relay over MPLS: Port Mode

Configuring ATM Cell Relay over MPLS: Single Cell Relay

Configuring ATM Cell Relay over MPLS: Packed Cell Relay

Varieties of ATM Cell Relay over MPLS

ATM cell relay over MPLS provides several configuration options:

Virtual circuit (VC) mode, which enables you to configure ATM circuits on the permanent virtual circuits.

Virtual path (VP) mode, which enables you to configure ATM circuits on the permanent virtual paths.

Port mode, which enables you to configure ATM circuits on an interface.

Single cell relay, which contains one ATM cell per packet.

Packed cell relay, which contains multiple concatenated ATM cells per MPLS packet.

Table 1 shows the platforms that support the new ATM cell relay features. The following sections explain how to configure each feature.

Table 1 Platforms that Support the ATM Cell Relay Features

Transport Type
7200
7500
12000

VC mode, single cell relay

Y

Y

Y

VP mode, single cell relay

Y

Y

Y

Port Mode, single cell relay

N

N

Y

VC mode, packed cell relay

Y

Y

N

VP mode, packed cell relay

Y

Y

N



Note For configuring ATM Cell Relay on the Cisco 12000 series router with the Engine 2 8-port OC-3 STM-1 ATM Line Card, you must configure an interface with the atm mode cell-relay command before configuring ATM cell relay. See the "Configuring ATM Cell Relay over MPLS: Packed Cell Relay" section for more information.


Configuring ATM Relay over MPLS with the Cisco 12000 Series Router Engine 2 8-Port OC-3 STM-1 ATM Line Card

If you configure ATM cell relay on the Cisco 12000 series router with an engine 2 8-port OC-3 STM-1 ATM line card, note the following configuration differences:

You must use the atm mode cell-relay command in interface configuration mode.

When you configure the Engine 2 8-port OC-3 STM-1 ATM line card on a port to perform ATM cell relay over MPLS, a corresponding port will also be reserved for this feature. For example, if you configure ATM cell relay over MPLS on port 0, port 1 is also reserved. The following list shows the pairs of ports that are reserved when you configure ATM cell relay over MPLS:

Ports 0 and 1

Ports 2 and 3

Ports 4 and 5

Ports 6 and 7

If you configured the Engine 2 8-port OC-3 STM-1 ATM line card on a port for ATM AAL5 over MPLS and you now want to configure ATM cell relay over MPLS on that port, the VCs for AAL5 on that port and its corresponding port are removed. The same is also true if you have ATM AAL5 UNI terminated VCs or ATM Cell Relay over MPLS VCs. You receive the following messages:

All VCs/VPs on interface 15/7 and 15/6 will be deleted. Continue ? [yes/no]: 
SLOT 15:00:28:20: %PM622-6-SAR_MODE_CHANGED: port 7 and 6 switched to aal0 mode 

When you configure the Engine 2 8-port OC-3 STM-1 ATM line card on a port to perform ATM cell relay over MPLS, you cannot configure other Layer 3 features on that port.

Configuring ATM Cell Relay over MPLS: VC Mode

Supported Platforms:

Cisco 7200 series routers

Cisco 7500 series routers

Cisco 12000 series routers

Perform this task to configure ATM Cell Relay on the permanent virtual circuits.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface atmslot/port

4. pvc vpi/vci l2transport

5. encapsulation aal0

6. 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

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-atm-vc)# 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 instead of a terminated PVC.

Step 5 

encapsulation aal0
Example:
Router(config-atm-vc)# 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 6 

xconnect peer-router-id vcid encapsulation mpls
Example:
Router(config-atm-vc)# xconnect 13.13.13.13 100 
encapsulation mpls

Binds the attachment circuit to a pseudowire VC.

VC Mode Configuration Example

Example 1 shows the configuration for carrying single ATM cells over PVCs.

Example 1 VC Mode Configuration Example

PE1
PE2
mpls label protocol ldp
 mpls ldp router-id Loopback0 force
!
interface Loopback0
 ip address 12.12.12.12 255.255.255.255
! 
interface ATM4/0
 pvc 0/100 l2transport
   encapsulation aal0
   xconnect 13.13.13.13 100 encapsulation mpls
! 
interface ATM4/0.300 point-to-point
 no ip directed-broadcast
 no atm enable-ilmi-trap
 pvc 0/300 l2transport
   encapsulation aal0
   xconnect 13.13.13.13 300 encapsulation mpls
mpls label protocol ldp
 mpls ldp router-id Loopback0 force
!
interface Loopback0
 ip address 13.13.13.13 255.255.255.255
 
interface ATM4/0
  pvc 0/100 l2transport
    encapsulation aal0
    xconnect 12.12.12.12 100 encapsulation mpls
!
interface ATM4/0.300 point-to-point
 no ip directed-broadcast
 no atm enable-ilmi-trap
 pvc 0/300 l2transport
   encapsulation aal0
   xconnect 12.12.12.12 300 encapsulation mpls

Verifying ATM Cell Relay VC Mode

The following show atm vc command shows that the interface is configured for VC mode cell relay:

Router# show atm vc 7

ATM3/0: VCD: 7, VPI: 23, VCI: 100
UBR, PeakRate: 149760
AAL0-Cell Relay, etype:0x10, Flags: 0x10000C2D, VCmode: 0x0
OAM Cell Emulation: not configured
InBytes: 0, OutBytes: 0
Status: UP

Configuring ATM Cell Relay over MPLS: VP Mode

Supported Platforms:

Cisco 7200 series routers

Cisco 7500 series routers

Cisco 12000 series routers

Virtual Path (VP) mode allows cells coming into a predefined permanent virtual path (PVP) on the ATM interface to be transported over the MPLS backbone to a predefined PVP on the egress ATM interface. You can use VP mode to send single cells or packed cells over the MPLS backbone.

To configure VP mode, you must specify the following:

The VP is for transporting cell relay cells.

The IP address of the peer PE router and the VC ID.

Perform this task to transport ATM cells over a PVP.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface atmslot/port

4. atm pvp vpi l2transport

5. 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

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface atmslot/port
Example:
Router# interface atm1/0

Defines the interface.

Step 4 

atm pvp vpi l2transport
Example:
Router(config-if)# atm pvp vpi 1 
l2transport

Specifies that the PVP is dedicated to transporting ATM cells.

The l2transport keyword indicates that the PVP is for cell relay. Once you enter this command, you enter l2transport PVP submode. This submode is for Layer 2 transport only; it is not for regular PVPs.

Step 5 

xconnect peer-router-id vcid 
encapsulation mpls 
Example:
Router(cfg-if-atm-l2trans-pvp)# xconnect 
10.0.0.1 123 encapsulation mpls 

Binds the attachment circuit to a pseudowire VC. The syntax for this command is the same as for all other Layer 2 transports.

VP Mode Configuration Guidelines

When configuring ATM Cell Relay over MPLS in VP mode, use the following guidelines:

You do not need to enter the encapsulation aal0 command in VP mode.

One ATM interface can accommodate multiple types of ATM connections. VP cell relay, VC cell relay, and ATM AAL5 over MPLS can coexist on one ATM interface. On the Cisco 12000 series router, this is true only on the Engine 0 ATM line cards.

If a VPI is configured for VP cell relay, you cannot configure a PVC using the same VPI.

VP trunking (mapping multiple VPs to one emulated vc label) is not supported in this release. Each VP is mapped to one emulated VC.

Each VP is associated with one unique emulated VC ID. The AToM emulated VC type is ATM VP Cell Transport.

The AToM control word is supported. However, if a peer PE does not support the control word, it is disabled. This negotiation is done by LDP label binding.

VP mode (and VC mode) drop idle cells.

VP Mode Configuration Example

The following example transports single ATM cells over a virtual path:

pseudowire-class vp-cell-relay
  encapsulation mpls

int atm 5/0 
    atm pvp 1 l2transport 
        xconnect 10.0.0.1 123 pw-class vp-cell-relay

Verifying ATM Cell Relay VP Mode

The following show atm vp command shows that the interface is configured for VP mode cell relay:

Router# show atm vp 1

ATM5/0  VPI: 1, Cell Relay, PeakRate: 149760, CesRate: 0, DataVCs: 1, CesVCs: 0, Status: 
ACTIVE

  VCD    VCI   Type   InPkts   OutPkts   AAL/Encap     Status
  6      3     PVC    0        0         F4 OAM        ACTIVE  
  7      4     PVC    0        0         F4 OAM        ACTIVE  

TotalInPkts: 0, TotalOutPkts: 0, TotalInFast: 0, TotalOutFast: 0,
TotalBroadcasts: 0 TotalInPktDrops: 0, TotalOutPktDrops: 0

Configuring ATM Cell Relay over MPLS: Port Mode

Supported Platforms:

Cisco 12000 series routers

Port mode cell relay allows a single cell coming into an ATM interface to be packed into an MPLS packet and transported over the MPLS backbone to an egress ATM interface.

To configure port mode, you issue the xconnect command from 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.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface atmslot/port

4. 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

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 

xconnect peer-router-id vcid encapsulation mpls

Router(config-if)# xconnect 10.0.0.1 123 
encapsulation mpls

Binds the attachment circuit to the interface.

Port Mode Configuration Guidelines

When configuring ATM Cell Relay over MPLS in port mode, use the following guidelines:

The pseudowire VC type is set to ATM transparent cell transport (AAL0).

The AToM control word is supported. However, if the peer PE does not support a control word, the control word is disabled. This negotiation is done by LDP label binding.

Port mode and VP and VC mode are mutually exclusive. If you enable an ATM main interface for cell relay, you cannot enter any PVP or PVC commands.

OAM Support: If the pseudowire VC label is withdrawn due to an MPLS core network failure, The PE router sends a line AIS to the CE router.

Port Mode Configuration Example

The following example shows interface 5/0 is set up to transport ATM cell relay packets.

pseudowire-class atm-cell-relay
  encapsulation mpls
  
interface atm 5/0 
  xconnect 10.0.0.1 123 pw-class atm-cell-relay

Verifying the Port Mode Feature

The show atm route command displays port mode cell relay states. The following example shows that atm interface 1/0 is for cell relay, the VC ID is 123 and the tunnel is down.

Router# show atm route

Input Intf        Output Intf     Output VC       Status
ATM1/0            ATOM Tunnel     123             DOWN

The show mpls l2transport vc command also shows configuration information.

Router# show mpls l2transport vc

Local intf     Local circuit        Dest address    VC ID      Status    
-------------  -------------------- --------------- ---------- ----------
AT1/0          ATM CELL ATM1/0      100.1.1.121     1121       UP      

The show interface atm command displays cell relay information, as shown in the following example. The fifth line shows that the encapsulation is AAL0 cell relay.

Router# show interface atm 1/0

ATM1/0 is up, line protocol is up 
  Hardware is CM155 OC-3c ATM, address is 0003.a018.6440 (bia 0003.a018.6440)
  MTU 4470 bytes, sub MTU 4470, BW 155000 Kbit, DLY 80 usec, rely 255/255, load 1/255
  Encapsulation ATM, loopback not set
  Encapsulation(s): AAL0 - Cell Relay ! This line shows the encapsulation type.
  2048 maximum active VCs, 1024 VCs per VP, 1 current VCCs
  VC idle disconnect time: 300 seconds
  Last input never, output never, output hang never
  Last clearing of "show interface" counters never
  Queueing strategy: fifo
  Output queue 0/40, 0 drops; input queue 0/75, 0 drops
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 0 bits/sec, 0 packets/sec
     12099 packets input, 653328 bytes, 0 no buffer
     Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
     12094 packets output, 725640 bytes, 0 underruns
     0 output errors, 0 collisions, 0 interface resets
     0 output buffer failures, 0 output buffers swapped out

Troubleshooting Tips

The debug atm l2transport and debug mpls l2transport vc commands help in troubleshooting.

Configuring ATM Cell Relay over MPLS: Single Cell Relay

Supported Platforms:

Cisco 7200 series routers

Cisco 7500 series routers

Cisco 12000 series routers

The single cell relay feature allows you to insert one ATM cell in each MPLS packet. You can use single cell relay in both VP and VC mode. The configuration steps show how to configure single cell relay in VC mode. For VP mode, see the "Configuring ATM Cell Relay over MPLS: VP Mode" section.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface atmslot/port

4. pvc vpi/vci l2transport

5. encapsulation aal0

6. 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

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-atm-vc)# pvc 1/100 l2transport

Assigns a virtual path identifier (VPI) and virtual circuit identifier (VCI). The l2transport keyword indicates that the PVC is a switched PVC instead of a terminated PVC.

Step 5 

encapsulation aal0
Example:
Router(config-atm-vc)# 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 6 

xconnect peer-router-id vcid encapsulation mpls

Router(config-atm-vc)# xconnect 10.0.0.1 123 
encapsulation mpls

Binds the attachment circuit to a pseudowire VC.

Configuring ATM Cell Relay over MPLS: Packed Cell Relay

Supported Platforms:

Cisco 7200 series routers

Cisco 7500 series routers

The packed cell relay feature allows you to insert multiple concatenated ATM cells in an MPLS packet. The packed cell relay feature is more efficient than single cell relay, because each ATM cell is 52 bytes, and each AToM packet is at least 64 bytes. You configure the packed cell relay feature in ATM VP or VC mode.

At a high level, packed cell relay configuration consists of the following steps:


Step 1 You specify the amount of time a PE router can wait for cells to be packed into an MPLS packet. You can set up three timers by default with different amounts of time attributed to each timer.

Step 2 You enable packed cell relay, specify how many cells should be packed into each MPLS packet, and choose which timer to use during the cell packing process.


The following procedure allows you to enable the cell-packing feature in VC mode.

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 l2transport

6. encapsulation aal0

7. xconnect peer-router-id vcid encapsulation mpls

8. cell-packing cells mcpt-timer timer

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

Defines the interface.

Step 4 

atm mcpt-timers [timer1-timeout timer2-timeout timer3-timeout]

Example:

Router(config-if)# atm mcpt-timers 100 200 250


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 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 timeout's default and range of acceptable values depends on the ATM link speed.

The default values for the PA-A3 port adapters are:

OC-3: 30, 60, and 90 microseconds

T3: 100, 200, and 300 microseconds

E3: 130, 260, and 390 microseconds

You can specify either the number of microseconds or use the default.

The range of values for the PA-A3 port adapters are:

OC-3: 10 to 4095 microseconds

T3: 30 to 4095 microseconds

E3: 40 to 4095 microseconds

See the atm mcpt-timers command for more information.

Step 5 

pvc vpi/vci l2transport

Example:

Router(config-atm-vc)# pvc 1/100 l2transport

Assigns a virtual path identifier (VPI) and virtual circuit identifier (VCI). The l2transport keyword indicates that the PVC is a switched PVC instead of a terminated PVC.

Step 6 

encapsulation aal0
Example:
Router(config-atm-vc)# 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 routers.

Step 7 

xconnect peer-router-id vcid 
encapsulation mpls 
Example:
Router(config-atm-vc)# xconnect 10.0.0.1 
123 encapsulation mpls 

Binds the attachment circuit to a pseudowire VC.

Step 8 

cell-packing cells mcpt-timer timer
Example:
Router(config-atm-vc)# 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 the maximum transmission unit (MTU) of the interface divided by 52. The default is MTU/52.

The timer value allows you to specify which timer to use. The default is timer 1.

See the cell-packing command for more information.

Packed Cell Relay Configuration Guidelines

When configuring packed cell relay, use the following guidelines:

The cell-packing command is available only if you configure the ATM VC with AAL0 encapsulation. If the command is configured with ATM AAL5 encapsulation, the command is not valid.

Only cells from the same VC or VP can be packed into one MPLS packet. Cells from different connections cannot be concantenated into the same MPLS packet.

When you change, enable, or disable the cell-packing attributes, the ATM VC or VP and the MPLS emulated VC are reestablished.

If a PE router does not support packed cell relay, the PE routers sends only one cell per MPLS packet.

The number of packed cells does not need to match between the PE routers. The two PE routers agree on the lower of the two values. For example, if PE 1 is allowed to pack 10 cells per MPLS packet and PE 2 is allowed to pack 20 cells per MPLS packet, the two PE routers would agree to send no more than 10 cells per packet.

If the number of cells packed by the peer PE router exceeds the limit, the packet is dropped.

Packed Cell Relay Configuration Examples

The following example shows that ATM PVC 1/100 is an AToM cell relay PVC. There are three timers set up, with values of 1000 usecs, 800 usecs, and 500 usecs, respectively. The cell-packing command specifies that five ATM cells are to be packed into an MPLS packet. The cell-packing command also specifies that timer 1 is to be used.

int atm 1/0
    atm mcpt-timer 1000 800 500
    pvc 1/100 l2transport
       encapsulation aal0
       xconnect 10.0.0.1 123 encapsulation mpls
       cell-packing 5 mcpt-timer 1

The following example shows packed cell relay enabled on an interface set up for VP mode. The cell-packing command specifies that 10 ATM cells are to be packed into an MPLS packet. The cell-packing command also specifies that timer 2 is to be used.

int atm 1/0
    atm mcpt-timer 1000 800 500
    atm pvp 100 l2transport
        xconnect 10.0.0.1 234 encapsulation mpls
        cell-packing 10 mcpt-timer 2

Verifying Packed Cell Relay

Use the following commands to display status and statistics for the ATM packed cell relay feature:

show atm cell-packing

show atm pvc

show atm vc

show atm vp

These commands display the following statistics:

The number of cells that are to be packed into an MPLS packet on the local and peer routers

The average number of cells sent and received

The timer values associated with the local router

The show atm cell-packing command displays information about the VCs and VPs that have cell packing enabled:

Router# show atm cell-packing


                        average                 average 
        circuit  local  nbr of cells    peer    nbr of cells    MCPT
        type     MNCP   rcvd in one pkt MNCP    sent in one pkt (us)
==============================================================================
atm 1/0 vc 1/200  20    15              30              20       60      
atm 1/0 vp 2      25    21              30              24      100

The following show atm vp command displays the cell packing information at the end of the output:

Router# show atm vp 12

ATM5/0  VPI: 12, Cell Relay, PeakRate: 149760, CesRate: 0, DataVCs: 1, CesVCs: 0, Status: 
ACTIVE

  VCD    VCI   Type   InPkts   OutPkts   AAL/Encap     Status
  6      3     PVC    0        0         F4 OAM        ACTIVE  
  7      4     PVC    0        0         F4 OAM        ACTIVE  

TotalInPkts: 0, TotalOutPkts: 0, TotalInFast: 0, TotalOutFast: 0,
TotalBroadcasts: 0 TotalInPktDrops: 0, TotalOutPktDrops: 0
Local MNCP: 5, average number of cells received: 3
Peer MNCP: 1, average number of cells sent: 1
Local MCPT: 100 us

Troubleshooting Tips

The debug atm cell-packing command helps you to debug ATM cell-packing.

OAM Support with ATM Cell Relay over MPLS

The F4 end-to-end OAM cells are transparently transported along with the ATM cells. When a PVP or PVC is down on PE1, the label associated with that PVP or PVC is withdrawn. Subsequently, PE2 detects the label withdrawal and sends an F4 AIS/RDI signal to CE2. The PVP or PVC on PE2 remains in the up state.

How to Configure Ethernet over MPLS

Ethernet over MPLS works by encapsulating Ethernet PDUs in MPLS packets and forwarding them across the MPLS network. Each PDU is transported as a single packet.

There are two ways to configure Ethernet over MPLS:

VLAN mode, which transports Ethernet traffic from a source 802.1Q VLAN to a destination 802.1Q VLAN over a core MPLS network.

Port mode, which allows a frame coming into an interface to be packed into an MPLS packet and transported over the MPLS backbone to an egress interface. The entire Ethernet frame is transported without the preamble or FCS as a single packet.

See the following sections for more information:

Configuring Ethernet over MPLS: VLAN Mode

Configuring Ethernet over MPLS: Port Mode

Configuring Ethernet over MPLS: VLAN ID Rewrite

Configuring Ethernet over MPLS: VLAN Mode

Supported Platforms:

Cisco 12000 series routers

Cisco 10720 Internet router

Cisco 7200 series routers

Cisco 7500 series routers

A virtual LAN (VLAN) is a switched network that is logically segmented by functions, project teams, or applications regardless of the physical location of users. Ethernet over MPLS allows you to connect two VLAN networks that are in different locations. You configure the PE routers at each end of the MPLS backbone and add a point-to-point virtual circuit (VC). Only the two PE routers at the ingress/egress points of the MPLS backbone know about the VCs dedicated to transporting Layer 2 VLAN traffic. All other routers do not have table entries for those VCs.


Note You must configure Ethernet over MPLS (VLAN mode) on the subinterfaces.


SUMMARY STEPS

1. enable

2. configure terminal

3. interface gigabitethernetslot/interface.subinterface

4. encapsulation dot1q vlan-id

5. 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

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface gigabitethernetslot/interface.subinterface

Example:

Router(config-if)# interface gigabitethernet4/0.1

Specifies the Gigabit Ethernet subinterface. Make sure the subinterface on the adjoining CE router is on the same VLAN as this PE router.

Step 4 

encapsulation dot1q vlan-id

Example:

Router(config-subif)# encapsulation dot1q 100

Enables the subinterface to accept 802.1Q VLAN packets.

The subinterfaces between the CE and PE routers that are running Ethernet over MPLS must be in the same subnet. All other subinterfaces and backbone routers do not.

Step 5 

xconnect peer-router-id vcid encapsulation mpls
Example:
Router(config-subif)# xconnect 10.0.0.1 123 
encapsulation mpls

Binds the attachment circuit to a pseudowire VC. The syntax for this command is the same as for all other Layer 2 transports.

Ethernet over MPLS VLAN Mode Configuration Guidelines

When configuring Ethernet over MPLS in VLAN mode, use the following guidelines:

The AToM control word is supported. However, if the peer PE does not support a control word, the control word is disabled. This negotiation is done by LDP label binding.

Ethernet packets with hardware level cyclic redundancy check (CRC) errors, framing errors, and runt packets are discarded on input.

Configuring Ethernet over MPLS: Port Mode

Supported Platforms:

Cisco 12000 series routers

Cisco 10720 Internet router

Cisco 7200 series routers

Cisco 7500 series routers

Port mode allows a frame coming into an interface to be packed into an MPLS packet and transported over the MPLS backbone to an egress interface. The entire Ethernet frame without the preamble or FCS is transported as a single packet. To configure port mode, you use the xconnect command in main interface mode 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 interface is associated with one unique pseudowire VC label.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface gigabitethernetx/x

4. 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

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface gigabitethernetslot/interface

Example:

Router(config-if)# interface gigabitethernet4/0

Specifies the Gigabit Ethernet interface. Make sure the interface on the adjoining CE router is on the same VLAN as this PE router.

Step 4 

xconnect peer-router-id vcid 
encapsulation mpls
Example:
Router(config-subif)# xconnect 10.0.0.1 
123 encapsulation mpls

Binds the attachment circuit to a pseudowire VC. The syntax for this command is the same as for all other Layer 2 transports.

Ethernet over MPLS Port Mode Configuration Guidelines

When configuring Ethernet over MPLS in port mode, use the following guidelines:

The pseudowire VC type is set to Ethernet.

The AToM control word is supported. However, if the peer PE does not support a control word, the control word is disabled. This negotiation is done by LDP label binding.

Ethernet packets with hardware level cyclic redundancy check (CRC) errors, framing errors, and runt packets are discarded on input.

Port mode and Ethernet VLAN mode are mutually exclusive. If you enable a main interface for port-to-port transport, you cannot also enter commands on a subinterface.

Ethernet over MPLS Port Mode Configuration Example

The following example configures VC 123 in Ethernet port mode:

pseudowire-class ethernet-port
  encapsulation mpls
  
int gigabitethernet1/0 
  xconnect 10.0.0.1 123 pw-class ethernet-port

Verifying Ethernet over MPLS Port Mode

To determine if a VC is set up in VLAN mode or port mode, issue the show mpls l2transport vc command.

The following example shows two VCs set up for Ethernet over MPLS.

VC 2 is set up in Ethernet VLAN mode.

VC 8 is set up in Ethernet port mode.

Router# show mpls l2transport vc 

Local intf     Local circuit        Dest address    VC ID      Status    
-------------  -------------------- --------------- ---------- ----------
Gi4/0.1        Eth VLAN 2           11.1.1.1        2          UP        
Gi8/0/1        Ethernet             11.1.1.1        8          UP        

If you issue the show mpls l2transport vc detail command, the output is similar.

Router# show mpls l2transport vc detail
Local interface: Gi4/0.1 up, line protocol up, Eth VLAN 2 up
Destination address: 11.1.1.1, VC ID: 2, VC status: up

...
Local interface: Gi8/0/1 up, line protocol up, Ethernet up
  Destination address: 11.1.1.1, VC ID: 8, VC status: up

Configuring Ethernet over MPLS: VLAN ID Rewrite

Supported Platforms:

Cisco 7200 series routers

Cisco 7500 series routers

Cisco 10720 routers

Cisco 12000 series routers

The VLAN ID rewrite feature enables you to use VLAN interfaces with different VLAN IDs at both ends of the tunnel.

The Cisco 7200 and 7500 series routers and the Cisco 10720 routers automatically perform VLAN ID rewrite on the disposition PE router. There is no configuration required.

Configuring the VLAN ID Rewrite Feature for the Cisco 12000 Series Routers

The VLAN ID rewrite feature has the following guidelines for the Cisco 12000 series routers:

The IP Service Engine (ISE) 4-port Gigabit Ethernet line card performs the VLAN ID rewrite on the disposition side at the edge-facing linecard.

The Engine 2 3-port Gigabit Ethernet line card performs the VLAN ID rewrite on the imposition side at the edge-facing line card.

The VLAN ID rewrite functionality for the Cisco 1200 series routers requires that both ends of the Ethernet over MPLS connections to be provisioned with the same line cards. Make sure that both edge-facing ends of the virtual circuit use either the Engine 2 or IP Service Engine (ISE)) Ethernet line card. The following example shows the system flow with the VLAN ID rewrite feature:

The IP Service Engine (ISE) 4-port Gigabit Ethernet line card:

Traffic flows from VLAN1 on CE1 to VLAN2 on CE2. As the frame reaches the edge-facing line card of the disposition router PE2, the VLAN ID in the dot1Q header changes to the VLAN ID assigned to VLAN 2.

The Engine 2 3-port Gigabit Ethernet line card:

Traffic flows from VLAN1 on CE1 to VLAN2 on CE2. As the frame reaches the edge-facing line card of the imposition router PE1, the VLAN ID in the dot1Q header changes to the VLAN ID assigned to VLAN 2.

For the Cisco 12000 series router Engine 2 3-port Gigabit Ethernet line card, you must issue the remote circuit id command as part of the Ethernet over MPLS VLAN ID rewrite configuration.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface gigabitethernetx/x

4. xconnect peer-router-id vcid encapsulation mpls

5. remote circuit id remote-vlan-id

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 gigabitethernetslot/interface.subinterface

Example:

Router(config-if)# interface gigabitethernet4/0.1

Specifies the Gigabit Ethernet subinterface. Make sure the subinterface on the adjoining CE router is on the same VLAN as this PE router.

Step 4 

encapsulation dot1q vlan-id

Example:

Router(config-subif)# encapsulation dot1q 100

Enables the subinterface to accept 802.1Q VLAN packets.

The subinterfaces between the CE and PE routers that are running Ethernet over MPLS must be in the same subnet. All other subinterfaces and backbone routers do not.

Step 5 

xconnect peer-router-id vcid encapsulation mpls
Example:
Router(config-subif)# xconnect 10.0.0.1 123 
encapsulation mpls

Binds the attachment circuit to a pseudowire VC. The syntax for this command is the same as for all other Layer 2 transports.

Step 6 

remote circuit id remote-vlan-id
Example:
Router(config-subif-xconn)# remote circuit id 
101

Enables you to use VLAN interfaces with different VLAN IDs at both ends of the tunnel. This command is required for the Cisco 12000 series router Engine 2 3-port Gigabit Ethernet line card.

VLAN ID Rewrite Configuration Example for the Cisco 1200 series routers

The following example configures VLAN ID rewrite on peer PE routers for the Cisco 1200 series routers:


Note For the Cisco 12000 series router Engine 2 3-port Gigabit Ethernet line card, you must issue the remote circuit id command as part of the Ethernet over MPLS VLAN ID rewrite configuration.


PE1
PE2
interface GigabitEthernet0/0.2
 encapsulation dot1Q 2
 no ip directed-broadcast
 no cdp enable
 xconnect 5.5.5.5 2 encapsulation mpls
  remote circuit id 3
interface GigabitEthernet3/0.2
 encapsulation dot1Q 3
 no ip directed-broadcast
 no cdp enable
 xconnect 3.3.3.3 2 encapsulation mpls
  remote circuit id 2

Verifying Ethernet over MPLS VLAN ID Rewrite for the Cisco 1200 series routers

For the Cisco 1200 series routers, to determine if VLAN ID rewrite is enabled, issue the show controllers eompls forwarding-table command. In the example, the first number is the port number on the line card and the second number is the local VLAN ID.

On PE1:

LC-Slot0# show controllers eompls forwarding-table 0 2

Port # 0, VLAN-ID # 2, Table-index 2
EoMPLS configured: 1
tag_rew_ptr             = D001BB58
Leaf entry?     = 1
FCR index       = 20
           **tagrew_psa_addr    = 0006ED60
           **tagrew_vir_addr    = 7006ED60
           **tagrew_phy_addr    = F006ED60
        [0-7] loq 8800 mtu 4458  oq 4000 ai 3 oi 04019110 (encaps size 4)
        cw-size 4 vlanid-rew 3
        gather A30 (bufhdr size 32 EoMPLS (Control Word) Imposition profile 81)
        2 tag: 18 18
        counters 1182, 10 reported 1182, 10.
    Local OutputQ (Unicast):    Slot:2  Port:0  RED queue:0  COS queue:0
    Output Q (Unicast):         Port:0          RED queue:0  COS queue:0

On PE2:

LC-Slot3# show controllers eompls forwarding-table 0 3 

Port # 0, VLAN-ID # 3, Table-index 3
EoMPLS configured: 1
tag_rew_ptr             = D0027B90
Leaf entry?     = 1
FCR index       = 20
           **tagrew_psa_addr    = 0009EE40
           **tagrew_vir_addr    = 7009EE40
           **tagrew_phy_addr    = F009EE40
        [0-7] loq 9400 mtu 4458  oq 4000 ai 8 oi 84000002 (encaps size 4)
        cw-size 4 vlanid-rew 2
        gather A30 (bufhdr size 32 EoMPLS (Control Word) Imposition profile 81)
        2 tag: 17 18
        counters 1182, 10 reported 1182, 10.
    Local OutputQ (Unicast):    Slot:5  Port:0  RED queue:0  COS queue:0
    Output Q (Unicast):         Port:0          RED queue:0  COS queue:0

How to Configure Frame Relay over MPLS

How Frame Relay PDUs Move Between PE Routers

Frame Relay over MPLS encapsulates Frame Relay protocol data units (PDUs) in MPLS packets and forwards them across the MPLS network. For Frame Relay, you can set up data-link connection identifier (DLCI)-to-DLCI connections or port-to-port connections.

With DLCI-to-DLCI connections, the PE routers manipulate the packet, by removing headers, adding labels, and copying control word elements from the header to the PDU.

With port-to-port connections, you use HDLC mode to transport the Frame Relay encapsulated packets. In HDLC mode, the whole HDLC packet is transported. Only the HDLC flags and FCS bits are removed. The contents of the packet are not used or changed, including the FECN, BECN, and DE bits.

Configuring Frame Relay over MPLS with DLCI-to-DLCI Connections

Perform this task to configure Frame Relay over MPLS wit DLCI-to-DLCI connections.

SUMMARY STEPS

1. enable

2. configure terminal

3. frame-relay switching

4. interface Serialslot/port

5. encapsulation frame-relay [cisco | ietf]

6. frame-relay intf-type dce

7. connect connection-name interface dlci l2transport

8. 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

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

frame-relay switching

Example:

Router(config)# frame-relay switching

Enables permanent virtual circuit (PVC) switching on a Frame Relay device.

Step 4 

interface Serialslot/port

Example:

Router(config)# interface Serial3/1

Specifies a serial interface.

Step 5 

encapsulation frame-relay [cisco | ietf]
Example:
Router(config-if)# encapsulation 
frame-relay ietf 

Specifies Frame Relay encapsulation for the interface. You can specify different types of encapsulations. You can set one interface to Cisco encapsulation and the other interface to IETF encapsulation.

Step 6 

frame-relay intf-type dce

Example:

Router(config-if)# frame-relay intf-type dce

Specifies that the interface is a DCE switch. You can also specify the interface to support NNI and DTE connections.

Step 7 

connect connection-name interface dlci l2transport

Example:

Router(config)# connect fr1 Serial5/0 1000 l2transport

Defines connections between Frame Relay PVCs. Using the l2transport keyword specifies that the PVC will not be a locally switched PVC, but will be tunneled over the backbone network.

The connection-name argument is a text string that you provide.

The interface argument is the interface on which a PVC connection will be defined.

The dlci argument is the DLCI number of the PVC that will be connected.

Step 8 

xconnect peer-router-id vcid encapsulation mpls

Example:

Router(config-fr-pw-switching)# xconnect 10.0.0.1 123 encapsulation mpls

Creates the VC to transport the Layer 2 packets. In a DLCI-to DLCI connection type, Frame Relay over MPLS uses the xconnect command in connect submode.

Configuring Frame Relay over MPLS with Port-to-Port Connections

When you set up a port-to-port connection between PE routers, you use HDLC mode to transport the Frame Relay encapsulated packets. Perform this task to set up Frame Relay port-to-port connections.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface serialslot/port

4. encapsulation hdlc

5. 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

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface serialslot/port

Example:

Router(config)# interface serial5/0

Specifies a serial interface.

Step 4 

encapsulation hdlc

Example:

Router(config-if)# encapsulation hdlc

Specifies that Frame Relay PDUs will be encapsulated in HDLC packets.

Step 5 

xconnect peer-router-id vcid encapsulation mpls

Example:

Router(config-if)# xconnect 10.0.0.1 123 encapsulation mpls

Creates the VC to transport the Layer 2 packets.

Enabling Other PE Devices to Transport Frame Relay Packets

You can configure an interface as a data terminal equipment (DTE) device or a data circuit-terminating equipment (DCE) switch, or as a switch connected to a switch with network-to-network interface (NNI) connections. Use the following command in interface configuration mode:

frame-relay intf-type [dce | dte | nni]

The keywords are explained in the following table:

Keyword
Description

dce

Enables the router or access server to function as a switch connected to a router.

dte

Enables the router or access server to function as a data terminal equipment DTE device. DTE is the default.

nni

Enables the router or access server to function as a switch connected to a switch.


Local Management Interface and Frame Relay over MPLS

Local Management Interface (LMI) is a protocol that communicates status information about permanent virtual circuits (PVCs). When a PVC is added, deleted, or changed, the LMI notifies the endpoint of the status change. LMI also provides a polling mechanism that verifies that a link is up.

How LMI Works

To determine the PVC status, LMI checks that a PVC is available from the reporting device to the Frame Relay end-user device. If a PVC is available, LMI reports that the status is "Active," which means that all interfaces, line protocols, and core segments are operational between the reporting device and the Frame Relay end-user device. If any of those components is not available, the LMI reports a status of "Inactive."


Note Only the DCE and NNI interface types can report LMI status.


Figure 1 is a sample topology that helps illustrate how LMI works.

Figure 1 Sample Topology

In Figure 1, note the following:

CE1 and PE1 and PE2 and CE2 are Frame Relay LMI peers.

CE1 and CE2 can be Frame Relay switches or end-user devices.

Each Frame Relay PVC is composed of multiple segments.

The DLCI value is local to each segment and is changed as traffic is switched from segment to segment. Two Frame Relay PVC segments exist in Figure 1; one is between PE1 and CE1 and the other is between PE2 and CE2.

How the LMI protocol behaves depends on whether you have DLCI-to-DLCI or port-to-port connections.

DLCI-to-DLCI Connections

If you have DLCI-to-DLCI connections, LMI runs locally on the Frame Relay ports between the PE and CE devices.

CE1 sends an active status to PE1 if the PVC for CE1 is available. If CE1 is a switch, LMI checks that the PVC is available from CE1 to the user device attached to CE1.

PE1 sends an active status to CE1 if the following conditions are met:

A PVC for PE1 is available.

PE1 has received an MPLS label from the remote PE router.

An MPLS tunnel label exists between PE1 and the remote PE.

CE2 reports an Active status to PE2. If CE2 is a switch, LMI checks that the PVC is available from PE1 to the end-user device attached to CE2.

For DTE/DCE configurations, the following LMI behavior exists:

The Frame Relay device accessing the network (DTE) does the polling. The network device (DCE) responds to the LMI polls. Therefore, if a problem exists on the DTE side, the DCE is not aware of the problem, because it does not poll.

Port-to-Port Connections

If you have port-to-port connections, the PE routers do not participate in the LMI status-checking procedures. LMI operates between the customer edge (CE) routers only. The CE routers must be configured as DCE-DTE or NNI-NNI.

For More Information About LMI

For information about LMI, including configuration instructions, see the following document:

Configuring Frame Relay, Configuring the LMI

http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fwan_c/wcffrely.htm#xtocid8

How to Configure HDLC and PPP over MPLS

With HDLC over MPLS, the whole HDLC packet is transported. The ingress PE router removes only the HDLC flags and frame check sequence (FCS) bits. The contents of the packet are not used or changed.

With PPP over MPLS, the ingress PE router removes the flags, address, control field, and the FCS.

Configuring HDLC and PPP over MPLS

Perform this task to set up HDLC and PPP connections.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface serialslot/port

4. encapsulation encapsulation-type

5. 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

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface serialslot/port

Example:

Router(config)# interface serial5/0

Specifies a serial interface. You must configure HDLC and PPP over MPLS on router interfaces only. You cannot configure HDLC over MPLS on subinterfaces.

Step 4 

For HDLC encapsulation:

encapsulation hdlc

Example:

Router(config-if)# encapsulation hdlc


For PPP encapsulation:

encapsulation ppp

Example:

Router(config-if)# encapsulation ppp

Specifies HDLC or PPP encapsulation.

Step 5 

xconnect peer-router-id vcid encapsulation mpls

Example:

Router(config-fr-pw-switching)# xconnect 10.0.0.1 123 encapsulation mpls

Creates the VC to transport the Layer 2 packets.

How to Configure Distributed CEF Mode

Supported Platforms:

Cisco 12000 series routers

Cisco 7500 series routers


Note Distributed Cisco Express Forwarding (CEF) is the only forwarding model supported on the Cisco 12000 series routers and is enabled by default. Disabling distributed CEF on the Cisco 12000 Series routers disables forwarding.


Distributed CEF mode is supported on the Cisco 7500 series routers for Frame Relay, HDLC, and PPP. In distributed CEF mode, the switching process occurs on the VIPs that support switching. When distributed CEF is enabled, VIP port adapaters maintain identical copies of the forwarding information base (FIB) and adjacency tables. The port adapters perform the express forwarding between port adapters, relieving the Route Switch Processor (RSP) from performing the switching. Distributed CEF uses an inter process communications (IPC) mechanism to ensure synchronization of FIBs and adjacency tables between the RSP and port adapters.

Enabling Distributed CEF

To enable distributed CEF on the Cisco 7500 series routers, issue the ip cef distributed command.

How to Configure MPLS Traffic Engineering Fast Reroute

Supported Platforms:

Cisco 12000 series routers

Cisco 10720 Internet router

Cisco 7200 series routers

Cisco 7500 series routers

This feature allows AToM to use MPLS Traffic Engineering (TE) tunnels with Fast Reroute support. AToM VCs can be rerouted around a failed link or node at the same time as MPLS and IP prefixes.

Configuring MPLS TE Fast Reroute

Enabling Fast Reroute on AToM does not require any special commands; you can use standard fast reroute commands. At the ingress PE, an AToM tunnel is protected by Fast Reroute when it is routed to an FRR-protected TE tunnel. Both link and node protection are supported for AToM VCs at the ingress PE. For more information on configuring MPLS TE Fast Reroute, see the following:

MPLS Traffic Engineering (TE)—Link and Node Protection, with RSVP Hellos Support

http://www.cisco.com/univercd/cc/td/doc/product/software/ios120/120newft/120limit/120s/120s23/fs_frrnd.htm

Fast Reroute Configuration Example

The following configuration example and Figure 2 show the configuration of Fast Reroute on AToM PE routers.

Routers PE1 and PE2 have the following characteristics:

A TE tunnel called Tunnel41 is configured between PE1and PE2, using an explicit path through a link called L1. AToM VCs are configured to travel through the FRR-protected tunnel Tunnel41.

The link L1 is protected by FRR, the backup tunnel is Tunnel1.

PE2 is configured to forward the AToM traffic back to PE1 through the L2 link.

Figure 2 Fast Reroute Configuration

PE1 (Java)
mpls label protocol ldp
mpls traffic-eng tunnels
mpls ldp router-id Loopback1 force
!
pseudowire-class T41
 encapsulation mpls
 preferred-path interface Tunnel41 disable-fallback
!
pseudowire-class IP1
 encapsulation mpls
 preferred-path peer 1.4.0.1 disable-fallback
!
interface Loopback1
 ip address 1.0.0.27 255.255.255.255
!
interface Tunnel1
 ip unnumbered Loopback1
 tunnel destination 1.0.0.1
 tunnel mode mpls traffic-eng
 tunnel mpls traffic-eng priority 1 1
 tunnel mpls traffic-eng bandwidth  10000
 tunnel mpls traffic-eng path-option 1 explicit name FRR
!
interface Tunnel41
 ip unnumbered Loopback1
 tunnel destination 1.0.0.4
 tunnel mode mpls traffic-eng
 tunnel mpls traffic-eng priority 1 1
 tunnel mpls traffic-eng bandwidth  1000
 tunnel mpls traffic-eng path-option 1 explicit name Chino_1
 tunnel mpls traffic-eng fast-reroute
!
interface POS0/0
 description Joe POS8/0/0
 ip address 1.1.0.2 255.255.255.252
 mpls traffic-eng tunnels
 mpls traffic-eng backup-path Tunnel1
 crc 16
 clock source internal
 pos ais-shut
 pos report lrdi
 ip rsvp bandwidth 155000 155000
!
interface POS0/3
 description Joe POS10/1/0
 ip address 1.1.0.14 255.255.255.252
 mpls traffic-eng tunnels
 crc 16   
 clock source internal
 ip rsvp bandwidth 155000 155000
!
interface gigabitethernet3/0.1
 encapsulation dot1Q 203
 xconnect 1.0.0.4 2 pw-class IP1
!         
interface gigabitethernet3/0.2
 encapsulation dot1Q 204
 xconnect 1.0.0.4 4 pw-class T41
!
router ospf 1
 network 1.0.0.0 0.255.255.255 area 0
 mpls traffic-eng router-id Loopback1
 mpls traffic-eng area 0
!
ip classless
ip route 1.4.0.1 255.255.255.255 Tunnel41
!
ip explicit-path name Java_1 enable
 next-address 1.4.1.2
 next-address 1.1.0.10

P (Joe)

ip cef
mpls traffic-eng tunnels
!
interface Loopback1
 ip address 1.0.0.1 255.255.255.255
!
interface FastEthernet1/0/0
 ip address 1.4.1.2 255.255.255.0
 mpls traffic-eng tunnels
 ip rsvp bandwidth 10000 10000
!
interface POS8/0/0
 description Java POS0/0
 ip address 1.1.0.1 255.255.255.252
 mpls traffic-eng tunnels
 pos ais-shut
 pos report lrdi
 ip rsvp bandwidth 155000 155000
!
interface POS10/1/0
 description Java POS0/3
 ip address 1.1.0.13 255.255.255.252
 mpls traffic-eng tunnels
 ip rsvp bandwidth 155000 155000
!
router ospf 1
 network 1.0.0.0 0.255.255.255 area 0
 mpls traffic-eng router-id Loopback1
 mpls traffic-eng area 0

PE2 (Chino)

ip cef
mpls label protocol ldp
mpls traffic-eng tunnels
mpls ldp router-id Loopback1 force
!
interface Loopback1
 ip address 1.0.0.4 255.255.255.255
!
interface loopback 2
ip address 1.4.0.1 255.255.255.255
!
interface Tunnel27
 ip unnumbered Loopback1
 tunnel destination 1.0.0.27
 tunnel mode mpls traffic-eng
 tunnel mpls traffic-eng autoroute announce
 tunnel mpls traffic-eng priority 1 1
 tunnel mpls traffic-eng bandwidth  1000
 tunnel mpls traffic-eng path-option 1 explicit name Java_1
!
interface FastEthernet0/0.2
 encapsulation dot1Q 203
 xconnect 1.0.0.27 2 encapsulation mpls
!
interface FastEthernet0/0.3
 encapsulation dot1Q 204
 xconnect 1.0.0.27 4 encapsulation mpls 
!
interface FastEthernet1/1
 ip address 1.4.1.1 255.255.255.0
 mpls traffic-eng tunnels
 ip rsvp bandwidth 10000 10000
!
router ospf 1
 network 1.0.0.0 0.255.255.255 area 0
 mpls traffic-eng router-id Loopback1
 mpls traffic-eng area 0
!
ip explicit-path name Java_1 enable
 next-address 1.4.1.2
 next-address 1.1.0.10

Verifying Fast Reroute

Issue the show mpls traffic-eng tunnels command to display status information about the tunnels.

Java# show mpls traffic-eng tunnels tunnel 41

Name: Java_t41                         (Tunnel41) Destination: 1.0.0.4
  Status:
    Admin: up         Oper: up     Path: valid       Signalling: connected
path option 1, type explicit Chino_1 (Basis for Setup, path weight 2)
Config Parameters:
    Bandwidth: 1000     kbps (Global)  Priority: 1  1   Affinity: 0x0/0xFFFF
    Metric Type: TE (default)
    AutoRoute:  disabled  LockDown: disabled  Loadshare: 1000     bw-based
    auto-bw: disabled
InLabel  :  - 
  OutLabel : POS0/0, 35
  FRR OutLabel : Tunnel1, 35 
  RSVP Signalling Info:
       Src 1.0.0.27, Dst 1.0.0.4, Tun_Id 41, Tun_Instance 48
    RSVP Path Info:
      My Address: 1.0.0.27   
      Explicit Route: 1.1.0.1 1.4.1.2 1.4.1.1 1.0.0.4 
      Record   Route:   NONE
      Tspec: ave rate=1000 kbits, burst=1000 bytes, peak rate=1000 kbits
    RSVP Resv Info:
      Record   Route:  1.4.1.2(35) 1.4.1.1(0)
      Fspec: ave rate=1000 kbits, burst=1000 bytes, peak rate=17179869 kbits
  Shortest Unconstrained Path Info:
    Path Weight: 2 (TE)
    Explicit Route: 1.1.0.1 1.4.1.2 1.4.1.1 1.0.0.4 
  History:
    Tunnel:
      Time since created: 3 days, 7 hours, 49 minutes
      Time since path change: 3 days, 7 hours, 46 minutes
    Current LSP:
      Uptime: 3 days, 7 hours, 31 minutes
      Selection: reoptimation
    Prior LSP:
      ID: path option 1 [42]
      Removal Trigger: re-route path verification failed

Issue the show mpls interfaces command to display information about the TE tunnel.

Java# show mpls interfaces tunnel 41 detail 

Interface Tunnel41:
        MPLS TE Tunnel Head
        IP labeling not enabled
        LSP Tunnel labeling not enabled
        BGP labeling not enabled
        MPLS not operational
        MTU = 4466
Tun hd Untagged    0          Tu41       point2point  
        MAC/Encaps=4/8, MRU=4470, Tag Stack{28}, via PO0/0
        0F008847 0001C000
        No output feature configured
        Fast Reroute Protection via {Tu1, outgoing label 28}

Issue the show mpls traffic-eng fast-reroute database command to display information about the status of the tunnels.

Java# show mpls traffic-eng fast-reroute database 
Tunnel head end item frr information:
Protected tunnel              In-label Out intf/label   FRR intf/label   Status
Tunnel41                      Tun hd   PO0/0:Untagged   Tu1:28           ready 

Prefix item frr information:
Prefix             Tunnel     In-label Out intf/label   FRR intf/label   Status
1.4.0.1/32         Tu41       12313    PO0/0:Untagged   Tu1:28           ready 

Troubleshooting Tips

You can issue the debug mpls l2transport fast-reroute command to debug Fast Reroute.


Note This command does not display output on platforms where AToM Fast Reroute is implemented in the forwarding code. This command does not display output for the Cisco 7500 (both RP and VIP) series routers, Cisco 7200 series routers, and Cisco 12000 series route processor. The command does display output on Cisco 10720 Internet router line cards and Cisco 12000 series line cards.


In the following example, the primary link is disabled, which causes the backup tunnel (Tunnel 1) to become the primary path.

Java# execute-on slot 3 debug mpls l2transport fast-reroute

========= Line Card (Slot 3) =========
AToM fast reroute debugging is on
SLOT 3:Sep 16 17:58:56.346: AToM SMGR: Processing TFIB FRR event for 1.4.0.1
SLOT 3:Sep 16 17:58:56.346: AToM SMGR: Finished processing TFIB FRR event for 1.4.0.1
SLOT 3:Sep 16 17:58:56.346: AToM SMGR: Processing TFIB FRR event for Tunnel41
SLOT 3:Sep 16 17:58:56.346: AToM SMGR: Finished processing TFIB FRR event for Tunnel41
Sep 16 17:58:58.342: %LINK-3-UPDOWN: Interface POS0/0, changed state to down
Sep 16 17:58:58.342: %OSPF-5-ADJCHG: Process 1, Nbr 1.0.0.1 on POS0/0 from FULL to DOWN, 
Neighbor Down: Interface down or detached
Sep 16 17:58:59.342: %LINEPROTO-5-UPDOWN: Line protocol on Interface POS0/0, changed state 
to down

How to Configure Tunnel Selection

Supported Platforms:

Cisco 12000 series routers

Cisco 10720 Internet router

Cisco 7200 series routers

Cisco 7500 series routers

This feature allows you to specify the path that traffic uses. You can specify either an MPLS TE tunnel or destination IP address/DNS name.

You also have the option of specifying whether the VCs should use the default path (the path LDP used for signaling) if the preferred path is unreachable. This option is enabled by default; you must explicitly disable it.

Configuring Tunnel Selection

You configure tunnel selection when you set up the pseudowire class. You enable tunnel selection with the preferred-path command. Then, you apply the pseudowire class to an interface that has been configured to transport AToM packets.

SUMMARY STEPS

1. enable

2. configure terminal

3. pseudowire-class name

4. encapsulation mpls

5. preferred path [interface tunnel tunnel-number | peer {ip address | host name}] [disable-fallback]

6. interfaceslot/port

7. encapsulation encapsulation-type

8. xconnect peer-router-id vcid pw-class 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 

pseudowire-class name
Example:
Router(config)# pseudowire-class ts1

Establishes a pseudowire class with a name that you specify.

Step 4 

encapsulation mpls 
Example:
Router(config-pw)# encapsulation mpls 

Specifies the tunneling encapsulation. For AToM, the encapsulation type is mpls.

Step 5 

preferred path [interface tunnel 
tunnel-number | peer {ip address | 
host name}] [disable-fallback]
Example:
Router(config-pw)# preferred path 
peer 16.18.18.18

Specifies the MPLS traffic engineering tunnel or IP address or host name to be used as the preferred path.

Step 6 

interfaceslot/port

Example:

Router(config)# interface atm1/1

Specifies an interface.

Step 7 

encapsulation encapsulation-type
Example:
Router(config-if)# encapsulation aal5

Specifies the encapsulation for the interface.

Step 8 

xconnect peer-router-id vcid pw-class 
name

Router(config-if)# xconnect 10.0.0.1 
123 pw-class ts1

Binds the attachment circuit to a pseudowire VC.

Tunnel Selection Configuration Guidelines

The following guidelines provide more information about configuring tunnel selection.

This command is available only if the pseudowire encapsulation type is MPLS.

This feature is enabled when you exit from pseudowire submode.

The selected path should be a label switched path (LSP) destined to the peer PE router.

The selected tunnel must be an MPLS traffic engineering tunnel.

If you select a tunnel, the tunnel tailend must be on the remote PE router.

If you specify an IP address, that address must be the IP address of the loopback interface on the remote PE router. The address must have a /32 mask. There must be an LSP destined to that selected address. The LSP does not have to be a TE tunnel.

Tunnel Selection Configuration Example

The following example sets up two preferred paths for PE1. One preferred path specifies an MPLS traffic engineering tunnel. The other preferred path specifies an IP address of a loopback address on PE2. There is a static route configured on PE1 that uses a TE tunnel to reach the IP address on PE2.

PE1:

mpls label protocol ldp
mpls traffic-eng tunnels
tag-switching tdp router-id Loopback0
pseudowire-class pw1
 encapsulation mpls
 preferred-path interface Tunnel1 disable-fallback
!
pseudowire-class pw2
 encapsulation mpls
 preferred-path peer 16.18.18.18
!
interface Loopback0
 ip address 75.2.2.2 255.255.255.255
 no ip directed-broadcast
 no ip mroute-cache
!
interface Tunnel1
 ip unnumbered Loopback0
 no ip directed-broadcast
 tunnel destination 16.16.16.16
 tunnel mode mpls traffic-eng
 tunnel mpls traffic-eng priority 7 7
 tunnel mpls traffic-eng bandwidth 1500
 tunnel mpls traffic-eng path-option 1 explicit name path-tu1
!
interface Tunnel2
 ip unnumbered Loopback0
 no ip directed-broadcast
 tunnel destination 16.16.16.16
 tunnel mode mpls traffic-eng
 tunnel mpls traffic-eng priority 7 7
 tunnel mpls traffic-eng bandwidth 1500
 tunnel mpls traffic-eng path-option 1 dynamic
!
interface gigabitethernet0/0/0
 no ip address
 no ip directed-broadcast
 no negotiation auto
!
interface gigabitethernet0/0/0.1
 encapsulation dot1Q 222
 no ip directed-broadcast
 xconnect 16.16.16.16 101 pw-class pw1
!
interface ATM1/0/0
 no ip address
 no ip directed-broadcast
 no atm enable-ilmi-trap
 no atm ilmi-keepalive
 pvc 0/50 l2transport
  encapsulation aal5
  xconnect 16.16.16.16 150 pw-class pw2
!
interface Ethernet2/0/1
 ip address 9.0.0.1 255.255.255.0
 no ip directed-broadcast
 tag-switching ip
 mpls traffic-eng tunnels
 ip rsvp bandwidth 15000 15000
!
router ospf 1
 log-adjacency-changes
 network 9.0.0.0 0.0.0.255 area 0
 network 75.2.2.2 0.0.0.0 area 0
 mpls traffic-eng router-id Loopback0
 mpls traffic-eng area 0
!
ip route 16.18.18.18 255.255.255.255 Tunnel2
!
ip explicit-path name path-tu1 enable
 next-address 9.0.0.1
 index 3 next-address 11.0.0.1

PE2:

mpls label protocol ldp
mpls traffic-eng tunnels
mpls ldp router-id Loopback0
interface Loopback0
 ip address 16.16.16.16 255.255.255.255
 no ip directed-broadcast
 no ip mroute-cache
!
interface Loopback2
 ip address 16.18.18.18 255.255.255.255
 no ip directed-broadcast
!
interface Ethernet3/1
 ip address 11.0.0.2 255.255.255.0
 no ip directed-broadcast
 mpls traffic-eng tunnels
 mpls ip
 no cdp enable
 ip rsvp bandwidth 15000 15000
!
interface Ethernet3/3 
 no ip address 
 no ip directed-broadcast 
 no cdp enable 
! 
interface Ethernet3/3.1 
 encapsulation dot1Q 222 
 no ip directed-broadcast 
 no cdp enable 
 mpls l2transport route 75.2.2.2 101 
! 
interface ATM5/0
 no ip address
 no ip directed-broadcast
 no atm enable-ilmi-trap
 no atm ilmi-keepalive
 pvc 0/50 l2transport
  encapsulation aal5
  xconnect 75.2.2.2 150 encapsulation mpls
!
router ospf 1
 log-adjacency-changes
 network 11.0.0.0 0.0.0.255 area 0
 network 16.16.16.16 0.0.0.0 area 0
 mpls traffic-eng router-id Loopback0
 mpls traffic-eng area 0

Verifying Tunnel Selection

The show mpls l2transport vc command shows the following information about the VCs:

VC 101 has been assigned a preferred path called Tunnel1. The default path is disabled, because the preferred path specified that the default path should not be used if the preferred path fails.

VC 150 has been assigned an IP address of a loopback address on PE2. The default path can be used if the preferred path fails.

Router# show mpls l2transport vc detail

Local interface: Gi0/0/0.1 up, line protocol up, Eth VLAN 222 up
  Destination address: 16.16.16.16, VC ID: 101, VC status: up
    Preferred path: Tunnel1,  active
    Default path: disabled
    Tunnel label: 3, next hop point2point
    Output interface: Tu1, imposed label stack {17 16}
  Create time: 00:27:31, last status change time: 00:27:31
  Signaling protocol: LDP, peer 16.16.16.16:0 up
    MPLS VC labels: local 25, remote 16
    Group ID: local 0, remote 6
    MTU: local 1500, remote 1500
    Remote interface description:
  Sequencing: receive disabled, send disabled
  VC statistics:
    packet totals: receive 10, send 10
    byte totals:   receive 1260, send 1300
    packet drops:  receive 0, send 0

Local interface: AT1/0/0 up, line protocol up, ATM AAL5 0/50 up
  Destination address: 16.16.16.16, VC ID: 150, VC status: up
    Preferred path: 16.18.18.18, active
    Default path: ready
    Tunnel label: 3, next hop point2point
    Output interface: Tu2, imposed label stack {18 24}
  Create time: 00:15:08, last status change time: 00:07:37
  Signaling protocol: LDP, peer 16.16.16.16:0 up
    MPLS VC labels: local 26, remote 24
    Group ID: local 2, remote 0
    MTU: local 4470, remote 4470
    Remote interface description:
  Sequencing: receive disabled, send disabled
  VC statistics:
    packet totals: receive 0, send 0
    byte totals:   receive 0, send 0
    packet drops:  receive 0, send 0

Troubleshooting Tunnel Selection

You can use the debug mpls l2transport vc event command to troubleshoot tunnel selection. For example, if the tunnel interface that is used for the preferred path is shut down, the default path is enabled. The debug mpls l2transport vc event command provides the following output:

AToM SMGR [75.2.2.2, 101]: Processing imposition update, vc_handle 62091860, update_action 
3, remote_vc_label 16 
AToM SMGR [75.2.2.2, 101]: selected route no parent rewrite: tunnel not up 
AToM SMGR [75.2.2.2, 101]: Imposition Programmed, Output Interface: Et3/2 

How to Estimate the Size of Packets Traveling Through the Core Network

The following calculation helps you determine the size of the packets traveling through the core network. You set the MTU on the core-facing interfaces of the P and PE routers to accommodate packets of this size. The MTU should be greater than or equal to the total bytes of the items in the following equation:

Core MTU >= (Edge MTU + Transport header + AToM header + (MPLS label stack * MPLS label 
size))

The following sections describe the variables used in the equation.

Edge MTU

The edge MTU is the MTU for the customer-facing interfaces.

Transport header

The Transport header depends on the transport type. Table 2 lists the specific sizes of the headers.

Table 2 Header Size of Packets 

Transport Type
Packet Size

AAL5

0-32 bytes

Ethernet VLAN

18 bytes

Ethernet Port

14 bytes

Frame Relay DLCI

2 bytes for Cisco encapsulation, 8 bytes for IETF encapsulation.

HDLC

4 bytes

PPP

4 bytes


AToM Header

The AToM header is 4 bytes (control word). The control word is optional for Ethernet, PPP, HDLC, and cell relay transport types. However, the control word is required for Frame Relay, and ATM AAL5 transport types.

MPLS Label Stack

The MPLS label stack size depends on the configuration of the core MPLS network.

AToM uses one MPLS label to identify the ATOM VCs (VC label). Therefore, the minimum MPLS label stack is 1 for directly connected ATOM PEs, which are PE routers that do not have a P router between them.

If LDP is used in the MPLS network, the label stack size is 2 (the LDP label and the VC label).

If a TE tunnel instead of LDP is used between PE routers in the MPLS network, the label stack size is 2 (the TE label and the VC label).

If a TE tunnel and LDP are used in the MPLS network (for example, a TE tunnel between P routers or between P and PE routers, with LDP on the tunnel), the label stack is 3 (TE label, LDP label, VC label).

If you use MPLS Fast Reroute in the MPLS network, you add a label to the stack. The maximum MPLS label stack in this case is 4 (FRR label, TE label, LDP label, VC label).

If AToM is used by the customer carrier in MPLS-VPN Carrier Supporting Carrier environment, you add a label to the stack. The maximum MPLS label stack in the provider carrier network is 5 (FRR label, TE label, LDP label, VPN label, VC label).

If an AToM tunnel spans different service providers that exchange MPLS labels using IPv4 BGP (RFC 3107), you add a label to the stack. The maximum MPLS label stack is 5 (FRR label, TE label, BGP label, LDP label, VC label).

Other circumstances can increase the MPLS label stack size. Therefore, analyze the complete data path between the AToM tunnel endpoints and determine the maximum MPLS label stack size for your network. Then multiply the label stack size by the size of the MPLS label.

Example of Estimating Packet Size

Example 2 estimates the size of packets. The example uses the following assumptions:

The edge MTU is 1500 bytes.

The transport type is Ethernet VLAN, which designates 18 bytes for the transport header.

The AToM header is 0, because the control word is not used.

The MPLS label stack is 2, because LDP is used. The MPLS label is 4 bytes.

Example 2 Estimating the MTU for Packets

Edge MTU + Transport header + AToM header + (MPLS label stack * MPLS Label) = Core MTU
1500     + 18                    + 0      + (2                * 4         ) = 1526

You must configure the P and PE routers in the core to accept packets of 1526 bytes. See the following section for setting the MTU size on the P and PE routers.

Changing the MTU Size on the P and PE Routers

Once you determine the MTU size to set on your P and PE routers, you can issue the mtu command on the routers to set the MTU size. The following example specifies an MTU of 1526 bytes.

Router(config-if)# mtu 1526

Note Some interfaces (such as FastEthernet interfaces) require the mpls mtu command to change the MTU size.


How To Configure QOS with AToM

This section explains how to configure QOS with AToM and includes the following procedures:

How to Set Experimental Bits with AToM

How to Configure QOS Features with the Cisco 12000 Series Routers

How to Configure QoS Features with the Cisco 7500 Series Routers

How to Set Experimental Bits with AToM

Supported Platforms:

Cisco 12000 series routers

Cisco 7200 series routers

Cisco 7500 series routers

Cisco 10720 Internet router for Ethernet over MPLS

For configuration steps and examples, see the "Setting the EXP Bits" section.

MPLS AToM uses the three experimental bits in a label to determine the queue of packets. You statically set the experimental bits in both the VC label and the LSP tunnel label, because the LSP tunnel label might be removed at the penultimate router. The following sections explain the transport-specific implementations of the EXP bits.

ATM AAL5 over MPLS and EXP Bits

ATM AAL5 over MPLS allows you to statically set the experimental bits.

If you do not assign values to the experimental bits, the priority bits in the header's "tag control information" field are set to zero.

On the Cisco 7500 series routers, dCEF must be enabled before you set the experimental bits.

ATM Cell Relay over MPLS and EXP Bits

ATM Cell Relay over MPLS allows you to statically set the experimental bits in VC, VP, and port modes.

If you do not assign values to the experimental bits, the priority bits in the header's "tag control information" field are set to zero.

On the Cisco 7500 series routers, dCEF must be enabled before you set the experimental bits.

Ethernet over MPLS and EXP Bits

On the Cisco 12000 Series Routers

Ethernet over MPLS allows you to either statically set the experimental bits or use the 802.1Q P bits to determine the experimental bit settings. To use the 802.1Q P bits, see the "Using 802.1Q P Bits to Determine the Experimental Bit Settings" section.

In VLAN mode, if you do not assign values to the experimental bits, the priority bits in the 802.1Q header's "tag control information" field are written into the experimental bit fields.

In port mode, if you do not assign values to the experimental bits, the experimental bits are set to zero.

On the Cisco 7200 and 7500 Series Routers

Ethernet over MPLS allows you to set the EXP bits by using either of the following methods:

Writing the priority bits into the experimental bit field, which is the default.

Using the match any command with the set mpls exp command.

If you do not assign values to the experimental bits, the priority bits in the 802.1Q header's "tag control information" field are written into the experimental bit fields.

On the Cisco 7500 series routers, dCEF must be enabled before you set the experimental bits.

On the Cisco 10720 Router

Table 3 lists the commands that are supported on the Cisco 10720 router for Ethernet over MPLS. The letter Y means that the command is supported on that interface. A dash (—) means that command is not supported on that interface.


Note The match cos command is supported only on subinterfaces, not main interfaces.


Table 3 Commands Supported on the Cisco 10720 Router for Ethernet over MPLS

Commands
Imposition
Disposition

Traffic Matching Commands

In

Out

In

Out

match any

Y

Y

Y

Y

match input-interface

Y

Y

match qos-group

Y

Y

match mpls exp

Y

Y

match cos

Y

Traffic Action Commands

       

set mpls exp

Y

set srp-priority

Y

set qos-group

Y

Y

set cos

Y


Frame Relay over MPLS and EXP Bits

If you do not assign values to the experimental bits, the priority bits in the header's "tag control information" field are set to zero.

On the Cisco 7500 series routers, dCEF must be enabled before you set the experimental bits.

HDLC over MPLS and PPP over MPLS and EXP Bits

If you do not assign values to the experimental bits, zeros are written into the experimental bit fields.

On the Cisco 7500 series routers, enable dCEF before setting the experimental bits.

Setting the EXP Bits

Set the experimental bits in both the VC label and the LSP tunnel label. You set the experimental bits in the VC label, because the LSP tunnel label might be removed at the penultimate router.

Perform this task to set the experimental bits.


Note Steps 1 through 5 are common to the Cisco 12000, 7200, and 7500 routers. Steps 6 and 7 are slightly different for the Cisco 12000 series routers. See Examples of Setting the EXP Bits on the Cisco 12000 Series Routers for examples.


SUMMARY STEPS

1. enable

2. configure terminal

3. class-map class-name

4. match any

5. policy-map policy-name

6. class class-name

7. set mpls experimental value

8. interfaceslot/port

9. 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-map class-name 
Example:
Router(config)# class-map 
jane 

Specifies the user-defined name of the traffic class.

Step 4 

match any
Example:
Router(config-cmap)# match 
any

Specifies that all packets will be matched. In this release, use only the any keyword. Other keywords might cause unexpected results.

Step 5 

policy-map policy-name 
Example:
Router(config-cmap)# 
policy-map doe 

Specifies the name of the traffic policy to configure.

Step 6 

class class-name 
Example:
Router(config-pmap)# class 
jane 

Specifies the name of a predefined traffic class, which was configured with the class-map command, used to classify traffic to the traffic policy.

Step 7 

set mpls experimental value
Example:
Router(config-pmap-c)# set 
mpls experimental 7

Designates the value to which the MPLS bits are set if the packets match the specified policy map.

Step 8 

interfaceslot/port 

Router(config)# interface 
atm4/0 

Enters the interface.

Step 9 

service-policy input 
policy-name 
Example:
Router(config-if)# 
service-policy input doe 

Attaches a traffic policy to an interface.

Displaying the Traffic Policy Assigned to an Interface

To display the traffic policy attached to an interface, use the show policy-map interface command.

Examples of Setting the EXP Bits on the Cisco 12000 Series Routers

The following examples set the EXP bits on the different transport types for the Cisco 12000 series routers.

Example 3 Setting the EXP Bits for ATM Single Cell Relay over MPLS

Class Map match-any atm-class
!
Policy Map exp7
    Class atm-class
      set mpls experimental 7
!
interface ATM4/0
 no ip address
 no ip directed-broadcast
 atm clock INTERNAL
 no atm enable-ilmi-trap
 no atm ilmi-keepalive
 pvc 0/110 l2transport
  xconnect 5.5.5.5 1145 encapsulation mpls
  service-policy input exp7 

Example 4 Setting the EXP Bits for Frame Relay over MPLS

Class Map match-any fr-class
!
Policy Map exp7
    Class fr-class
      set mpls experimental 7
!
interface POS4/0.1 point-to-point
 no ip directed-broadcast
 switched-dlci 106
 service-policy input exp7
!
connect frompls101 POS4/0 106 l2transport
 xconnect 3.3.3.3 2034 encapsulation mpls 
pvc 0/120 l2transport
  encapsulation aal0
  xconnect 5.5.5.5 1045 encapsulation mpls
  service-policy input exp7 

Example 5 Setting the EXP Bits for Ethernet Port Mode over MPLS

Class Map match-any eport-class
!
Policy Map exp7
    Class eport-class
      set mpls experimental 7
!
int Gigaethernet4/0
xconnect 5.5.5.5 1045 encapsulation mpls
service-policy input exp7

Example 6 Setting the EXP Bits for HDLC over MPLS

Class Map match-any hdlc-class
!
Policy Map exp7
    Class hdlc-class
      set mpls experimental 7
!
interface POS4/0
xconnect 5.5.5.5 1045 encapsulation mpls
service-policy input exp7

Example 7 Setting the EXP Bits for Ethernet VLAN over MPLS

Class Map match-any evlan-class
!
Policy Map exp7
    Class evlan-class
      set mpls experimental 7
!
int Gigaethernet4/0.1
encapsulation dot1Q 200
xconnect 5.5.5.5 1045 encapsulation mpls
service-policy input exp7

Example 8 Setting the EXP Bits for PPP over MPLS

Class Map match-any ppp-class
!
Policy Map exp7
    Class ppp-class
      set mpls experimental 7
!
interface POS4/0
encapsulation ppp
xconnect 5.5.5.5 1045 encapsulation mpls
service-policy input exp7

Using 802.1Q P Bits to Determine the Experimental Bit Settings

The following configuration steps let you configure class maps and policy maps to control the setting of the EXP bit based on the 802.1Q P bit setting. This procedure applies only to Ethernet over MPLS in VLAN mode for the Cisco 12000 series routers.

SUMMARY STEPS

1. enable

2. configure terminal

3. class-map match any class-name

4. match cos cos-value

5. policy-map policy-name

6. class class-name

7. set mpls experimental value

8. interfaceslot/port

9. 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-map match any class-name
Example:
Router(config)# class-map match any jane

Specifies the user-defined name of the traffic class. The match any portion of the command allows a packet to be classified as a member of the traffic class if it matches any of the criteria.

Step 4 

match cos cos-value
Example:
Router(config-cmap)# match cos 7

Specifies the CoS value against whose contents packets are checked to determine if they belong to the class. You can enter values 0 through 7

Step 5 

policy-map policy-name
Example:
Router(config-cmap)# policy-map doe

Specifies the name of the traffic policy to configure.

Step 6 

class class-name
Example:
Router(config-pmap)# class jane

Assigns the class, which was configured with the class-map command, to the policy map.

Step 7 

set mpls experimental value
Example:
Router(config-pmap-c)# set mpls 
experimental 1

Sets the MPLS bits if the packets match the criteria in the specified policy map.

Step 8 

interfaceslot/port
Example:
Router(config)# interface 
gigabitethernet0/0.1

Enters the interface.

Step 9 

service-policy input policy-name 
Example:
Router(config-if)# service-policy input 
doe

Attaches a traffic policy to an interface.

Example:


class-map match-any barney
  match cos  2
!
policy-map eompls1
  class barney
   set mpls experimental 1
!
int gig 0/0.1
service-policy input eompls1

How to Configure QOS Features with the Cisco 12000 Series Routers

The following QoS features are supported by AToM in 12.0(25)S on the Cisco 12000 series routers.

QOS Feature
Details

Traffic Policing

Supported on ATM AAL5, ATM Cell Relay (VC and VP modes), and Frame Relay over MPLS. See Configuring Traffic Policing with the Cisco 12000 Series Routers for more information.

Traffic Shaping

Supported on ATM AAL5 and ATM Cell Relay (VC and VP modes) For information about configuring and using Traffic Shaping on ATM interfaces on the Cisco 12000 series router, see the following information:

8-Port OC-3 STM-1 ATM Line Card for Cisco 12000 Series Internet Routers

http://www.cisco.com/univercd/cc/td/doc/product/software/ios120/120newft/120limit/120s/120s22/8_oc3_lc.htm

Traffic Shaping on ATM Line Cards for the Cisco 12000 Series

http://www.cisco.com/warp/public/121/atmlcshaping_12141.html


Configuring Traffic Policing with the Cisco 12000 Series Routers

Supported Platforms:

Cisco 12000 series routers for ATM AAL5, ATM Cell Relay, and Frame Relay over MPLS

Traffic policing operates on incoming traffic. When enabled, policing prevents traffic congestion by treating traffic as either committed or excess. You specify the parameters for committed and excess traffic. Traffic that falls within the committed rate parameters is transmitted, whereas traffic that exceeds the parameters is dropped or transmitted with a different priority.

How traffic policing handles packets depends on the configuration of the committed information rate (CIR), peak information rate (PIR), burst committed (BC), and peak burst (BE) parameters and the conform, exceed, and violate actions.


Note Traffic policing is not supported in ATM Cell Relay port mode on the Cisco 12000 Series routers.


How Traffic Policing Treats ATM Packets

Table 4 shows how ATM packets are handled on the Cisco 12000 series routers with traffic policing.

Table 4 How ATM AAL5 and ATM Cell Relay Packets Behave with Traffic Policing on Cisco 12000 Series Routers

If
Then

Traffic conforms to the specified rate.

The packets are transmitted.

Traffic exceeds the specified rate.

The packets are transmitted.

Traffic violates the specified rate.

The packets are dropped.


Traffic Policing on ATM AAL5 over MPLS with the Cisco 12000 Series Router Line Cards

On Cisco 12000 series routers, the policing function measures traffic in different ways for E2 and E0 ATM line cards. Therefore, when you display policing statistics, the results will be different for different line cards.

On E2 ATM line cards, the policing function does not count the following items:

Four-byte AAL5 trailer

Four-byte AAL5 CRC

Bytes used for padding the AAL5 packet

On E0 ATM line cards, the policing function counts the trailer, CRS, and padding bytes.

Further, arithmetic round-off errors can allow higher bursts of committed and excess traffic than you specified. To keep the burst traffic within the specified limits, specify a minimum excess burst.

How Traffic Policing Treats Frame Relay Packets

Table 5 shows how Frame Relay packets are handled on the Cisco 12000 series routers with traffic policing.

Table 5 How Frame Relay Packets Behave with Traffic Policing on Cisco 12000 Series Routers

If
Then

Traffic conforms to the specified rate.

The packets are transmitted.

Traffic exceeds the specified rate.

Sets the DE bit from 0 to 1 on the frame relay frame and transmits the packet.

Traffic violates the specified rate.

The packets are dropped.


Configuration Guidelines

To configure traffic policing, you create a traffic class and a traffic policy and attach the traffic policy to a specified VC or subinterface. You perform these tasks using the Modular QoS command-line interface (CLI). For information on the Modular QoS CLI, see "Configuring the Modular Quality of Service Command-Line Interface" at the following URL:

http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fqos_c/fqcprt8/qcfmcli2.htm#89799

The following list outlines guidelines specific to the Cisco 12000 series router and traffic policing:

The Cisco 12000 series router supports the two-rate, three-color policer. For more information on this type of traffic policing, see Two-Rate Policer at the following URL:

http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122newft/122t/122t4/ft2rtplc.htm

The Cisco 12000 series router requires that you specify the committed information rate (CIR) and the peak information rate (PIR).

The switched-dlci command is required only for Frame Relay over MPLS on the Cisco 12000 series routers.

The match fr-dlci command is not supported on the Cisco 12000 series routers.

The set-clp-transmit command is only supported on the Engine 2 8-Port OC-3 STM-1 ATM line card.

Traffic policing is not supported for ATM Cell Relay over MPLS in port mode.

Configuring Traffic Policing for ATM AAL5 and ATM Cell Relay on the Cisco 12000 Series Routers

Perform this task to enable traffic policing for ATM cell relay and ATM AAL5.

SUMMARY STEPS

1. enable

2. configure terminal

3. class-map match-any class-name

4. policy-map policy-name

5. class class-name

6. police cir cir bc bc pir pir be be conform-action action exceed-action action violate-action action

7. interfaceslot/port

8. pvc vpi/vci l2transport

9. encapsulation aal5

or

encapsulation aal0

10. xconnect peer-router-id vcid encapsulation mpls

11. 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-map match-any class-name 
Example:
Router(config)# class-map match-any jane 

Specifies that one of the match criterion must be met for traffic entering the traffic class to be classified as part of the traffic class.

Step 4 

policy-map policy-name
Example:
Router(config)# policy-map doe

Specifies the name of the traffic policy to configure. Names can be a maximum of 40 alphanumeric characters.

Step 5 

class class-name 
Example:
Router(config-pmap)# class jane 

Specifies the name of a predefined traffic class, which was configured with the class-map command, used to classify traffic to the traffic policy.

Step 6 

police cir cir bc bc pir pir be be 
conform-action action exceed-action 
action violate-action action 
Example:
Router(config-pmap-c)# police cir 64000 
bc 1000 pir 12800 be 2000 conform-action 
transmit exceed-action set-clp-transmit 
violate-action drop 

Specifies a maximum bandwidth usage by a traffic class. The police command polices traffic based on a token bucket algorithm. The variables in the token bucket algorithm are set in this command line.

Step 7 

interfaceslot/port 
Example:
Router(config)# interface atm4/0 

Enters the interface.

Step 8 

pvc vpi/vci l2transport

Example:

Router(config-if)# pvc 0/110 l2transport

Assigns a virtual path identifier (VPI) and virtual circuit identifier (VCI). The l2transport keyword indicates that the PVC is a switched PVC instead of a terminated PVC.

You can configure ATM AAL5 on permanent virtual circuits (PVCs) only. You cannot configure ATM AAL5 over MPLS on main interfaces.

Step 9 

encapsulation encapsulation-type

Example:

Router(config-if-atm-l2trans-pvc)# encapsulation aal5


or

Router(config-if-atm-l2trans-pvc)# encapsulation aal0

Specifies AAL5 or AAL0 or encapsulation for the PVC. Make sure you specify the same encapsulation type on the PE and CE routers.

Step 10 

xconnect peer-router-id vcid 
encapsulation mpls
Example:
Router(config-if-atm-l2trans-pvc)# 
xconnect 10.0.0.1 123 encapsulation mpls

Binds the attachment circuit to a pseudowire VC.

Step 11 

service-policy input policy-name 
Example:
Router(config-atm-vc)# service-policy 
input doe 

Attaches a traffic policy to an VC.

Traffic Policing for ATM Cell Relay over MPLS Configuration Example

Example 9 shows an example of configuring traffic policing with ATM Cell Relay over MPLS.

Example 9 Traffic Policing for ATM Cell Relay over MPLS with the Cisco 12000 Series Routers

class map match-any atm-class
!
policy map atm-policy
    class atm-class
      police cir 64000 bc 1000 pir 128000 be 2000
conform-action transmit exceed-action set-clp-transmit violate-action drop
!
interface ATM4/0
 no ip address
 no ip directed-broadcast
 atm clock INTERNAL
 no atm enable-ilmi-trap
 no atm ilmi-keepalive
 pvc 0/110 l2transport
  xconnect 5.5.5.5 1145 encapsulation mpls
  service-policy input atm-policy
!
 pvc 0/120 l2transport
  encapsulation aal0
  xconnect 5.5.5.5 1045 encapsulation mpls
  service-policy input atm-policy

Configuring Traffic Policing for Frame Relay on the Cisco 12000 Series Routers

Perform this task to enable traffic policing for Frame Relay.

SUMMARY STEPS

1. enable

2. configure terminal

3. class-map match-any class-name

4. policy-map policy-name

5. class class-name

6. police cir cir bc bc pir pir be be conform-action action exceed-action action violate-action action

7. interfaceslot/port

8. encapsulation frame-relay [cisco | ietf]

9. interfaceslot/port.subinterface

10. switched-dlci dlci

11. service-policy input policy-name

12. connect connection-name interface dlci l2transport

13. 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 

class-map match-any class-name 
Example:
Router(config)# class-map match-any jane 

Specifies that one of the match criterion must be met for traffic entering the traffic class to be classified as part of the traffic class.

Step 4 

policy-map policy-name
Example:
Router(config)# policy-map doe

Specifies the name of the traffic policy to configure. Names can be a maximum of 40 alphanumeric characters.

Step 5 

class class-name 
Example:
Router(config-pmap)# class jane 

Specifies the name of a predefined traffic class, which was configured with the class-map command, used to classify traffic to the traffic policy.

Step 6 

police cir cir bc bc pir pir be be 
conform-action action exceed-action 
action violate-action action 
Example:
Router(config-pmap-c)# police cir 64000 
bc 1000 pir 128000 be 2000
conform-action transmit exceed-action 
set-frde-transmit violate-action drop 

Specifies a maximum bandwidth usage by a traffic class. The police command polices traffic based on a token bucket algorithm. The variables in the token bucket algorithm are set in this command line.

Step 7 

interfaceslot/port
Example:
Router(config)# interfacePOS4/1

Specifies an interface.

Step 8 

encapsulation frame-relay [cisco | ietf]

Example:

Router(config-if)# encapsulation frame-relay ietf

Specifies Frame Relay encapsulation for the interface. You can specify different types of encapsulations. You can set one interface to Cisco encapsulation and the other interface to IETF encapsulation.

Step 9 

interfaceslot/port.subinterface
Example:
Router(config)# interfacePOS4/1.0

Specifies a subinterface.

Step 10 

switched-dlci dlci
Example:
Router(config-subif)# switched-dlci 106

Establishes a link between the subinterface and the DLCI specified with the connect command.

Step 11 

service-policy input policy-name 
Example:
Router(config-subif)# service-policy 
input doe 

Attaches a traffic policy to a subinterface.

Step 12 

connect connection-name interface dlci l2transport

Example:

Router(config)# connect newxc pos4/0 106 l2transport

Defines connections between Frame Relay PVCs. Using the l2transport keyword specifies that the PVC will not be a locally switched PVC, but will be tunneled over the backbone network.

The connection-name argument is a text string that you provide.

The interface argument is the interface on which a PVC connection will be defined.

The dlci argument is the DLCI number of the PVC that will be connected.

Step 13 

xconnect peer-router-id vcid encapsulation mpls

Example:

Router(config-fr-pw-switching)# xconnect 10.0.0.1 123 encapsulation mpls

Creates the VC to transport the Layer 2 packets. In a DLCI-to DLCI connection type, Frame Relay over MPLS uses the xconnect command in connect submode.

Traffic Policing for Frame Relay over MPLS Configuration Example

Example 10 configures traffic policing for Frame Relay over MPLS on the Cisco 12000 series routers.

Example 10 Traffic Policing for Frame Relay over MPLS with the Cisco 12000 Series Routers

class map match-any fr-class
!
policy map frtp-policy
    class fr-class
      police cir 64000 bc 1000 pir 128000 be 2000
conform-action transmit exceed-action set-frde-transmit violate-action drop
!
interface POS4/0
 encapsulation frame-relay cisco
!
interface POS4/0.1 point-to-point
 no ip directed-broadcast
 switched-dlci 106
 service-policy input frtp-policy
connect frompls101 POS4/0 106 l2transport
 xconnect 3.3.3.3 2034 encapsulation mpls 

How to Configure QoS Features with the Cisco 7500 Series Routers

The following QoS features are supported by AToM in 12.0(25)S on the Cisco 7500 series routers.

QoS Feature
Frame Relay over MPLS
ATM Cell Relay and AAL5 over MPLS

Service Policy

Can be applied to:

Interface (input and output)

PVC (input and output)

Can be applied to:

Interface (input and output)

Subinterface (input and output)

PVC (input and output)

Classification

Supports the following commands:

match fr-de (on interfaces and VCs)

match fr-dlci (on interfaces)

match qos-group

Supports the following commands:

match mpls experimental (on VCs)

Marking

Supports the following commands:

set fr-de (output policy)

set mpls experimental

set qos-group

Supports the following commands:

set mpls experimental (input) (on interfaces, subinterfaces, and VCs)

Policing

Supports the following:

Single-rate policing

Supports the following:

Single-rate policing

Queueing and Shaping

Supports the following:

Distributed Low-latency queueing (LLQ)

Distributed Weighted Random Early Detection (WRED)

Distributed traffic shaping

Distributed class-based weighted fair queueing (DCBWFQ)

Supports the following:

Distributed Low-latency queueing (LLQ)

Distributed Weighted Random Early Detection (WRED)

Distributed class-based weighted fair queueing (DCBWFQ)


Refer to the following documentation for information about these features:

Distributed Low Latency Queuing

http://www.cisco.com/univercd/cc/td/doc/product/software/ios121/121newft/121t/121t5/dtllqvip.htm

Traffic Policing

http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122newft/122t/122t2/ftpoli.htm

Class-Based Marking

http://www.cisco.com/univercd/cc/td/doc/product/software/ios121/121newft/121t/121t5/cbpmark2.htm

Distributed Class-Based Weighted Fair Queueing and Distributed Weighted Random Early Detection

http://www.cisco.com/univercd/cc/td/doc/product/software/ios121/121newft/121t/121t5/dtcbwred.htm

Packet Classification Using the Frame Relay DLCI

http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122newft/122t/122t13/ftpcdlci.htm

Setting the Frame Relay Discard Eligibility Bit on the Cisco 7500 Series Routers

You can use the discard eligibility (DE) bit in the address field of a frame relay frame to prioritize frames in congested frame relay networks. The frame relay DE bit has only one bit and can therefore only have two settings, 0 or 1. If congestion occurs in a frame relay network, frames with the DE bit set to 1 are discarded before frames with the DE bit set to 0. Therefore, important traffic should have the DE bit set to 0, while less important traffic should be forwarded with the DE bit set at 1. The default DE bit setting is 0. You can change the DE bit setting to 1 with the set fr-de command.


Note The set fr-de command can only be used in an output service policy.


Setting the Frame Relay DE Bit on the Cisco 7500 Series Routers

Perform this task to set the Frame Relay DE bit to 1 on the Cisco 7500 series routers.

SUMMARY STEPS

1. enable

2. configure terminal

3. policy-map policy-name

4. class class-name

5. set fr-de

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 

policy-map policy-name
Example:
Router(config)# policy-map doe

Specifies the name of the traffic policy to configure. Names can be a maximum of 40 alphanumeric characters.

Step 4 

class class-name 
Example:
Router(config-pmap)# class jane 

Specifies the name of a predefined traffic class, which was configured with the class-map command, used to classify traffic to the traffic policy.

Step 5 

set fr-de
Example:
Router(config-pmap-c)# set fr-de

Sets the Frame Relay DE bit setting for all packets that match the specified traffic class from 0 to 1.

Setting the Frame Relay DE Bit Configuration Example

The following example shows how to configure the service policy called set-de and attach it to an interface. In this example, the class map called data evaluates all packets exiting the interface for an IP precedence value of 1. If the exiting packet has been marked with the IP precedence value of 1, the packet's DE bit is set to 1.

class-map data 
   match ip precedence 1 

policy-map SET-DE 
   class data 
        set fr-de 
interface Serial0/0/0 
encapsulation frame-relay 
interface Serial0/0/0.1 point-to-point 
  ip address 161.222.249.194 255.255.255.252 
   frame-relay interface-dlci 100 
   service output SET-DE 

Matching the Frame Relay Discard Eligibility Bit on the Cisco 7500 Series Routers

You can use the match fr-de command to enable frames with a DE bit setting of 1 to be considered a member of a defined class and forwarded according to the specifications set in the service policy.

Matching the Frame Relay DE Bit on the Cisco 7500 Series Routers

Perform this task to classify frames with the FR DE bit set to 1.

SUMMARY STEPS

1. enable

2. configure terminal

3. class-map class-map-name

4. match fr-de

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-map class-map-name 
Example:
Router(config)# class-map de-bits

Specifies the name of a predefined traffic class, which was configured with the class-map command, used to classify traffic to the traffic policy.

Step 4 

match fr-de
Example:
Router(config-cmap)# match fr-de

Classifies all frames with the DE bit set to 1.

Matching the Frame Relay DE Bit Configuration Example

The following example shows how to configure the service policy called match-de and attach it to an interface. In this example, the class map called data evaluates all packets entering the interface for a DE bit setting of 1. If the entering packet has been a DE bit value of 1, the packet's EXP bit setting is set to 3.

class-map data 
  match fr-de 

policy-map MATCH-DE 
    class data 
        set mpls exp 3 

ip routing 
ip cef distributed 

mpls label protocol ldp 
interface Loopback0 
 ip address 20.20.20.20 255.255.255.255 

interface Ethernet1/0/0 
 ip address 91.0.0.2 255.255.255.0 
 tag-switching ip 
  
interface Serial4/0/0 
 encapsulation frame-relay 
service input MATCH-DE 

connect 100 Serial4/0/0 100 l2transport 
 xconnect 10.10.10.10 100 encapsulation mpls 

Additional References

For additional information related to Any Transport over MPLS, refer to the following references:

Related Documents

Standards

MIBs

RFCs

Technical Assistance

Related Documents

Related Topic
Document Title

Any Transport over MPLS

Data Sheet: Any Transport over MPLS

White Paper: Cisco Any Transport over MPLS

Overview: Cisco Any Transport over MPLS

Layer 2 Tunnel Protocol Version 3 (L2TPv3) provides the ability to tunnel any Layer 2 payload over an IP core network using Layer 2 virtual private networks (L2VPNs).

Layer 2 Tunnel Protocol Feature Summary

Layer 2 Tunneling Protocol: A Feature in Cisco IOS Software

Layer 2 Tunnel Protocol Version 3 (L2TPv3) Feature Module

Unified VPN Suite


Standards

Standards 1
Title

draft-martini-l2circuit-trans-mpls-08.txt

Transport of Layer 2 Frames Over MPLS

draft-martini-l2circuit-encap-mpls-04.txt

Encapsulation Methods for Transport of Layer 2 Frames Over MPLS

1 Not all supported standards are listed.


MIBs 1
MIBs Link

ATM AAL5 over MPLS and ATM Cell Relay over MPLS:

MPLS LDP MIB (MPLS-LDP-MIB.my)

ATM MIB (ATM-MIB.my)

CISCO AAL5 MIB (CISCO-AAL5-MIB.my)

Cisco Enterprise ATM Extension MIB (CISCO-ATM-EXT-MIB.my)

Supplemental ATM Management Objects (CISCO-IETF-ATM2-PVCTRAP-MIB.my)

Interfaces MIB (IF-MIB.my)

Ethernet over MPLS

CISCO-ETHERLIKE-CAPABILITIES.my

Ethernet MIB (ETHERLIKE-MIB.my)

Interfaces MIB (IF-MIB.my)

MPLS LDP MIB (MPLS-LDP-MIB.my)

Frame Relay over MPLS

Cisco Frame Relay MIB (CISCO-FRAME-RELAY-MIB.my)

Interfaces MIB (IF-MIB.my)

MPLS LDP MIB (MPLS-LDP-MIB.my)

HDLC and PPP over MPLS

MPLS LDP MIB (MPLS-LDP-MIB.my)

Interface MIB (IF-MIB.my)

To obtain lists of supported MIBs by platform and Cisco IOS release, and to download MIB modules, go to the Cisco MIB website on Cisco.com at the following URL:

http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml

1 Not all supported MIBs are listed.


MIBs

To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL:

http://tools.cisco.com/ITDIT/MIBS/servlet/index

If Cisco  MIB Locator does not support the MIB information that you need, you can also obtain a list of supported MIBs and download MIBs from the Cisco  MIBs page at the following URL:

http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml

To access Cisco MIB Locator, you must have an account on Cisco.com. If you have forgotten or lost your account information, send a blank e-mail to cco-locksmith@cisco.com. An automatic check will verify that your e-mail address is registered with Cisco.com. If the check is successful, account details with a new random password will be e-mailed to you. Qualified users can establish an account on Cisco.com by following the directions found at this URL:

http://www.cisco.com/register

RFCs

RFCs 1
Title

RFC 3032

MPLS Label Stack Encoding

RFC 3036

LDP Specification

1 Not all supported RFC are listed.


Technical Assistance

Description
Link

Technical Assistance Center (TAC) home page, containing 30,000 pages of searchable technical content, including links to products, technologies, solutions, technical tips, and tools. Registered Cisco.com users can log in from this page to access even more content.

http://www.cisco.com/public/support/tac/home.shtml


Command Reference

This section documents new and modified commands. All other commands used with this feature are documented in the Cisco IOS Release 12.0 command reference publications.

New Commands

atm mcpt-timers

atm mode cell-relay

cell-packing

debug atm cell-packing

debug atm l2transport

debug mpls l2transport fast-reroute

encapsulation mpls

match fr-de

preferred-path

show atm cell-packing

switched-dlci

Modified Commands

atm pvp

show atm pvc

show atm vc

show atm vp

show mpls l2transport vc

atm mcpt-timers

To set up the cell-packing timers, which specify how long the provider edge (PE) router can wait for cells to be packed into a Multiprotocol Label Switching (MPLS) or Layer 2 Tunneling Protocol version 3 (L2TPv3) packet, use the atm mcpt-timers command in interface configuration mode. To disable the cell-packing timers, use the no form of this command.

atm mcpt-timers [timeout-1 timeout-2 timeout-3]

no atm mcpt-timers

Syntax Description

timeout

(Optional) Specifies the timeout values for three timers in microseconds. The timeout's default and range of acceptable values depends on the ATM link speed. See the "Usage Guidelines" section for more information.


Defaults

By default, the timers are not set. If you enable the cell-packing timers, the default values for the PA-A3 port adapters are:

OC-3: 30, 60, and 90 microseconds

T3: 100, 200, and 300 microseconds

E3: 130, 260, and 390 microseconds

Command Modes

Interface configuration

Command History

Release
Modification

12.0(25)S

This command was introduced.

12.0(29)S

Support for L2TPv3 sessions was added in Cisco IOS Release 12.0(29)S.


Usage Guidelines

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 Any Transport over MPLS (AToM) or L2TPv3 packet, the packet is sent anyway.

The timeout's range of acceptable values depends on the ATM link speed. For the PA-A3 port adapter, the range of values is:

OC-3: 30, 60, and 90 microseconds

T3: 100, 200, and 300 microseconds

E3: 130, 260, and 390 microseconds

Examples

The following example sets the MCPT timers to 10, 60, and 90 microseconds, respectively.

Router# interface atm 1/0
Router(config-if)# atm mcpt-timers 10 60 90

Related Commands

Command
Description

cell-packing

Enables ATM cell relay to pack multiple ATM cells into each MPLS or L2TPv3 packet.

debug atm cell-packing

Displays ATM cell relay cell packing debugging information.

show atm cell-packing

Displays information about the VCs and VPs that have ATM cell relay over MPLS or L2TPv3 cell packing enabled.


atm mode cell-relay

To enable the Cisco 12000 series router engine 2 8-port OC-3 STM-1 ATM line card to send and receive ATM packets as part of the ATM single cell relay over MPLS feature, use the atm mode cell-relay command in interface configuration mode. To disable the line card from having the ability to send and receive ATM packets, use the no form of the command.

atm mode cell-relay

no atm mode cell-relay

Syntax Description

This command has no arguments or keywords.

Defaults

By default, the line card does not have the ability to send and receive ATM packets as part of the ATM single cell relay over MPLS feature.

Command Modes

Interface configuration

Command History

Release
Modification

12.0(25)S

This command was introduced.


Usage Guidelines

When you configure the engine 2 8-port OC-3 STM-1 ATM line card on a port to perform ATM Single Cell Relay over MPLS, a corresponding port will also be reserved for this feature. If you configure ATM Single Cell Relay over MPLS on port 0, port 1 is also be reserved. The following list shows the ports that are reserved:

Ports 0 and 1

Ports 2 and 3

Ports 4 and 5

Ports 6 and 7

When you configure the engine 2 8-port OC-3 STM-1 ATM line card on a port to perform ATM Single Cell Relay over MPLS, you cannot configure other Layer 3 features on that port.

Examples

The following example shows how Cisco 12000 series router engine 2 8-port OC-3 STM-1 ATM line card is configured for ATM Single Cell Relay over MPLS.

Router(config)# interface atm1/0
Router(config-if)# atm mode cell-relay
Router(config-atm-vc)# pvc 1/100 l2transport
Router(config-atm-vc)# encapsulation aal0
Router(config-atm-vc)# xconnect 10.0.0.1 123 encapsulation mpls

Related Commands

Command
Description

show atm vc

Displays information about ATM PVCs and SVCs.


atm pvp

To create a permanent virtual path (PVP) used to multiplex (or bundle) one or more virtual circuits (VCs), use the atm pvp command in interface configuration mode. To remove a PVP, use the no form of this command.

atm pvp vpi [peak-rate] [l2transport]

no atm pvp vpi

Syntax Description

vpi

ATM network virtual path identifier (VPI) of the VC to multiplex on the permanent virtual path. The range is from 0 to 255. The VPI is an 8-bit field in the header of the ATM cell. The VPI value is unique only on a single link, not throughout the ATM network because it has local significance only. The VPI value must match that of the switch.

The number specified for the vpi argument must not already exist. If the number specified for the vpi argument is already being used by an existing VC, this command is rejected.

peak-rate

(Optional) Maximum rate in kbps at which the PVP can send data. The range is 84 kbps to line rate. The default is the line rate.

l2transport

(Optional) Specifies that the PVP is for the Any Transport over MPLS (AToM) ATM cell relay feature or the ATM Cell Relay over L2TPv3 feature.


Defaults

PVP is not configured.

The default peak rate is the line rate.

Command Modes

Interface configuration

Command History

Release
Modification

11.1

This command was introduced.

12.0(25)S

This command was updated to include the l2transport keyword.


Usage Guidelines

This command is commonly used to create a PVP that is used in multiplex circuit emulation service (CES) and data VCs.

The ATM-CES port adapter supports multiplexing of one or more VCs over a virtual path that is shaped at a constant bandwidth. For example, you can buy a virtual path service from an ATM service provider and multiplex both the CES and data traffic over the virtual path.

All subsequently created VCs with a vpi argument matching the vpi value specified with the atm pvp command are multiplexed onto this PVP. This PVP connection is an ATM connection where switching is performed on the VPI field of the cell only. A PVP is created and left up indefinitely. All VCs that are multiplexed over a PVP share and are controlled by the traffic parameters associated with the PVP.

Changing the peak-rate argument causes the ATM-CES port adapter to go down and then back up.

When you create a PVP, two VCs are created (VCI 3 and 4) by default. These VCs are created for VP end-to-end loopback and segment loopback operation, administration, and maintenance (OAM) support.

When you use the l2transport keyword with the atm pvp command, the command mode becomes the l2transport PVP submode. You must issue the l2transport keyword to configure the ATM cell relay over MPLS feature in port mode or to configure the ATM cell relay over L2TPv3 feature.

To verify the configuration of a PVP, use the show atm vp command in EXEC mode.

Examples

The following example creates a permanent virtual path with a peak rate of 2000 kbps. The subsequent VCs created are multiplexed onto this virtual path.

interface atm 6/0
 atm pvp 1 2000
 atm pvc 13 1 13 aal5snap
 exit
interface cbr 6/1
 ces circuit 0
 ces pvc 9 interface atm6/0 vpi 1 vci 100
 exit

The following example configures ATM Cell Relay over MPLS in port mode:

interface atm5/0
 atm pvp 1 l2transport
 xconnect 10.0.0.1 123 encapsulation mpls

The following example configures ATM Cell Relay over L2TPv3:

pw-class atm-xconnect
 encapsulation l2tpv3

interface atm 4/1/0
 atm pvp 5 l2transport
 xconnect 10.0.3.201 888 pw-class atm-xconnect

Related Commands

Command
Description

show atm vp

Displays the statistics for all VPs on an interface or for a specific VP.


cell-packing

To enable ATM over MPLS to pack multiple ATM cells into each MPLS packet, use the cell-packing command in ATM VC or VP configuration mode. To disable cell-packing, use the no form of this command.

cell-packing [cells] [mcpt-timer timer]

no cell-packing

Syntax Description

cells

(Optional) The number of cells to be packed into an MPLS packet.

The range is from 2 to the maximum transmission unit (MTU) of the interface divided by 52. The default number of ATM cells to be packed is the maximum transmission unit (MTU) of the interface divided by 52.

If the number of cells packed by the peer PE router exceeds this limit, the packet is dropped.

mcpt-timer timer

(Optional) Specifies which timer to use. The default is 1.


Defaults

Cell packing is disabled.

Command Modes

ATM VC or VP configuration

Command History

Release
Modification

12.0(25)S

This command was introduced.


Usage Guidelines

The cell-packing command is available only if you configure the ATM VC or VP with AAL0 encapsulation. If you specify AAL5 encapsulation, the command is not valid.

Only cells from the same VC or VP can be packed into one MPLS packet. Cells from different connections cannot be concantenated into the same MPLS packet.

When you change, enable, or disable the cell-packing attributes, the ATM VC or VP and the MPLS emulated VC are reestablished.

If a provider edge (PE) router does not support cell packing, the PE routers sends only one cell per MPLS packet.

The number of packed cells does not need to match between the PE routers. The two PE routers agree on the lower of the two values. For example, if PE1 is allowed to pack 10 cells per MPLS packet and PE2 is allowed to pack 20 cells per MPLS packet, the two PE routers would agree to send no more than 10 cells per packet.

If the number of cells packed by the peer PE router exceeds the limit, the packet is dropped.

If you issue the cell-packing command without first specifying the atm mcpt-timers command, you get the following error:

Please set mcpt values first

Examples

The following example shows cell packing enabled on an interface set up for VP mode. The cell-packing command specifies that 10 ATM cells be packed into each MPLS packet. The command also specifies that the second mcpt timer be used.


int atm 1/0
    atm mcpt-timer 1000 800 500
    atm pvp 100 l2transport
        xconnect 10.0.0.1 234 encapsulation mpls
        cell-packing 10 mcpt-timer 2

Related Commands

Command
Description

atm mcpt-timers

Creates cell-packing timers, which specify how long the PE router can wait for cells to be packed into an MPLS packet.

debug atm cell-packing

Displays ATM cell relay cell packing debugging information.

show atm cell-packing

Displays information about the VCs and VPs that have ATM Cell Relay over MPLS cell packing enabled.


debug atm cell-packing

To enable the display of ATM cell relay cell packing debugging information, use the debug atm cell-packing command in privileged EXEC mode. To disable the display of debugging information, use the no form of this command.

debug atm cell-packing

no debug atm cell-packing

Syntax Description

This command has no arguments or keywords.

Defaults

Debugging of the cell-packing feature is not enabled.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.0(25)S

This command was introduced.


Examples

The following example enables debugging for ATM VCs that have been configured with cell packing.

Router# debug atm cell-packing 

ATM Cell Packing debugging is on
00:09:04: ATM Cell Packing: vc 1/100 remote mncp 22 validated

The following example enables debugging for PVPs that have been configured with cell packing.

Router# debug atm cell-packing 

ATM Cell Packing debugging is on
00:12:33: ATM Cell Packing: vp 1 remote mncp 22 validated

The output indicates that the router received the MNCP information from the remote PE router.

Related Commands

Command
Description

atm mcpt-timers

Creates cell-packing timers, which specify how long the PE router can wait for cells to be packed into an MPLS packet.

show atm cell-packing

Displays information about the VCs and VPs that have ATM Cell Relay over MPLS cell packing enabled.

cell-packing

Enables ATM Cell Relay over MPLS to pack multiple ATM cells into each MPLS packet.


debug atm l2transport

To enable the display of debugging information related to ATM over MPLS, use the debug atm l2transport command in privileged EXEC mode. To disable the display of debugging information, use the no form of this command.

debug atm l2transport

no debug atm l2transport

Syntax Description

This command has no arguments or keywords.

Defaults

Debugging of ATM over MPLS is not enabled.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.0(25)S

This command was introduced.


Examples

The following example shows the events and messages when configuring ATM Cell Relay over MPLS in VP mode.

Router# debug atm l2transport

ATM L2transport Events and Errors debugging is on 

Router# show debug

ATM L2transport:
  ATM L2transport Events and Errors debugging is on 

Router(config-if)# atm pvp 24 l2transport
Router(cfg-if-atm-l2trans-pvp)#  xconnect 11.11.11.11 700 pw-class vp
Router(cfg-if-atm-l2trans-pvp)# end

00:14:51: ATM L2trans(ATM1/0): VP 24 is created      
00:14:51: ATM L2trans(ATM1/0): ckt_type 10, ckt_id 1000024 UP 
00:14:51: ATM L2trans(ATM1/0): VP 24, response is connect forwarded  

The following example shows the events and messages when deleting a PVP.


Router(config-if)# no atm pvp 24 l2transport

00:14:37: ATM L2trans(ATM1/0): ckt_type 10, ckt_id 1000024 DOWN
00:14:37: ATM L2trans(ATM1/0): ckt_type 10, ckt_id 1000024 DOWN
00:14:37: ATM L2trans(ATM1/0): remove xconnect circuit_type=10,
circuit_id=1000024
00:14:37: ATM L2trans(ATM1/0): ckt_type 10, ckt_id 1000024 DOWN

Related Commands

Command
Description

show mpls l2transport vc

Displays information about AToM circuits that have been enabled to route Layer 2 packets on a router.


debug mpls l2transport fast-reroute

To enable the display of Fast Reroute debugging information, use the debug mpls l2transport fast-reroute command in privileged EXEC mode. To stop the display of these messages, use the no form of this command.

debug mpls l2transport fast-reroute

no debug mpls l2transport fast-reroute

Syntax Description

This command has no arguments or keywords.

Defaults

Debugging of the fast reroute feature is not enabled.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.0(25)S

This command was introduced.


Usage Guidelines

This command does not display output on platforms where AToM Fast Reroute is implemented in the forwarding code. This command does not display output for the Cisco 7500 (both RP and VIP) series routers, 7200 series routers, and Cisco 12000 series route processor. The command does display output on Cisco 10720 Internet router line cards and Cisco 12000 series line cards.

Examples

In the following example, the primary link is disabled, which causes the backup tunnel (Tu1) to become the primary path.

Router# execute-on slot 3 debug mpls l2transport fast-reroute

========= Line Card (Slot 3) =========
AToM fast reroute debugging is on
SLOT 3:Sep 16 17:58:56.346: AToM SMGR: Processing TFIB FRR event for 1.4.0.1
SLOT 3:Sep 16 17:58:56.346: AToM SMGR: Finished processing TFIB FRR event for 1.4.0.1
SLOT 3:Sep 16 17:58:56.346: AToM SMGR: Processing TFIB FRR event for Tunnel41
SLOT 3:Sep 16 17:58:56.346: AToM SMGR: Finished processing TFIB FRR event for Tunnel41
Sep 16 17:58:58.342: %LINK-3-UPDOWN: Interface POS0/0, changed state to down
Sep 16 17:58:58.342: %OSPF-5-ADJCHG: Process 1, Nbr 1.0.0.1 on POS0/0 from FULL to DOWN, 
Neighbor Down: Interface down or detached
Sep 16 17:58:59.342: %LINEPROTO-5-UPDOWN: Line protocol on Interface POS0/0, changed state 
to down

Related Commands

Command
Description

show mpls traffic-eng fast-reroute database

Displays the contents of the Fast Reroute database.


encapsulation mpls

To specify that Multiprotocol Label Switching (MPLS) is used as the data encapsulation method for tunneling Layer 2 traffic over the pseudowire, use the encapsulation mpls command in pseudowire class configuration mode. To remove MPLS as the encapsulation method, use the no pseudowire-class command (see the Usage Guidelines for more information).

encapsulation mpls

no pseudowire-class

Syntax Description

This command has no arguments or keywords.

Defaults

No default behavior or values.

Command Modes

Pseudowire class configuration

Command History

Release
Modification

12.0(25)S

This command was introduced.

12.2(25)S

This command was integrated into Cisco IOS Release 12.2(25)S.

12.2(27)SBC

Support for this command was integrated into Cisco IOS Release 12.2(27)SBC.


Usage Guidelines

You must specify encapsulation mpls as part of the xconnect command or as part of a pseudowire class for the AToM VCs to work properly.

Once you specify the encapsulation mpls command, you cannot remove it using the no encapsulation mpls command. Nor can you change the command's setting using the encapsulation l2tpv3 command. Those methods result in the following error message:

Encapsulation changes are not allowed on an existing pw-class.  

To remove the command, you must delete the pseudowire with the no pseudowire-class command. To change the type of encapsulation, remove the pseudowire with the no pseudowire-class command and re-establish the pseudowire and specify the new encapsulation type.

Examples

The following example shows how to configure MPLS as the data encapsulation method for the pseudowire class ether-pw:

Router(config)# pseudowire-class ether-pw
Router(config-pw)# encapsulation mpls

Related Commands

Command
Description

encapsulation l2tpv3

Configures L2TPv3 as the data encapsulation method over IP networks.

pseudowire-class

Specifies the name of a pseudowire class and enters pseudowire class configuration mode.


match fr-de

To match packets with the Frame Relay discard eligibility bit set, use the match fr-de command in class-map configuration mode. To remove the match criteria, use the no form of this command.

match fr-de

no match fr-de

Syntax Description

This command has no keywords or arguments.

Defaults

This command has no default behavior or values.

Command Modes

Class-map configuration

Command History

Release
Modification

12.0(25)S

This command was introduced for the Cisco 7500 series router.


Usage Guidelines

For Cisco IOS Release 12.0(25)S, this command is supported on the Cisco 7500 series router only.

Examples

The following example creates a class called match-fr-de and matches packets with the FR DE bit set.

Router(config)# class-map match-fr-de
Router(config-cmap)# match fr-de
Router(config)# exit

Related Commands

Command
Description

set fr-de

Changes the DE bit setting in the address field of a Frame Relay frame to 1 for all traffic leaving an interface.


preferred-path

To specify the path that traffic uses (an MPLS TE tunnel or destination IP address/DNS name), use the preferred-path command in pseudowire submode configuration mode. To disable tunnel selection, use the no form of this command.

preferred-path [interface tunnel tunnel-number | peer ip-address | host-name] [disable-fallback]

no preferred-path [interface tunnel tunnel-number | peer ip-address | host-name] [disable-fallback]

Syntax Description

interface tunnel tunnel-number

Specifies an MPLS TE tunnel interface that is the core-facing output interface.

peer ip-address | host-name

Specifies an IP address or DNS name configured on the peer PE router, which is reachable through an LSP.

disable-fallback

Disables the router from using the default path when the preferred path is unreachable.


Defaults

Tunnel selection is not enabled.

Command Modes

Pseudowire submode configuration

Command History

Release
Modification

12.0(25)S

This command was introduced.


Usage Guidelines

The following guidelines provide more information about using this command:

The destination IP address can be different from peer router ID used in LDP. For example, a peer provider edge (PE) router can have multiple loopback IP addresses, which can be reached by different paths, such as a TE tunnel, static IP route or IGP route.

This command is available only if the pseudowire encapsulation type is MPLS.

Tunnel selection is enabled when you exit from pseudowire submode.

The selected path should be a label switched path (LSP) destined to the peer PE router.

The selected tunnel must be an MPLS traffic engineering tunnel.

If you select a tunnel, the tunnel tailend must be on the remote PE router.

If you specify an IP address, that address must be the IP address of the loopback interface on the remote PE. The address must have a /32 mask.

Examples

The following example creates a pseudowire class and specifies Tunnel1 as the preferred path:

Router(config)# pseudowire-class pw1
Router(config-pw)# encapsulation mpls
Router(config-pw)# preferred-path interface Tunnel1 disable-fallback

Related Commands

Command
Description

show mpls l2transport vc

Displays information about AToM VCs that have been enabled to route Layer 2 packets on a router.


remote circuit id

To use different VLAN IDs on each end of the MPLS tunnel for Ethernet over MPLS, use the remote circuit id command in xconnect configuration mode. To disable the VLAN ID rewrite functionality, use the no form of this command.

remote circuit id [remote-vlan-id]

no remote circuit id [remote-vlan-id]

Syntax Description

remote-vlan-id

Specifies the VLAN ID of the remote PE router.


Defaults

VLAN ID rewrite is not enabled.

Command Modes

xconnect configuration mode

Command History

Release
Modification

12.0(25)S

This command was introduced.


Usage Guidelines

The following guidelines provide more information about using this command:

You can use this command only with the Cisco 12000 series router Engine 2 3-port Gigabit Ethernet line card. See Configuring Ethernet over MPLS: VLAN ID Rewrite for more information about supported line cards and configurations.

Examples

The following example configures VLAN ID rewrite on a PE router:

interface GigabitEthernet3/0.2
 encapsulation dot1Q 3
 no ip directed-broadcast
 no cdp enable
 xconnect 3.3.3.3 2 encapsulation mpls
  remote circuit id 2

Related Commands

Command
Description

sh controllers eompls forwarding-table

Displays the configuration parameters for Ethernet over MPLS, including the VLAN ID of the remote PE router.


show atm cell-packing

To display information about the virtual circuits (VCs) and virtual paths (VPs) that have ATM Cell Relay cell packing enabled, use the show atm cell-packing command in EXEC mode.

show atm cell-packing

Syntax Description

This command has no arguments or keywords.

Command Modes

EXEC

Command History

Release
Modification

12.0(25)S

This command was introduced.


Usage Guidelines

The number of packed cells does not need to match between the provider edge (PE) routers. The two PE routers agree on the lower of the two values. For example, if PE1 is allowed to pack 10 cells per MPLS packet and PE2 is allowed to pack 20 cells per MPLS packet, the two PE routers would agree to send no more than 10 cells per packet.

Examples

The following show atm cell-packing command displays VCs and VPs that have cell packing enabled:

Router# show atm cell-packing

                        average                 average 
        circuit  local  nbr of cells    peer    nbr of cells    MCPT
        type     MNCP   rcvd in one pkt MNCP    sent in one pkt (us)
==============================================================================
atm 1/0 vc 1/200  20    15              30              20       60      

Table 6 describes the fields shown in the display.

Table 6 show atm cell-packing Field Descriptions 

Field
Description

Circuit type

Interface and VC or VP designators.

Local MNCP

Maximum number of cells packed (MNCP) on the local PE router.

Average nbr of cells rcvd in one pkt

Average number of cells that the PE router receives.

Peer MNCP

MNCP of the peer PE router.

Average nbr of cells sent in one pkt

Average number of cells that the PE router sends.

MCPT (us)

Maximum cell packing timeout (MCPT). This is the number of microseconds that the PE router allows for cell packing. If the specified number of cells does not get packed within the allowed time, the packet is sent anyway.


Related Commands

Command
Description

atm mcpt-timers

Creates cell-packing timers, which specify how long the provider edge (PE) router can wait for cells to be packed into a Multiprotocol Label Switching (MPLS) packet.

cell-packing

Enables ATM Cell Relay over MPLS to pack multiple ATM cells into each MPLS packet.

show atm cell-packing

Displays information about the virtual circuits (VCs) and virtual paths (VPs) that have ATM Cell Relay over MPLS cell packing enabled.


show atm pvc

To display all ATM permanent virtual circuits (PVCs) and traffic information, use the show atm pvc command in privileged EXEC mode.

show atm pvc [vpi/vci | name | interface atm interface-number] [ppp]

Syntax Description

vpi/vci

(Optional) The ATM virtual path identifier (VPI) and virtual channel identifier (VCI) numbers. The absence of the slash (/) and a vpi value defaults the vpi value to 0.

name

(Optional) Name of the PVC.

interface atm interface-number

(Optional) Interface number or subinterface number of the PVC. Displays all PVCs on the specified interface or subinterface.

The interface-number argument uses one of the following formats, depending on which router platform you are using:

For the ATM Interface Processor (AIP) on Cisco 7500 series routers; for the ATM port adapter, ATM-CES port adapter, and enhanced ATM port adapter on Cisco 7200 series routers; for the 1-port ATM-25 network module on Cisco 2600 and 3600 series routers: slot/0[.subinterface-number multipoint]

For the ATM port adapter and enhanced ATM port adapter on Cisco 7500 series routers: slot/port-adapter/0[.subinterface-number multipoint]

For the NPM on Cisco 4500 and 4700 routers: number[.subinterface-number multipoint]

For a description of these arguments, refer to the interface atm command.

ppp

(Optional) Displays each PVC configured for PPP over ATM.


Command Modes

Privileged EXEC

Command History

Release
Modification

11.3T

This command was introduced.

12.1(1)T

This command was modified to display PPPoE status.

12.0(23)S

This command was modified to display OAM cell emulation status for Any Transport over MPLS (AToM).

12.2(14)S

This command was integrated into Cisco IOS Release 12.2(14)S.

12.2(15)T

This command was integrated into Cisco IOS Release 12.2(15)T.

12.0(25)S

This command was modified to display ATM Cell Relay cell-packing information for AToM.


Usage Guidelines

If the vpi/vci or name argument is not specified, the output of this command is the same as that of the show atm vc command, but only the configured PVCs are displayed. See the first sample output in the "Examples" section.

If the vpi/vci or name argument is specified, the output of this command is the same as the show atm vc vcd command, with extra information related to PVC management including connection name, detailed states, and Operation, Administration, and Maintenance (OAM) counters. See the second and third sample output in the "Examples" section.

If the interface atm interface-number option is included in the command, all PVCs under that interface or subinterface are displayed. See the third sample output in the "Examples" section.

Examples

The following is sample output from the show atm pvc command:

Router# show atm pvc

           VCD/                                 Peak      Avg/Min   Burst
Interface  Name   VPI   VCI   Type   Encaps      Kbps         Kbps   Cells      Sts
2/0        1        0     5    PVC     SAAL    155000       155000               UP
2/0        2        0    16    PVC     ILMI    155000       155000               UP
2/0.2      101      0    50    PVC     SNAP    155000       155000               UP
2/0.2      102      0    60    PVC     SNAP    155000       155000             DOWN
2/0.2      104      0    80    PVC     SNAP    155000       155000               UP
2/0        hello    0    99    PVC     SNAP      1000                            UP

The following is sample output from the show atm pvc command with the vpi/vci argument specified:

Router# show atm pvc 0/41

ATM2/0: VCD: 3, VPI: 0, VCI: 41
UBR, PeakRate: 155000
AAL5-LLC/SNAP, etype:0x0, Flags: 0xC20, VCmode: 0x0
OAM frequency: 0 second(s), OAM retry frequency: 1 second(s), OAM retry frequency: 1 
second(s)
OAM up retry count: 3, OAM down retry count: 5
OAM Loopback status: OAM Disabled
OAM VC state: Not Managed
ILMI VC state: Not Managed
InARP frequency: 15 minutes(s)
InPkts: 31759, OutPkts: 26497, InBytes: 2356434, OutBytes: 1589743
InPRoc: 15785, OutPRoc: 26472, Broadcasts: 0
InFast: 20, OutFast: 20, InAS: 15954, OutAS: 6
OAM cells received: 0
F5 InEndloop: 0, F5 InSegloop: 0, F5 InAIS: 0, F5 InRDI: 0
F4 InEndloop: 0, F4 InSegloop: 0, F4 InAIS: 0, F4 InRDI: 0
OAM cells sent: 0
F5 OutEndloop: 0, F5 OutSegloop: 0, F5 OutRDI: 0
F4 OutEndloop: 0, F4 OutSegloop: 0, F4 OutRDI: 0
OAM cell drops: 0
Status: UP
PPPOE enabled.

The following sample output from the show atm pvc command displays OAM cell emulation statistics, which are marked by exclamation points:

router# show atm pvc 5/500

ATM4/1/0.200: VCD: 6, VPI: 5, VCI: 500                    
UBR, PeakRate: 1                                         
AAL5-LLC/SNAP, etype:0x0, Flags: 0x34000C20, VCmode: 0x0 
OAM Cell Emulation: enabled, F5 End2end AIS Xmit frequency: 1 second(s) !!!
OAM frequency: 0 second(s), OAM retry frequency: 1 second(s)
OAM up retry count: 3, OAM down retry count: 5
OAM Loopback status: OAM Disabled
OAM VC state: Not ManagedVerified
ILMI VC state: Not Managed
InPkts: 564, OutPkts: 560, InBytes: 19792, OutBytes: 19680
InPRoc: 0, OutPRoc: 0
InFast: 4, OutFast: 0, InAS: 560, OutAS: 560
InPktDrops: 0, OutPktDrops: 0
CrcErrors: 0, SarTimeOuts: 0, OverSizedSDUs: 0
Out CLP=1 Pkts: 0
OAM cells received: 26
F5 InEndloop: 0, F5 InSegloop: 0, F5 InAIS: 0, F5 InRDI: 26
OAM cells sent: 77
F5 OutEndloop: 0, F5 OutSegloop: 0, F5 OutAIS: 77, F5 OutRDI: 0  !!!
OAM cell drops: 0
Status: UP

The following is sample output from the show atm pvc command with the ATM subinterface specified:

Router# show atm pvc interface atm 2/0.2

           VCD/                                 Peak      Avg/Min   Burst
Interface  Name   VPI   VCI   Type   Encaps     Kbps         Kbps   Cells       Sts
2/0.2      101     0    50    PVC      SNAP   155000       155000                UP
2/0.2      102     0    60    PVC      SNAP   155000       155000              DOWN
2/0.2      104     0    80    PVC      SNAP   155000       155000                UP

The following sample output shows ATM cell relay cell-packing information:

Router# show atm pvc 23/100

ATM3/0: VCD: 7, VPI: 23, VCI: 100
UBR, PeakRate: 149760
AAL0-Cell Relay, etype:0x10, Flags: 0x10000C2D, VCmode: 0x0
OAM Cell Emulation: not configured
InBytes: 0, OutBytes: 0
Local MNCP: 5, average number of cells received: 0 
Peer MNCP: 1, average number of cells sent: 0 
Local MCPT: 100 us 
Status: UP

Table 7 describes significant fields shown in the displays.

 

Table 7 show atm pvc Field Descriptions 

Field
Description

Interface

Interface and subinterface slot and port.

VCD/Name

Virtual connection descriptor (virtual connection number). The connection name is displayed if a name for the VC was configured using the pvc command.

VPI

Virtual path identifier.

VCI

Virtual channel identifier.

Type

Type of PVC detected from PVC discovery, either PVC-D, PVC-L, or PVC-M:

PVC-D indicates a PVC created due to PVC discovery.

PVC-L indicates that the corresponding peer of this PVC could not be found on the switch.

PVC-M indicates that some or all of the QoS parameters of this PVC mismatch that of the corresponding peer on the switch.

Encaps

Type of ATM adaptation layer (AAL) and encapsulation.

Peak
or
PeakRate

Kilobits per second sent at the peak rate.

Avg/Min
or
Average Rate

Kilobits per second sent at the average rate.

Burst Cells

Value that equals the maximum number of ATM cells the VC can send at peak rate.

Sts or Status

Status of the VC connection:

UP indicates that the connection is enabled for data traffic.

DOWN indicates that the connection is not ready for data traffic. When the Status field is DOWN, a State field is shown. See a description of the different values for this field listed later in this table.

INACTIVE indicates that the interface is down.

Connection Name

The name of the PVC.

UBR, UBR+, or VBR-NRT

UBR—Unspecified bit rate QoS is specified for this PVC. See the ubr command for further information.

UBR+—Unspecified bit rate QoS is specified for this PVC. See the ubr+ command for further information.

VBR-NRT—Variable bit rate—Non real-time QoS rates are specified for this PVC. See the vbr-nrt command for further information.

etype

Encapsulation type.

Flags

Bit mask describing VC information. The flag values are summed to result in the displayed value:

0x20—PVC

0x40—SVC

0x0—AAL5-SNAP

0x1—AAL5-NLPID

0x2—AAL5-FRNLPID

0x3—AAL5-MUX

0x4—AAL3/4-SMDS

0x5—QSAAL

0x6—ILMI

0x7—AAL5-LANE

0x9—AAL5-CISCOPPP

0x10—ACTIVE

virtual-access

Virtual access interface identifier.

virtual-template

Virtual template identifier.

VCmode

AIP-specific or NPM-specific register describing the usage of the VC. This register contains values such as rate queue, peak rate, and AAL mode, which are also displayed in other fields.

OAM Cell emulation

The status of the OAM cell emulation functionality. It is either enabled or disabled.

F5 end2end AIS xmit frequency

Number of seconds between sending AIS cells.

OAM frequency

Number of seconds between sending OAM loopback cells.

OAM retry frequency

The frequency (in seconds) that end-to-end F5 loopback cells should be sent 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 value of the frequency argument (in seconds) specified using the oam-pvc command, then loopback cells are sent at the value of the retry-frequency argument to verify whether the PVC is down.

OAM up retry count

Number of consecutive end-to-end F5 OAM loopback cell responses that must be received in order to change a PVC state to up. Does not apply to SVCs.

OAM down retry count

Number of consecutive end-to-end F5 OAM loopback cell responses that are not received in order to change a PVC state to down or tear down an SVC.

OAM Loopback status

Status of end-to-end F5 OAM loopback cell generation for this VC. This field will have one of the following values:

OAM Disabled—End-to-end F5 OAM loopback cell generation is disabled.

OAM Sent—OAM cell was sent.

OAM Received—OAM cell was received.

OAM Failed—OAM reply was not received within the frequency period or contained bad correlation tag.ssss.

OAM VC state

This field will have one of the following states for this VC:

AIS/RDI—The VC received AIS/RDI cells. End-to-end F5 OAM loopback cells are not sent in this state.

AIS Out — The VC is sending out AIS cells. OAM loopback cells and replies are not sent in this state. Incoming AIS cells are replied with RDI cells, but the state does not change.

Down Retry—An OAM loopback failed. End-to-end F5 OAM loopback cells are sent at retry frequency to verify that the VC is really down. After down-count unsuccessful retries, the VC goes to the Not Verified state.

Not Managed—VC is not being managed by OAM.

Not Verified—VC has not been verified by end-to-end F5 OAM loopback cells. AIS and RDI conditions are cleared.

Up Retry—An OAM loopback was successful. End-to-end F5 OAM loopback cells are sent at retry frequency to verify the VC is really up. After up-count successive and successful loopback retries, the VC goes to the Verified state.

Verified—Loopbacks are successful. AIS/RDI cell was not received.

ILMI VC state

This field will have one of the following states for this VC:

Not Managed—VC is not being managed by ILMI.

Not Verified—VC has not been verified by ILMI.

Verified—VC has been verified by ILMI.

VC is managed by OAM/ILMI

VC is managed by OAM or ILMI.

InARP frequency

Number of minutes for the Inverse Address Resolution Protocol (IARP) time period.

InPkts

Total number of packets received on this VC. This number includes all fast-switched and process-switched packets.

OutPkts

Total number of packets sent on this VC. This number includes all fast-switched and process-switched packets.

InBytes

Total number of bytes received on this VC. This number includes all fast-switched and process-switched bytes.

OutBytes

Total number of bytes sent on this VC. This number includes all fast-switched and process-switched bytes.

InPRoc

Number of process-switched input packets.

OutPRoc

Number of process-switched output packets.

Broadcasts

Number of process-switched broadcast packets.

InFast

Number of fast-switched input packets.

OutFast

Number of fast-switched output packets.

InAS

Number of autonomous-switched or silicon-switched input packets.

OutAS

Number of autonomous-switched or silicon-switched output packets.

OAM cells received

Total number of OAM cells received on this VC.

F5 InEndloop

Number of end-to-end F5 OAM loopback cells received.

F5 InSegloop

Number of segment F5 OAM loopback cells received.

F5 InAIS

Number of F5 OAM AIS cells received.

F5 InRDI

Number of F5 OAM RDI cells received.

F4 InEndloop

Number of end-to-end F4 OAM loopback cells received.

F4 InSegloop

Number of segment F4 OAM loopback cells received.

F4 InAIS

Number of F4 OAM AIS cells received.

F4 InRDI

Number of F4 OAM RDI cells received.

OAM cells sent

Total number of OAM cells sent on this VC.

F5 OutEndloop

Number of end-to-end F5 OAM loopback cells sent.

F5 OutSegloop

Number of segment F5 OAM loopback cells sent.

F5 OutAIS

Number of F5 OAM AIS cells sent.

F5 OutRDI

Number of F5 OAM RDI cells sent.

OAM cell drops

Number of OAM cells dropped (or flushed).

PVC Discovery

NOT_VERIFIED—This PVC is manually configured on the router and not yet verified with the attached adjacent switch.

WELL_KNOWN—This PVC has a VCI value of 0 through 31.

DISCOVERED—This PVC is learned from the attached adjacent switch via ILMI.

MIXED—Some of the traffic parameters for this PVC were learned from the switch via ILMI.

MATCHED—This PVC is manually configured on the router, and the local traffic shaping parameters match the parameters learned from the switch.

MISMATCHED—This PVC is manually configured on the router, and the local traffic shaping parameters do not match the parameters learned from the switch.

LOCAL_ONLY—This PVC is configured locally on the router and not on the remote switch.

Status

When the Status field indicates UP, the VC is established. When the Status field indicates DOWN, refer to the State field for further information about the VC state.

State

When the Status field is UP, this field does not appear. When the Status field is DOWN or INACTIVE, the State field will appear with one of the following values:

NOT_VERIFIED—The VC has been established successfully; waiting for OAM (if enabled) and ILMI (if enabled) to verify that the VC is up.

NOT_EXIST—VC has not been created.

HASHING_IN—VC has been hashed into a hash table.

ESTABLISHING—Ready to establish VC connection.

MODIFYING—VC parameters have been modified.

DELETING—VC is being deleted.

DELETED—VC has been deleted.

NOT_IN_SERVICE—ATM interface is shut down.

PPP:

For PPP over ATM, indicates the virtual access interface number and virtual template number being used.

Local MNCP

Maximum number of cells packed (MNCP) on the local PE router.

Average nbr of cells recvd

Average number of cells that the PE router receives.

Peer MNCP

MNCP of the peer PE router.

Average nbr of cells sent

Average number of cells that the PE router sends.

Local MCPT (us)

Maximum cell packing timeout (MCPT) on the local PE router. This is the number of microseconds that the PE router allows for cell packing. If the specified number of cells does not get packed within the allowed time, the packet is sent anyway.


show atm vc

To display all ATM permanent virtual circuits (PVCs) and switched virtual circuits (SVCs) and traffic information, use the show atm vc command in privileged EXEC mode.

show atm vc [vcd | interface interface-number]

Syntax Description

vcd

(Optional) Specifies which virtual circuit about which to display information.

interface interface-number

(Optional) Interface number or subinterface number of the PVC or SVC. Displays all PVCs and SVCs on the specified interface or subinterface.

The interface-number uses one of the following formats, depending on what router platform you are using:

For the ATM Interface Processor (AIP) on Cisco 7500 series routers; For the ATM port adapter, ATM-CES port adapter, and enhanced ATM port adapter on Cisco 7200 series routers; For the 1-port ATM-25 network module on Cisco 2600 and 3600 series routers: slot/0[.subinterface-number multipoint]

For the ATM port adapter and enhanced ATM port adapter on Cisco 7500 series routers: slot/port-adapter/0[.subinterface-number multipoint]

For the network processing module (NPM) on Cisco 4500 and 4700 routers: number[.subinterface-number multipoint]

For a description of these arguments, refer to the interface atm command.


Command Modes

Privileged EXEC

Command History

Release
Modification

10.0

This command was introduced.

11.1 CA

Information about VCs on an ATM-CES port adapter was added to the command output.

12.0(5)T

Information about VCs on an extended Multiprotocol Label Switching (MPLS) ATM interface was added to the command output.

12.0(25)S

The command output changed to show cell-packing statistics for the Any Transport over MPLS (AToM) ATM cell-packing feature.


Usage Guidelines

If no vcd value is specified, the command displays information for all PVCs and SVCs. The output is in summary form (one line per virtual circuit).

VCs on the extended MPLS ATM interfaces do not appear in the show atm vc command output. Instead, the show xtagatm vc command provides a similar output which shows information only on extended MPLS ATM VCs.

Examples

The following is sample output from the show atm vc command when no vcd value is specified. The status field is either ACTIVE or INACTIVE.

Router# show atm vc

Interface     VCD   VPI   VCI Type  AAL/Encaps     Peak   Avg.  Burst Status
ATM2/0          1     0     5  PVC  AAL5-SAAL     155000 155000    93 ACTIVE
ATM2/0.4        3     0    32  SVC  AAL5-SNAP     155000 155000    93 ACTIVE
ATM2/0.65432   10    10    10  PVC  AAL5-SNAP     100000  40000    10 ACTIVE
ATM2/0         99     0    16  PVC  AAL5-ILMI     155000 155000    93 ACTIVE
ATM2/0.105    250    33    44  PVC  AAL5-SNAP     155000 155000    93 ACTIVE
ATM2/0.100    300    22    33  PVC  AAL5-SNAP     155000 155000    93 ACTIVE
ATM2/0.12345 2047   255 65535  PVC  AAL5-SNAP         56     28  2047 ACTIVE

The following is sample output from the show atm vc command when a vcd value is specified for a circuit emulation service (CES) circuit:

Router# show atm vc 2

ATM6/0: VCD: 2, VPI: 10, VCI: 10
PeakRate: 2310, Average Rate: 2310, Burst Cells: 94
CES-AAL1, etype:0x0, Flags: 0x20138, VCmode: 0x0
OAM DISABLED
InARP DISABLED
OAM cells received: 0
OAM cells sent: 334272
Status: ACTIVE

The following is sample output from the show atm vc command when a vcd value is specified, displaying statistics for that virtual circuit only:

Router# show atm vc 8

ATM4/0: VCD: 8, VPI: 8, VCI: 8
PeakRate: 155000, Average Rate: 155000, Burst Cells: 0
AAL5-LLC/SNAP, etype:0x0, Flags: 0x30, VCmode: 0xE000
OAM frequency: 0 second(s)
InARP frequency: 1 minute(s)
InPkts: 181061, OutPkts: 570499, InBytes: 757314267, OutBytes: 2137187609
InPRoc: 181011, OutPRoc: 10, Broadcasts: 570459
InFast: 39, OutFast: 36, InAS: 11, OutAS: 6
OAM cells received: 0
OAM cells sent: 0
Status: UP

The following is sample output from the show atm vc command when a vcd value is specified, AAL3/4 is enabled, an ATM SMDS subinterface has been defined, and a range of message identifier numbers (MIDs) has been assigned to the PVC:

Router# show atm vc 1

ATM4/0.1: VCD: 1, VPI: 0, VCI: 1
PeakRate: 0, Average Rate: 0, Burst Cells: 0
AAL3/4-SMDS, etype:0x1, Flags: 0x35, VCmode: 0xE200
MID start: 1, MID end: 16
InPkts: 0, OutPkts: 0, InBytes: 0, OutBytes: 0
InPRoc: 0, OutPRoc: 0, Broadcasts: 0
InFast: 0, OutFast: 0, InAS: 0, OutAS: 0

The following is sample output from the show atm vc command when a vcd value is specified and generation of Operation, Administration, and Maintenance (OAM) F5 loopback cells has been enabled.

Router# show atm vc 7

ATM4/0: VCD: 7, VPI: 7, VCI: 7 
PeakRate: 0, Average Rate: 0, Burst Cells: 0
AAL5-LLC/SNAP, etype:0x0, Flags: 0x30, VCmode: 0xE000
OAM frequency: 10 second(s)
InARP DISABLED
InPkts: 0, OutPkts: 0, InBytes: 0, OutBytes: 0
InPRoc: 0, OutPRoc: 0, Broadcasts: 0
InFast:0, OutFast:0, InAS:0, OutAS:0
OAM cells received: 0
OAM cells sent: 1
Status: UP

The following is sample output from the show atm vc command when a vcd value is specified, and there is an incoming multipoint virtual circuit.

Router# show atm vc 3

ATM2/0: VCD: 3, VPI: 0, VCI: 33
PeakRate: 0, Average Rate: 0, Burst Cells: 0
AAL5-MUX, etype:0x809B, Flags: 0x53, VCmode: 0xE000
OAM DISABLED
InARP DISABLED
InPkts: 6646, OutPkts: 0, InBytes: 153078, OutBytes: 0
InPRoc: 6646, OutPRoc: 0, Broadcasts: 0
InFast: 0, OutFast: 0, InAS: 0, OutAS: 0
interface =  ATM2/0, call remotely initiated, call reference = 18082
vcnum = 3, vpi = 0, vci = 33, state = Active
 aal5mux vc, multipoint call
Retry count: Current = 0, Max = 10
timer currently inactive, timer value = never
Root Atm Nsap address: DE.CDEF.01.234567.890A.BCDE.F012.3456.7890.1234.12

The following is sample output from the show atm vc command when a vcd value is specified, and there is an outgoing multipoint virtual circuit:

Router# show atm vc 6

ATM2/0: VCD: 6, VPI: 0, VCI: 35
PeakRate: 0, Average Rate: 0, Burst Cells: 0
AAL5-MUX, etype:0x800, Flags: 0x53, VCmode: 0xE000
OAM DISABLED
InARP DISABLED
InPkts: 0, OutPkts: 818, InBytes: 0, OutBytes: 37628
InPRoc: 0, OutPRoc: 0, Broadcasts: 818
InFast: 0, OutFast: 0, InAS: 0, OutAS: 0
interface =  ATM2/0, call locally initiated, call reference = 3
vcnum = 6, vpi = 0, vci = 35, state = Active
 aal5mux vc, multipoint call
Retry count: Current = 0, Max = 10
timer currently inactive, timer value = never
Leaf Atm Nsap address: DE.CDEF.01.234567.890A.BCDE.F012.3456.7890.1234.12
Leaf Atm Nsap address: CD.CDEF.01.234567.890A.BCDE.F012.3456.7890.1234.12

The following is sample output from the show atm vc command when a vcd value is specified and there is a PPP-over-ATM connection:

Router# show atm vc 1

ATM8/0.1: VCD: 1, VPI: 41, VCI: 41
PeakRate: 155000, Average Rate: 155000, Burst Cells: 96
AAL5-CISCOPPP, etype:0x9, Flags: 0xC38, VCmode: 0xE000
virtual-access: 1, virtual-template: 1
OAM DISABLED
InARP DISABLED
InPkts: 13, OutPkts: 10, InBytes: 198, OutBytes: 156
InPRoc: 13, OutPRoc: 10, Broadcasts: 0
InFast: 0, OutFast: 0, InAS: 0, OutAS: 0
OAM cells received: 0
OAM cells sent: 0

The following is sample output from the show atm vc command for IP multicast virtual circuits. The display shows the leaf count for multipoint VCs opened by the root. VCD 3 is a root of a multipoint VC with three leaf routers. VCD 4 is a leaf of some other router's multipoint VC. VCD 12 is a root of a multipoint VC with only one leaf router.

Router# show atm vc

            VCD/                                Peak     Avg/Min     Burst
Interface   Name  VPI   VCI   Type     Encaps      Kbps    Kbps      Cells         Sts
0/0         1       0     5    PVC      SAAL     155000  155000       96           UP
0/0         2       0    16    PVC      ILMI     155000  155000       96           UP
0/0         3       0   124 MSVC-3      SNAP     155000  155000       96           UP
0/0         4       0   125   MSVC      SNAP     155000  155000       96           UP
0/0         5       0   126   MSVC      SNAP     155000  155000       96           UP
0/0         6       0   127   MSVC      SNAP     155000  155000       96           UP
0/0         9       0   130   MSVC      SNAP     155000  155000       96           UP
0/0         10      0   131    SVC      SNAP     155000  155000       96           UP
0/0         11      0   132 MSVC-3      SNAP     155000  155000       96           UP
0/0         12      0   133 MSVC-1      SNAP     155000  155000       96           UP
0/0         13      0   134    SVC      SNAP     155000  155000       96           UP
0/0         14      0   135 MSVC-2      SNAP     155000  155000       96           UP
0/0         15      0   136 MSVC-2      SNAP     155000  155000       96           UP

The following is sample output from the show atm vc command for an IP multicast virtual circuit. The display shows the owner of the VC and leafs of the multipoint VC. This VC was opened by IP multicast and the three leaf routers' ATM addresses are included in the display. The VC is associated with IP group address 10.1.1.1.

Router# show atm vc 11

ATM0/0: VCD: 11, VPI: 0, VCI: 132
PeakRate: 155000, Average Rate: 155000, Burst Cells: 96
AAL5-LLC/SNAP, etype:0x0, Flags: 0x650, VCmode: 0xE000
OAM DISABLED
InARP DISABLED
InPkts: 0, OutPkts: 12, InBytes: 0, OutBytes: 496
InPRoc: 0, OutPRoc: 0, Broadcasts: 12
InFast: 0, OutFast: 0, InAS: 0, OutAS: 0
OAM cells received: 0
OAM cells sent: 0
Status: ACTIVE, TTL: 2, VC owner: IP Multicast (10.1.1.1)                <<<
interface =  ATM0/0, call locally initiated, call reference = 2
vcnum = 11, vpi = 0, vci = 132, state = Active
 aal5snap vc, multipoint call
Retry count: Current = 0, Max = 10
timer currently inactive, timer value = 00:00:00
Leaf Atm Nsap address: 47.0091810000000002BA08E101.444444444444.02       <<<
Leaf Atm Nsap address: 47.0091810000000002BA08E101.333333333333.02       <<<
Leaf Atm Nsap address: 47.0091810000000002BA08E101.222222222222.02       <<<

The following is sample output from the show atm vc command where no VCD is specified and private VCs are present.

Router# show atm vc

AAL /         Peak   Avg.  Burst       
Interface     VCD   VPI   VCI Type  Encapsulation  Kbps   Kbps  Cells Status
ATM1/0          1     0    40  PVC  AAL5-SNAP          0      0     0 ACTIVE  
ATM1/0          2     0    41  PVC  AAL5-SNAP          0      0     0 ACTIVE  
ATM1/0          3     0    42  PVC  AAL5-SNAP          0      0     0 ACTIVE  
ATM1/0          4     0    43  PVC  AAL5-SNAP          0      0     0 ACTIVE  
ATM1/0          5     0    44  PVC  AAL5-SNAP          0      0     0 ACTIVE  
ATM1/0         15     1    32  PVC  AAL5-XTAGATM       0      0     0 ACTIVE  
ATM1/0         17     1    34  TVC  AAL5-XTAGATM       0      0     0 ACTIVE  
ATM1/0         26     1    43  TVC  AAL5-XTAGATM       0      0     0 ACTIVE  
ATM1/0         28     1    45  TVC  AAL5-XTAGATM       0      0     0 ACTIVE  
ATM1/0         29     1    46  TVC  AAL5-XTAGATM       0      0     0 ACTIVE  
ATM1/0         33     1    50  TVC  AAL5-XTAGATM       0      0     0 ACTIVE 

When you specify a VCD value and the VCD corresponds to that of a private VC on a control interface, the display output appears as follows:

Router# show atm vc 15

ATM1/0 33     1    50  TVC  AAL5-XTAGATM       0      0     0 ACTIVE 
ATM1/0: VCD: 15, VPI: 1, VCI: 32, etype:0x8, AAL5 - XTAGATM, Flags: 0xD38
PeakRate: 0, Average Rate: 0, Burst Cells: 0, VCmode: 0x0 
XTagATM1, VCD: 1, VPI: 0, VCI: 32 
OAM DISABLED, InARP DISABLED 
InPkts: 38811, OutPkts: 38813, InBytes: 2911240, OutBytes: 2968834 
InPRoc: 0, OutPRoc: 0, Broadcasts: 0 
InFast: 0, OutFast: 0, InAS: 0, OutAS: 0 
OAM F5 cells sent: 0, OAM cells received: 0 
Status: ACTIVE

The following is sample output from the show atm vc command when cell packing has been enabled on the interface:

Router# show atm vc 7

ATM3/0: VCD: 7, VPI: 23, VCI: 100
UBR, PeakRate: 149760
AAL0-Cell Relay, etype:0x10, Flags: 0x10000C2D, VCmode: 0x0
OAM Cell Emulation: not configured
InBytes: 0, OutBytes: 0
Local MNCP: 5, average number of cells received: 0
Peer MNCP: 1, average number of cells sent: 0
Local MCPT: 100 us
Status: UP

Table 8 describes the fields shown in the displays.

Table 8 show atm vc Field Descriptions 

Field
Description

Interface

Interface slot and port.

VCD/Name

Virtual circuit descriptor (virtual circuit number). The connection name is displayed if the VC was configured using the pvc command and the name was specified.

VPI

Virtual path identifier.

VCI

Virtual channel identifier.

Type

Type of virtual circuit, either PVC, SVC, or multipoint SVC (MSVC).

MSVC (with no -x ) indicates that VCD is a leaf of some other router's multipoint VC.

MSVC-x indicates there are x leaf routers for that multipoint VC opened by the root.

Type of PVC detected from PVC discovery, either PVC-D, PVC-L, or PVC-M.

PVC-D indicates a PVC created due to PVC discovery.

PVC-L indicates that the corresponding peer of this PVC could not be found on the switch.

PVC-M indicates that some or all of the QoS parameters of this PVC mismatch that of the corresponding peer on the switch.

Encaps

Type of ATM adaptation layer (AAL) and encapsulation.

PeakRate

Kilobits per second transmitted at the peak rate.

Average Rate

Kilobits per second transmitted at the average rate.

Burst Cells

Value that equals the maximum number of ATM cells the virtual circuit can send at peak rate.

Status

Status of the VC connection.

UP indicates that the connection is enabled for data traffic.

DOWN indicates that the connection is not ready for data traffic. When the Status field is DOWN, a State field is shown. See a description of the different values for this field listed later in this table.

INACTIVE indicates that the interface is down.

etype

Encapsulation type.

Flags

Bit mask describing virtual circuit information. The flag values are summed to result in the displayed value.

0x10000 ABR VC
0x20000 CES VC
0x40000 TVC
0x100 TEMP (automatically created)
0x200 MULTIPOINT
0x400 DEFAULT_RATE
0x800 DEFAULT_BURST
0x10 ACTIVE
0x20 PVC
0x40 SVC
0x0 AAL5-SNAP
0x1 AAL5-NLPID
0x2 AAL5-FRNLPID
0x3 AAL5-MUX
0x4 AAL3/4-SMDS
0x5 QSAAL
0x6 AAL5-ILMI
0x7 AAL5-LANE
0x8 AAL5-XTAGATM
0x9 CES-AAL1
0xA F4-OAM

VCmode

AIP-specific or NPM-specific register describing the usage of the virtual circuit. This register contains values such as rate queue, peak rate, and AAL mode, which are also displayed in other fields.

OAM frequency

Seconds between OAM loopback messages, or DISABLED if OAM is not in use on this VC.

InARP frequency

Minutes between InARP messages, or DISABLED if InARP is not in use on this VC.

virtual-access

Virtual access interface identifier.

virtual-template

Virtual template identifier.

InPkts

Total number of packets received on this virtual circuit. This number includes all fast-switched and process-switched packets.

OutPkts

Total number of packets sent on this virtual circuit. This number includes all fast-switched and process-switched packets.

InBytes

Total number of bytes received on this virtual circuit. This number includes all fast-switched and process-switched packets.

OutBytes

Total number of bytes sent on this virtual circuit. This number includes all fast-switched and process-switched packets.

InPRoc

Number of process-switched input packets.

OutPRoc

Number of process-switched output packets.

Broadcast

Number of process-switched broadcast packets.

InFast

Number of fast-switched input packets.

OutFast

Number of fast-switched output packets.

InAS

Number of autonomous-switched or silicon-switched input packets.

OutAS

Number of autonomous-switched or silicon-switched output packets.

OAM cells received

Number of OAM cells received on this virtual circuit.

OAM cells sent

Number of OAM cells sent on this virtual circuit.

TTL

Time-to-live in ATM hops across the VC.

VC owner

IP Multicast address of group.

Local MNCP

Maximum number of cells packed (MNCP) on the local PE router.

Average nbr of cells recvd

Average number of cells that the PE router receives.

Peer MNCP

MNCP of the peer PE router.

Average nbr of cells sent

Average number of cells that the PE router sends.

Local MCPT (us)

Maximum cell packing timeout (MCPT) on the local PE router. This is the number of microseconds that the PE router allows for cell packing. If the specified number of cells does not get packed within the allowed time, the packet is sent anyway.


Related Commands

Command
Description

atm nsap-address

Sets the NSAP address for an ATM interface using SVC mode.


show atm vp

To display the statistics for all virtual paths (VPs) on an interface or for a specific VP, use the show atm vp command in privileged EXEC mode.

show atm vp [vpi]

Syntax Description

vpi

(Optional) ATM network virtual path identifier (VPI) of the permanent virtual path. The range is 0 to 255. The VPI is an 8-bit field in the header of the ATM cell.


Command Modes

Privileged EXEC

Command History

Release
Modification

11.1

This command was introduced.

12.0(25)S

The command output changed to show cell-packing statistics for the Any Transport over MPLS (AToM) feature. The Cell Relay field was added to the output to show when a VP has been configured for ATM Cell Relay over MPLS.


Examples

The following is sample output from the show atm vp command. This output shows the interface name, the status of the interface, the administrative status of the interface, the port type, and the number of channels in use on the interface. The status of the interface can be UP (in operation) or DOWN (not in operation).

Router# show atm vp 1

ATM6/0  VPI: 1, PeakRate: 155000, CesRate: 1742, DataVCs: 1, CesVCs:1, Status: ACTIVE
 
     VCD    VCI   Type   InPkts   OutPkts   AAL/Encap     Status
     1      100   PVC    n/a      n/a       CES-AAL1      ACTIVE
     13     13    PVC    0        0         AAL5-SNAP     ACTIVE
     409    3     PVC    0        0         F4 OAM        ACTIVE
     410    4     PVC    0        0         F4 OAM        ACTIVE
 
   TotalInPkts: 0, TotalOutPkts: 0, TotalInFast: 0, TotalOutFast: 0, TotalBroadcasts: 0

The following example shows information about a VP that has been configured for ATM Cell Relay VP mode and has ATM cell packing enabled:

Router# show atm vp 12

ATM5/0  VPI: 12, Cell Relay, PeakRate: 149760, CesRate: 0, DataVCs: 1, CesVCs: 0, Status: 
ACTIVE

  VCD    VCI   Type   InPkts   OutPkts   AAL/Encap     Status
  6      3     PVC    0        0         F4 OAM        ACTIVE  
  7      4     PVC    0        0         F4 OAM        ACTIVE  

TotalInPkts: 0, TotalOutPkts: 0, TotalInFast: 0, TotalOutFast: 0,
TotalBroadcasts: 0 TotalInPktDrops: 0, TotalOutPktDrops: 0
Local MNCP: 5, average number of cells received: 3
Peer MNCP: 1, average number of cells sent: 1
Local MCPT: 100 us

Table 9 describes the fields shown in the display.

Table 9 show atm vp Field Descriptions 

Field
Description

ATM6/0

Interface type, slot, and port number of the VP.

VPI

Virtual path identifier of the VP.

Cell Relay

Type of transport associated with this VP.

PeakRate

Maximum rate, in kbps, at which the VP can send data. Range is 84 kbps to line rate. The default is the line rate.

CesRate

Total circuit emulation service (CES) bandwidth allocated for the VP.

DataVCs

Number of data virtual circuits (VCs) on the VP.

CesVCs

Number of CES VC on the VP.

Status

Current status of the VP. Values are ACTIVE and INACTIVE.

VCD

Virtual circuit descriptor of the VC associated with this VP.

VCI

Virtual channel identifier of the VC associated with this VP.

Type

Type of VC associated with this VP. Values are PVC and SVC.

InPkts

Number of packets received on the VP.

OutPkts

Number of packets transmitted on the VP.

AAL/Encap

Type of encapsulation used on the VC associated with this VP.

Status

Status of the VP (ACTIVE or INACTIVE).

TotalInPkts:

Total number of input packets process-switched and fast-switched on the VP.

TotalOutPkts:

Total number of output packets process-switched and fast-switched on the VP.

TotalInFast

Total number of input packets fast-switched.

TotalOutFast:

Total number of output packets fast-switched.

TotalBroadcasts:

Total number of broadcast packets fast-switched.

Local MNCP

Maximum number of cells packed (MNCP) on the local provider edge (PE) router.

Average nbr of cells recvd

Average number of cells that the PE router receives.

Peer MNCP

MNCP of the peer PE router.

Average nbr of cells sent

Average number of cells that the PE router sends.

Local MCPT (us)

Maximum cell packing timeout (MCPT) on the local PE router. This is the number of microseconds that the PE router allows for cell packing. If the specified number of cells does not get packed within the allowed time, the packet is sent anyway.


Related Commands

Command
Description

atm pvp

Creates a PVP used to multiplex (or bundle) one or more VCs (especially CES and data VCs).


show mpls l2transport vc

To display information about Any Transport over MPLS (AToM) circuits that have been enabled to route Layer 2 packets on a router, use the show mpls l2transport vc command in EXEC mode.

show mpls l2transport vc [vcid vcid] | [vcid-min vcid-max] [interface name [local-circuit-id]] [destination ip-address | name] [detail]

Syntax Description

vcid

(Optional) VC ID assigned to the router.

vcid

(Optional) VC ID.

vcid-min
and
vcid-max

(Optional) VCs that are assigned the range of VC IDs that you specify. The range is from 1 to 4,294,967,295. (This argument is primarily for legacy implementations.)

interface

(Optional) Interface or subinterface of the router that has been enabled to transport Layer 2 packets. This keyword lets you display information about the VCs that have been assigned VC IDs on that interface or subinterface.

name

(Optional) Name of the interface or subinterface.

local-circuit-id

(Optional) Number assigned to the local circuit. This argument value applies only to the following transport types:

For Frame Relay, enter the DCLI of the PVC.

For ATM AAL5 and Cell Relay, enter the VPI/VCI of the PVC.

For Ethernet VLANs, enter the VLAN number.

destination

(Optional) Information about the VCs that have been assigned VC IDs for the remote router you specify.

ip-address

(Optional) IP address of the remote router.

name

(Optional) Name assigned to the remote router.

detail

(Optional) Detailed information about the VCs that have been assigned VC IDs.


Defaults

If you do not specify any keywords or arguments, the command displays a summary of all the VCs.

Command Modes

EXEC

Command History

Release
Modification

12.1(8a)E

This command was introduced.

12.0(21)ST

This command was integrated into Cisco IOS Release 12.0(21)ST.

12.0(23)S

This command was updated to include the interface and destination keywords.

12.2(14)S

This command was integrated into Cisco IOS Release 12.2(14)S.

12.2(15)T

This command was integrated into Cisco IOS Release 12.2(15)T.

12.0(25)S

This command was updated with new output and fields to reflect the status of new features, such as tunnel selection and ATM cell relay port mode.


Examples

The output of the commands varies, depending on the type of Layer 2 packets being transported over the AToM VCs.

The following example shows information about the interfaces and VCs that have been configured to transport various Layer 2 packets on the router:

Router# show mpls l2transport vc

Local intf     Local circuit      Dest address    VC ID      Status    
-------------  ------------------ --------------- ---------- ----------
Se5/0          FR DLCI 55         13.0.0.1        55         UP        
AT4/0          ATM AAL5 0/100     13.0.0.1        100        UP        
AT4/0          ATM AAL5 0/200     13.0.0.1        200        UP        
AT4/0.300      ATM AAL5 0/300     13.0.0.1        300        UP        
AT1/0          ATM VPC CELL 1     10.0.0.1        123        UP

Table 10 describes the significant fields displayed in the output.

Table 10 show mpls l2transport vc Field Descriptions

Field
Description

Local intf

Interface on the local router that has been enabled to transport Layer 2 packets.

Local circuit

Type and number (if applicable) of the local circuit. The output shown in this column varies, according to transport type:

For Frame Relay, the output shows the DCLI of the PVC.

For ATM cell relay and ATM AAL5, the output shows the VPI/VCI of the PVC.

For Ethernet VLANs, the output shows the VLAN number.

For PPP and HDLC, the output shows the interface number.

Dest address

IP address of the remote router's interface that is the other end of the VC.

VC ID

Virtual circuit identifier assigned to one of the interfaces on the router.

Status

Status of the VC. The status can be one of the following:

UP—The VC is in a state where it can carry traffic between the two VC endpoints. A VC is up when both imposition and disposition interfaces are programmed.

The disposition interfaces is programmed if the VC has been configured and the client interface is up.

The imposition interface is programmed if the disposition interface is programmed and we have a remote VC label and an IGP label. The IGP label can be implicit null in a back-to-back configuration. (An IGP label means there is an LSP to the peer.)

DOWN—The VC is not ready to carry traffic between the two VC endpoints. Use the detail keyword to determine the reason that the VC is down.

ADMIN DOWN—The VC has been disabled by a user.


The following example shows information about VCs that have been configured to transport Layer 2 packets:

Router# show mpls l2transport vc detail 

Local interface: local interface up, line protocol up, local circuit 16 up 
Destination address: 13.13.13.13, VC ID: 100, VC status: up
    Tunnel label: imp-null, next hop point2point
    Output interface: PO0/1/0, imposed label stack {16}
  Create time: 00:16:44, last status change time: 00:15:45
  Signaling protocol: LDP, peer 13.13.13.13:0 up
    MPLS VC labels: local 16, remote 16
    Group ID: local 12, remote 1
    MTU: local 1500, remote 1500
    Remote interface description: 
  Sequencing: receive disabled, send disabled
  VC statistics:
    packet totals: receive 56, send 55
    byte totals:   receive 10181, send 10569
    packet drops:  receive 0, send 0 

The following example shows information about the tunnel selection feature:

Router# show mpls l2transport vc detail

Local interface: Gi0/0/0.1 up, line protocol up, Eth VLAN 222 up
  Destination address: 16.16.16.16, VC ID: 101, VC status: up
    Preferred path: Tunnel1,  active
    Default path: disabled
    Tunnel label: 3, next hop point2point
    Output interface: Tu1, imposed label stack {17 16}
  Create time: 00:27:31, last status change time: 00:27:31
  Signaling protocol: LDP, peer 16.16.16.16:0 up
    MPLS VC labels: local 25, remote 16
    Group ID: local 0, remote 6
    MTU: local 1500, remote 1500
    Remote interface description:
  Sequencing: receive disabled, send disabled
  VC statistics:
    packet totals: receive 10, send 10
    byte totals:   receive 1260, send 1300
    packet drops:  receive 0, send 0

Table 11 describes the significant fields displayed in the output.

Table 11 show mpls l2transport vc detail Field Descriptions 

Field
Description

Local interface

Interface on the local router that has been enabled to transmit and receive Layer 2 packets. The interface varies, depending on the transport type. The output also shows the status of the interface.

line protocol

Status of the line protocol on the edge-facing interface.

local circuit

Type, number (if applicable) and status of the local circuit. The output varies, depending on the transport type:

For Frame Relay, the output shows the DCLI of the PVC.

For ATM cell relay and ATM AAL5, the output shows the VPI/VCI of the PVC.

For Ethernet VLANs, the output shows the VLAN number.

Destination address

IP address of the remote router specified for this VC. You specify the destination IP address as part of the mpls l2transport route command.

VC ID

Virtual circuit identifier assigned to the interface on the router.

VC status

Status of the VC. The status can be one of the following:

UP—The VC is in a state where it can carry traffic between the two VC endpoints. A VC is up when both imposition and disposition interfaces are programmed.

The disposition interface is programmed if the VC has been configured and the client interface is up.

The imposition interface is programmed if the disposition interface is programmed and a remote VC label and an IGP label exist. The IGP label can be an implicit null in a back-to-back configuration. (An IGP label means there is a LSP to the peer.)

DOWN—The VC is not ready to carry traffic between the two VC endpoints.

ADMIN DOWN—The VC has been disabled by a user.

Preferred path

Path that was assigned to the VC and the status of that path. The path can be an MPLS traffic engineering tunnel or an IP address or host name of a peer PE router.

Default path

Status of the default path, which can be disabled or ready.

By default, if the preferred path fails, the router uses the default path. However, you can disable the router from using the default path when the preferred path fails by specifying the disable-fallback keyword with the preferred-path command.

Tunnel label

An IGP label used to route the packet over the MPLS backbone to the destination router with the egress interface. The first part of the output displays the type of label. The second part of output displays the route information.

The tunnel label information can display any of the following states:

imp-null: The P router is absent and the tunnel label will not be used. Alternatively, imp-null can signify traffic engineering tunnels between the PE routers.

unassigned: The label has not been assigned.

no route: The label is not in the routing table.

no adjacency: The adjacency for the next hop is missing.

not ready, no route: An IP route for the peer does not exist in the routing table.

not ready, not a host table: The route in the routing table for the remote peer router is not a host route.

not ready, CEF disabled: CEF is disabled.

not ready, LFIB disabled: The MPLS switching subsystem is disabled.

not ready, LFIB entry present: The tunnel label exists in the LFIB, but the VC is down.

Output interface

Interface on the remote router that has been enabled to transmit and receive Layer 2 packets.

imposed label stack

Summary of the MPLS label stack used to direct the VC to the PE router.

Create time

Time when the VC was provisioned.

last status change time

Last time the VC state changed.

Signaling protocol

Type of protocol used to send the MPLS labels. The output also shows the status of the peer router.

MPLS VC labels

Local VC label is a disposition label, which determines the egress interface of an arriving packet from the MPLS backbone. The remote VC label is a disposition VC label of the remote peer router.

Group ID

Local group ID is used to group VCs locally. The remote group ID is used by the peer to group several VCs.

MTU

Maximum transmission unit specified for the local and remote interfaces.

Remote interface description

Interface on the remote router that has been enabled to transmit and receive Layer 2 packets.

Sequencing

Field describes whether sequencing of out-of-order packets is enabled or disabled.

packet totals

Number of packets sent and received. Received packets are those AToM packets received from the MPLS core. Sent packets are those AToM packets sent to the MPLS core. This does not include dropped packets.

byte totals

Number of bytes sent and received from the core-facing interface, including the payload, control word if present, and AToM VC label.

packet drops

Number of dropped packets.


switched-dlci

To provide a link between the specified data-link connection identifier (DLCI) and the subinterface, use the switched-dlci command in subinterface configuration mode. To remove the link, use the no form of this command.

switched-dlci dlci

no switched-dlci dlci

Syntax Description

dlci

A number between 0 and 1023 that was specified as part of the AToM configuration.


Defaults

By default, a link does not exist between the DLCI and the subinterface.

Command Modes

Subinterface configuration

Command History

Release
Modification

12.0(25)S

This command was introduced.


Usage Guidelines

This command is for Frame Relay over MPLS on the Cisco 12000 series routers.

Specify this command before specifying the service-policy command.

Examples

The following command example defines a traffic policing policy and assigns it to interface POS4/0.1:

class map match-any fr-class
!
policy map frtp-policy
    class fr-class
      police cir 64000 conform-burst 1000 pir 128000 excess-burst 2000
conform-action transmit exceed-action set-frde-transmit violate-action drop
!
interface POS4/0.1 point-to-point
 no ip directed-broadcast
 switched-dlci 106
 service-policy input frtp-policy
connect frompls101 POS4/0 106 l2transport
 xconnect 3.3.3.3 2034 encapsulation mpls 

Related Commands

Command
Description

connect

Defines connections between Frame Relay PVCs.