Cisco IOS XR Interface and Hardware Component Configuration Guide, Release 3.6
Configuring ATM Interfaces on Cisco IOS XR Software
Downloads: This chapterpdf (PDF - 752.0KB) The complete bookPDF (PDF - 4.93MB) | Feedback

Configuring ATM Interfaces on Cisco IOS XR Software

Table Of Contents

Configuring ATM Interfaces on Cisco IOS XR Software

Contents

Prerequisites for Implementing ATM

Information About ATM

VC-Class Mapping

VP-Tunnels

F5 OAM on ATM Interfaces

ILMI on ATM Interfaces

Layer 2 VPN on ATM Interfaces

Cell Packing on L2VPN ACs with AAL0 Mode Encapsulation

How to Bring Up and Configure ATM Interfaces

Bringing Up an ATM Interface

Prerequisites

Restrictions

What to do Next

Configuring Optional ATM Interface Parameters

Prerequisites

Restrictions

What to do Next

How to Create and Configure a Point-to-Point ATM Subinterface with a PVC

Creating a Point-to-Point ATM Subinterface with a PVC

Prerequisites

Restrictions

What to do Next

Configuring Optional Point-to-Point ATM PVC Parameters

Prerequisites

Restrictions

What to do Next

How to Create and Configure a VP-Tunnel

Creating and Configuring a VP-Tunnel on an ATM Interface

Prerequisites

Restrictions

What to do Next

Creating and Configuring Subinterfaces with PVCs on a VP-tunnel

Prerequisites

Restrictions

What to do Next

How to Configure a Layer 2 Attachment Circuit

Creating a Layer 2 Port Mode AC

Prerequisites

Restrictions

Restrictions

What to do Next

Configuring Optional Parameters on a Layer 2 Port Mode AC

Prerequisites

Creating an ATM Layer 2 Subinterface with a PVC

Prerequisites

Restrictions

What to do Next

Configuring Optional ATM Layer 2 PVC Parameters

Prerequisites

Restrictions

What to do Next

Creating an ATM Layer 2 Subinterface with a PVP

Prerequisites

Restrictions

What to do Next

Configuring Optional ATM Layer 2 PVP Parameters

Prerequisites

Restrictions

What to do Next

How to Create and Configure a Vc-Class

Creating and Configuring a VC-Class

Restrictions

What to do Next

Attaching a Vc-Class to a Point-to-Point ATM Main Interface

Restrictions

Attaching a Vc-Class to a Point-to-Point ATM Subinterface

Attaching a Vc-Class to a PVC on an ATM Subinterface

How to Configure ILMI on ATM Interfaces

Enabling ILMI on an ATM Interface

Prerequisites

Restrictions

Disabling ILMI on an ATM Interface

Configuration Examples for Configuring ATM on Cisco IOS XR Software

ATM Interface Bring Up and Configuration: Example

Point-To-Point ATM Subinterface Configuration: Example

VP-Tunnel Configuration: Example

Layer 2 AC Creation and Configuration: Example

VC-Class Creation and Configuration: Example

Additional References

Related Documents

Standards

MIBs

RFCs

Technical Assistance


Configuring ATM Interfaces on Cisco IOS XR Software


This chapter describes how to configure ATM on the Cisco XR 12000 Series Router using Cisco IOS XR software. ATM is a cell-switching and multiplexing technology that is widely used in Wide Area Networks (WANs). ATM protocol standards enable point-to-point, point-to-multipoint, and broadcast services connections using various slow- and high-speed network media. Connectivity between two ATM permanent virtual circuits (PVCs) is established using ATM signaling mechanisms. Various ATM signaling standards are defined by the following ATM forum standards:

UNI Version 3.0, Version 3.1, and Version 4.0

ITU

IETF

Feature History for Configuring Bidirectional Forwarding Detection on Cisco IOS XR

Release
Modification

Release 3.4.0

This feature was introduced on the Cisco XR 12000 Series Router on the following hardware:

Cisco XR 12000 Series 4-Port OC-3c/STM-1c ATM ISE Line Card, multimode

Cisco XR 12000 Series 4-Port OC-3c/STM-1c ATM ISE Line Card, single-mode

Cisco XR 12000 Series 4-port OC-12/STM-4 ATM multimode ISE line card with SC connector

Cisco XR 12000 Series 4-port OC-12/STM-4 ATM single-mode, intermediate-reach ISE line card with SC Connector

Release 3.4.1

The Layer 2 Virtual Private Network (L2VPN) feature was first supported on ATM interfaces on the Cisco XR 12000 Series Router.

Release 3.5.0

OAM configuration was first supported on L2VPN ATM interfaces.

Release 3.6.0

No modifications.


Contents

Prerequisites for Implementing ATM

Information About ATM

How to Bring Up and Configure ATM Interfaces

How to Create and Configure a Point-to-Point ATM Subinterface with a PVC

How to Create and Configure a VP-Tunnel

How to Configure a Layer 2 Attachment Circuit

How to Create and Configure a Vc-Class

How to Configure ILMI on ATM Interfaces

Configuration Examples for Configuring ATM on Cisco IOS XR Software

Additional References

Prerequisites for Implementing ATM

The following are required to implement ATM:

You must be in a user group associated with a task group that includes the proper task IDs for the ATM commands. Task IDs for commands are listed in Cisco IOS XR Interface and Hardware Component Command Reference. For detailed information about user groups and task IDs, refer to the Configuring AAA Services on Cisco IOS XR Software module of Cisco IOS XR System Security Configuration Guide.

A Cisco XR 12000 Series Router that runs Cisco IOS XR software.

Information About ATM

Network nodes use ATM connections to transfer bits of data organized as 53-byte ATM cells. User information (such as voice, video, and data) is segmented into ATM cells on one end of the connection, and then reassembled on the other end of the connection. ATM Adaptation Layer (AAL) defines the conversion of user information into ATM cells. AAL1 and AAL2 handle isochronous traffic (such as voice and video), and are relevant to the ATM node only when it is equipped with either a CES (Circuit Emulation Service) ATM interface card, or when it has voice over AAL2 capabilities. AAL3/4 and AAL5 support data communications; that is, they segment and reassemble data packets.

The two types of devices in an ATM network are switches and routers. Typically, ATM switches do packet switching at Layer 2, while ATM routers do packet switching using Layer 3 addresses, such as IPv4 network addresses, IPv6 network addresses, and MPLS labels.

ATM is supported on the following line cards:

4-port OC12

4-port OC3

Cisco IOS XR software ATM interfaces can operate in the following modes:

Point-to-point

Layer 2 port mode


Note A single ATM interface can simultaneously support point-to-point and L2VPN subinterfaces.


In Cisco IOS XR software, ATM interface configuration is hierarchical and comprises the following elements:

1. The ATM main interface, which is the physical interface. ATM main interfaces can be configured with point-to-point subinterfaces, VP-tunnels, ILMI interfaces, or as Layer 2 port mode attachment circuits (ACs) or Layer 2 subinterface ACs.

2. ATM subinterfaces, which are configured under the ATM main interface. An ATM subinterface does not actively carry traffic until you configure a PVC or PVP under the ATM subinterface.

3. PVCs, which are configured under an ATM subinterface. A single PVC is allowed per subinterface. PVCs are supported under point-to-point and Layer 2 subinterfaces.

4. Permanent virtual paths (PVPs), which are configured under a Layer 2 ATM subinterface. A single PVP is allowed per subinterface.

VC-Class Mapping

A virtual circuit (VC) class enables the configuration of VC parameters that are then mapped to a main interface, subinterface, or PVC. Without vc-classes, you must perform considerable manual configuration on each ATM main interface, subinterface, and PVC and on the router. This configuration can be time consuming and error prone. After you have created vc-class, you can apply that vc-class to as many ATM interfaces, subinterfaces, or PVCs as you want.

Vc-classes include the following types of configuration data:

ATM encapsulation for the VC

OAM management

traffic shaping

The order of configuration precedence is hierarchical, as demonstrated in the following list, where configuration on the PVC takes the highest precedence, and configuration on a vc-class that is attached to the ATM main interface takes the lowest precedence:

1. Configuration on the PVC

2. Configuration on a vc-class that is attached to the PVC

3. Configuration on the subinterface

4. Configuration on a vc-class that is attached to the subinterface

5. Configuration on the ATM main interface

6. Configuration on a vc-class that is attached to the ATM main interface

For example, if the a PVC has unspecified bit rate (UBR) traffic shaping configured, but it is attached to a class map that is configure with CBR traffic shaping, the PVC maintains the UBR traffic shaping.


Note Vc-classes are not applicable to Layer 2 port mode ACs and Layer 2 PVPs. For Layer 2 VPN configurations, Vc-classes are applicable to the PVC only.


VP-Tunnels

ATM interfaces support vp-tunnels. Vp-tunnels are typically used to shape PVCs into a bundle and manage F4 Operation, Administration, and Maintenance (OAM). A Vp-tunnel is configured under the main ATM interface, and then subinterfaces and PVCs can be added to the vp-tunnel. Vp-tunnels and the PVCs that are configured under them share the same VPI. When a vp-tunnel goes down, all PVCs configured under that vp-tunnel go down, too.

By default, two F4 OAM connections are automatically opened for each vp-tunnel. Use the f4oam disable command in ATM vp-tunnel configuration mode to disable the F4 OAM packets for a vp-tunnel.

F5 OAM on ATM Interfaces

The F5 Operation, Administration, and Maintenance (OAM) feature performs fault-management and performance-management functions on PVCs. If the F5 OAM feature is not enabled on a PVC, then that PVC remains up on the end device in the event of a service disruption where network connectivity is lost. The result is that routing entries that point to the connection remain in the routing table and, therefore, packets are lost. The F5 OAM feature detects such failures and brings the PVC down if there is a disruption along its path.

Use the oam-pvc manage command to enable the F5OAM feature on a PVC. After OAM is enabled on a PVC, the PVC can generate F5 loopback cells and you can configure continuity check (CC) management for the PVC. Use the oam ais-rdi and oam retry commands to configure continuity checking on a PVC.

To drop all current and future OAM cells received on an ATM interface, use the atm oam flush command in interface configuration mode.


Note The oam ais-rdi and oam retry commands take affect only after OAM management is enabled on a PVC with the oam-pvc manage command.


ILMI on ATM Interfaces

The ILMI protocol is defined by the ATM Forum for setting and capturing physical layer, ATM layer, virtual path, and virtual circuit parameters on ATM interfaces. When two ATM interfaces run the ILMI protocol, they exchange ILMI packets across the physical connection. These packets consist of SNMP messages as large as 484 octets. ATM interfaces encapsulate these messages in an ATM adaptation layer 5 (AAL5) trailer, segment the packet into cells, and schedule the cells for transmission.

You must enable ILMI on ATM interfaces that communicate with end devices that are configured for ILMI. To enable ILMI, create a PVC with ILMI encapsulation directly under the main ATM interface by using the pvc vpi/vci ilmi command in interface configuration mode.

PVCs use ILMI encapsulation to carry ILMI messages. Use the pvc vpi/vci ilmi command in interface configuration mode to create an ILMI PVC on an ATM main interface.


Note You must use the same VPI and VCI values on both ends of the PVC that connects the end device and the router.



Note The ILMI configuration commands are available only after an ILMI PVC is created under the ATM main interface. The ILMI configuration takes affect on the ATM main interface.



Note ILMI configuration is not supported on Layer 2 port mode ACs.


Layer 2 VPN on ATM Interfaces

The Layer 2 VPN (L2VPN) feature enables the connection between different types of Layer 2 attachment circuits and pseudowires, allowing users to implement different types of end-to-end services.

Cisco IOS XR software supports a point-to-point, end-to-end service, where two ATM ACs are connected together.

Switching can take place in two ways:

AC-to-PW—Traffic reaching the PE is tunneled over a pseudowire (and conversely, traffic arriving over the PW is sent out over the AC). This is the most common scenario.

Local switching—Traffic arriving on one AC is immediately sent out another AC without passing through a pseudowire.

Keep the following in mind when configuring L2VPN on an ATM interface:

Cisco IOS XR software supports up to 2000 ACs per line card.

ATM-over-MPLS supports two types of cell encapsulation:

AAL5 CPCS mode—Unsegmented ATM cells are transported across an MPLS backbone.

ATM cell (AAL0) mode—Cells are segmented and then reassembled, or packed. AAL0 is supported on ATM main ports, PVCs, and PVPs. The benefits of using AAL0 mode is that groups of ATM cells share a label that maximizes bandwidth efficiencies.


Note AAL5 mode is supported on PVCs only.


Use the following commands to display AC and pseudowire information:

show interfaces

show l2vpn xconnect

show atm pvp

show atm pvc


Note For detailed information about configuring an L2VPN network, see the "Implementing MPLS Layer 2 VPNs" module of Cisco IOS XR Multiprotocol Label Switching Configuration Guide.


Cell Packing on L2VPN ACs with AAL0 Mode Encapsulation

Cell packing is supported on L2VPN ATM interfaces that are configured with AAL0 mode encapsulation. Cell packing relates to the delay variations that are defined in the ATM standards. Users can specify the number of cells that can be processed by the pseudowire, and configure the maximum cell packing timeout (MCPT) timers to use in conjunction with cell packing.

The cell-packing command allows the user to perform the following tasks:

Configure the maximum number of cells that can be transmitted in a single packet

Attach one of the three MCPT timers to an individual Layer 2 port mode AC, PVC, or PVP.

The three MCPT timers are defined under the main ATM interface with the atm mcpt-timer command, which lets the user specify the maximum number of microseconds to wait to complete cell packing on a single packet before that packet is transmitted. If the associated MCPT timer expires before the maximum number of cells that can be packed is reached, then the packet is transmitted with the number of cells that have been packed thus far.

We recommend configuring a low, medium, and high value for the three MCPT timers to accommodate the different ATM traffic classes. Low- latency constant bit rate (CBR) traffic typically uses a low MCPT timer value, while high-latency Unspecified bit rate (UBR) traffic typically requires a high MCPT timer value. Variable bit rate real-time (VBR-rt) and variable bit rate non-real-time (VBR-nrt) traffic typically use a median MCPT timer value.

How to Bring Up and Configure ATM Interfaces

The ATM interface configuration tasks are described in the following procedures:

Bringing Up an ATM Interface

Configuring Optional ATM Interface Parameters

Bringing Up an ATM Interface

This task describes the commands used to bring up an ATM interface.

Prerequisites

You must have one of the following line cards installed in a Cisco XR 12000 Series Router that is running Cisco IOS XR software:

4-port OC12

4-port OC3

Restrictions

The configuration on both ends of the ATM connection must match for the interface to be active.

SUMMARY STEPS

1. configure

2. interface atm instance

3. no shutdown

4. end
or
commit

5. exit

6. exit

7. Repeat Step 1 through Step 6 to bring up the interface at the other end of the connection.

8. show interfaces atm instance brief

DETAILED STEPSs

 
Command or Action
Purpose

Step 1 

configure

Example:

RP/0/0/CPU0:router# configure

Enters global configuration mode.

Step 2 

interface atm instance

Example:

RP/0/0/CPU0:router (config)# interface atm 0/6/0/1

Enters ATM interface configuration mode.

Step 3 

no shutdown

Example:

RP/0/0/CPU0:router (config-if)# no shutdown

Removes the shutdown configuration.

Note Removal of the shutdown configuration eliminates the forced administrative down on the interface, enabling it to move to an up or down state.

Step 4 

end

or

commit

Example:

RP/0/0/CPU0:router (config-if)# end

or

RP/0/0/CPU0:router(config-if)# commit

Saves configuration changes.

When you issue the end command, the system prompts you to commit changes:

Uncommitted changes found, commit them before 
exiting(yes/no/cancel)? 
[cancel]:
 
        

Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode.

Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes.

Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes.

Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session.

Step 5 

exit

Example:

RP/0/0/CPU0:router (config-if)# exit

Exits interface configuration mode and enters global configuration mode.

Step 6 

exit

Example:

RP/0/0/CPU0:router (config)# exit

Exits global configuration mode and enters EXEC mode.

Step 7 

Repeat Step 1 through Step 6 to bring up the interface at the other end of the connection.

Brings up the connection.

Note The configuration on both ends of the ATM connection must match.

Step 8 

show interfaces atm instance brief

Example:

RP/0/0/CPU0:router# show interfaces atm 0/6/0/1 brief

(Optional) Verifies that the interface is active and properly configured.

If you have brought up an ATM interface properly, the
"Intf State" field for that interface in the show interfaces atm command output shows "up."

What to do Next

To modify the default configuration of the ATM interface you just brought up, see the "Configuring Optional ATM Interface Parameters" section.

To configure a point-to-point subinterface on the ATM interface you just brought up, see the "How to Create and Configure a Point-to-Point ATM Subinterface with a PVC" section.

To create a Vp-tunnel on the ATM interface you just brought up, see the "How to Create and Configure a VP-Tunnel" section.

To use the interface as a Layer 2 post mode AC, see the "How to Configure a Layer 2 Attachment Circuit" section.

To attach a Vc-class to the ATM interface you just brought up, see the "How to Create and Configure a Vc-Class" section.

To enable ILMI on the ATM interface you just brought up, see the "How to Configure ILMI on ATM Interfaces" section.

Configuring Optional ATM Interface Parameters

This task describes the commands you can use to modify the default configuration on an ATM interface.

Prerequisites

Before you modify the default ATM interface configuration, we recommend that you bring up the ATM interface and remove the shutdown configuration, as described in the "Bringing Up an ATM Interface" section.

Restrictions

The configuration on both ends of the ATM connection must match for the interface to be active.

SUMMARY STEPS

1. configure

2. interface atm instance

3. atm maxvpi-bits 12

4. atm oam flush

5. atm mcpt-timers timer-1 timer-2 timer-3

6. end
or
commit

7. exit

8. exit

9. show atm interface atm [instance]

10. show interfaces atm instance brief

 
Command or Action
Purpose

Step 1 

configure

Example:

RP/0/0/CPU0:router# configure

Enters global configuration mode.

Step 2 

interface atm instance

Example:

RP/0/0/CPU0:router (config)# interface atm 0/6/0/1

Enters ATM interface configuration mode.

Step 3 

atm maxvpi-bits 12

Example:
RP/0/0/CPU0:router (config-if)# atm maxvpi-bits 
12

(Optional) Enables support for the 12-bit VPI NNI cell format.

Step 4 

atm oam flush

Example:

RP/0/0/CPU0:router (config-if)# atm oam flush

(Optional) Drops all current and future OAM cells received on an ATM interface.

Step 5 

atm mcpt-timers timer-1 timer-2 timer-3

Example:

RP/0/0/CPU0:router (config-if)# atm mcpt-timers 50 100 200

(Optional) Specifies the maximum cell packing timeout values for each of the three per-interface MCPT timers, in microseconds.

Note The default value for each timer is 50 microseconds.

Note The atm mcpt-timers command is applicable to Layer 2 ATM ACs only.

Step 6 

end

or

commit

Example:

RP/0/0/CPU0:router (config-if)# end

or

RP/0/0/CPU0:router(config-if)# commit

Saves configuration changes.

When you issue the end command, the system prompts you to commit changes:

Uncommitted changes found, commit them before 
exiting(yes/no/cancel)? 
[cancel]:
 
        

Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode.

Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes.

Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes.

Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session.

Step 7 

exit

Example:

RP/0/0/CPU0:router (config-if)# exit

Exits interface configuration mode and enters global configuration mode.

Step 8 

exit

Example:

RP/0/0/CPU0:router (config)# exit

Exits global configuration mode and enters EXEC mode.

Step 9 

show atm interface atm [instance]

Example:

RP/0/0/CPU0:router# show atm interface atm 0/6/0/1

(Optional) Displays ATM-specific data for the specified ATM interface.

Step 10 

show interfaces atm instance

Example:

RP/0/0/CPU0:router# show interfaces atm 0/6/0/1

(Optional) Displays general information for the specified ATM interface.

What to do Next

To configure a point-to-point subinterface on the ATM interface you just brought up, see the "How to Create and Configure a Point-to-Point ATM Subinterface with a PVC" section.

To create a Vp-tunnel on the ATM interface you just brought up, see the "How to Create and Configure a VP-Tunnel" section.

To use the interface as a Layer 2 ATM AC, see the "How to Configure a Layer 2 Attachment Circuit" section.

To attach a Vc-class to the ATM interface you just brought up, see the "How to Create and Configure a Vc-Class" section.

To enable ILMI on the ATM interface you just brought up, see the "How to Configure ILMI on ATM Interfaces" section.

How to Create and Configure a Point-to-Point ATM Subinterface with a PVC

The configuration tasks for creating and configuring a point-to-point ATM subinterface with a PVC are described in the following procedures:

Creating a Point-to-Point ATM Subinterface with a PVC

Configuring Optional Point-to-Point ATM PVC Parameters

Creating a Point-to-Point ATM Subinterface with a PVC

The procedure in this section creates a point-to-point ATM subinterface and configures a permanent virtual circuit (PVC) on that ATM subinterface.

Prerequisites

Before you can create an ATM subinterface on an ATM interface, you must bring up an ATM interface, as described in the "Bringing Up an ATM Interface" section.

Restrictions

Only one PVC can be configured for each point-to-point ATM subinterface.

SUMMARY STEPS

1. configure

2. interface atm instance.subinterface point-to-point

3. ipv4 address ipv4_address/prefix

4. pvc vpi/vci

5. end
or
commit

6. Repeat Step 1 through Step 5 to bring up the ATM subinterface and any associated PVC at the other end of the connection.

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

configure

Example:

RP/0/0/CPU0:router# configure

Enters global configuration mode.

Step 2 

interface atm instance.subinterface point-to-point

Example:

RP/0/0/CPU0:router (config)# interface atm 0/6/0/1.10

Enters ATM subinterface configuration mode.

Step 3 

ipv4 address ipv4_address/prefix

Example:
RP/0/0/CPU0:router (config-subif)#ipv4 address 
10.46.8.6/24

Assigns an IP address and subnet mask to the subinterface.

Step 4 

pvc vpi/vci

Example:

RP/0/0/CPU0:router (config-subif)# pvc 5/10

(Optional) Creates an ATM permanent virtual circuit (PVC) and enters ATM PVC configuration submode.

Note Only one PVC is allowed per subinterface.

Step 5 

end

or

commit

Example:

RP/0/0/CPU0:router (config-subif)# end

or

RP/0/0/CPU0:router(config-subif)# commit

Saves configuration changes.

When you issue the end command, the system prompts you to commit changes:

Uncommitted changes found, commit them before 
exiting(yes/no/cancel)? 
[cancel]:
 
        

Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode.

Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes.

Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes.

Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session.

Step 6 

Repeat Step 1 through Step 5 to bring up the ATM subinterface and any associated PVC at the other end of the connection.

Brings up the ATM connection.

Note The configuration on both ends of the subinterface connection must match.

What to do Next

To configure optional PVC parameters, see the "Configuring Optional Point-to-Point ATM PVC Parameters" section.

To attach Layer 3 service policies, such as Multiprotocol Label Switching (MPLS) or quality of service (QoS), to the PVC under the PVC submode, refer to the appropriate Cisco IOS XR software configuration guide.

To configure a vc-class and apply it to an ATM subinterface or PVC, see the "Creating and Configuring a VC-Class" section.

Configuring Optional Point-to-Point ATM PVC Parameters

This task describes the commands you can use to modify the default configuration on an ATM PVC.

Prerequisites

Before you can modify the default PVC configuration, you must create the PVC on an ATM subinterface, as described in the "Creating a Point-to-Point ATM Subinterface with a PVC" section.

Restrictions

The configuration on both ends of the PVC must match for the connection to be active.

SUMMARY STEPS

1. configure

2. interface atm instance.subinterface point-to-point

3. pvc vpi/vci

4. encapsulation {aal5mux ipv4 | aal5nlpid | aal5snap}

5. oam-pvc manage [frequency] [disable] [keep-vc-up [seg-aisrdi-failure]]

6. oam ais-rdi [down-count [up-count]]

7. oam retry

8. shape [cbr peak_output_rate | ubr peak_output_rate | vbr-nrt peak_output_rate sustained_output_rate burst_size| vbr-rt peak_output_rate sustained_output_rate burst_size]

9. service-policy [input | output] policy_name

10. end
or
commit

11. Repeat Step 1 through Step 10 to configure the PVC at the other end of the connection.

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

configure

Example:

RP/0/0/CPU0:router# configure

Enters global configuration mode.

Step 2 

interface atm instance.subinterface point-to-point

Example:

RP/0/0/CPU0:router (config)# interface atm 0/6/0/1.10 point-to-point

Enters ATM subinterface configuration mode.

Step 3 

pvc vpi/vci

Example:

RP/0/0/CPU0:router (config-subif)# pvc 5/10

Enters subinterface configuration mode for the PVC.

Step 4 

encapsulation {aal5mux ipv4 | aal5nlpid | aal5snap}

Example:

RP/0/0/CPU0:router (config-atm-vc)# encapsulation aal5snap

Configures the ATM adaptation layer (AAL) and encapsulation type for a PVC.

Note The default encapsulation type for a vc-class is AAL5/SNAP

Step 5 

oam-pvc manage [frequency] [disable] [keep-vc-up [seg-aisrdi-failure]

Example:

RP/0/0/CPU0:router (config-atm-vc)# oam-pvc manage 200 keep-vc-up

Enable ATM OAM F5 loopback cell generation and configures continuity check (CC) management for the ATM permanent virtual circuit (PVC).

Include the disable keyword to disable OAM management on the specified PVC.

Include the keep-vc-up keyword specify that PVC remains in the UP state when CC cells detect connectivity failure.

Include the seg-aisrdi-failure keyword to specify that, if segment AIS/RDI cells are received, the VC will not be brought down because of end CC failure or loopback failure.

Step 6 

oam ais-rdi [down-count [up-count]]

Example:

RP/0/0/CPU0:router (config-atm-vc)# oam ais-rdi 25 5

Configures the PVC so that it is brought down after a specified number of OAM alarm indication signal/remote defect indication (AIS/RDI) cells are received on the associated PVC.

Step 7 

oam retry [up-count [down-count [retry-frequency]]]

Example:

RP/0/0/CPU0:router (config-atm-vc)# oam retry 5 10 5

Configures parameters related to OAM management for the PVC.

If no OAM AIS/RDI cells are received within the specified interval, the PVC is brought up.

Step 8 

shape [cbr peak_output_rate | ubr peak_output_rate| vbr-nrt peak_output_rate sustained_output_rate burst_size| vbr-rt peak_output_rate sustained_output_rate burst_size]

Example:

RP/0/0/CPU0:router (config-atm-vc)# shape vbr-nrt 100000 100000 8000

Configures ATM traffic shaping for the PVC.

You must estimate how much bandwidth is required before you configure ATM traffic shaping.

peak_output_rate—Configures the maximum cell rate that is always available for the traffic.

Sustained_output_rate—Sustained output rate for the bit rate.

burst size—Burst cell size for the bit rate. Range is from 1 through 8192.

Step 9 

service-policy [input | output] policy_name

Example:

RP/0/0/CPU0:router (config-atm-vc)# service-policy input policyA

Attaches a QoS policy to an input or output PVC. Replace policy_name with the name of the service policy you want to attach to the PVC.

Note For information on creating and configuring service policies, see the Cisco IOS XR Modular Quality of Service Configuration Guide.

Step 10 

end

or

commit

Example:

RP/0/0/CPU0:router (config-subif)# end

or

RP/0/0/CPU0:router(config-subif)# commit

Saves configuration changes.

When you issue the end command, the system prompts you to commit changes:

Uncommitted changes found, commit them before 
exiting(yes/no/cancel)? 
[cancel]:
 
        

Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode.

Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes.

Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes.

Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session.

Step 11 

Repeat Step 1 through Step 10 to configure the PVC at the other end of the connection.

Brings up the connection.

Note The configuration on both ends of the connection must match.

What to do Next

To attach Layer 3 service policies, such as MPLS or QoS, to the PVC under the PVC submode, refer to the appropriate Cisco IOS XR software configuration guide.

To configure a vc-class and apply it to an ATM subinterface or PVC, see the "Creating and Configuring a VC-Class" section.

How to Create and Configure a VP-Tunnel

The configuration tasks for creating and configuring an ATM VP-tunnel are described in the following procedures:

Creating and Configuring a VP-Tunnel on an ATM Interface

Creating and Configuring Subinterfaces with PVCs on a VP-tunnel


Note VP-tunnels are specific to point-to-point ATM interfaces and cannot be configured on ATM ACs.


Creating and Configuring a VP-Tunnel on an ATM Interface

The procedures in this section create a vp-tunnel on a point-to-point ATM main interface. The creation and configuration of a vp-tunnel is a four-step process:

1. Bring up an ATM interface, as described in the "Bringing Up an ATM Interface" section.

2. Create and configure a vp-tunnel on the ATM interface, as describe in the "Creating and Configuring a VP-Tunnel on an ATM Interface" section.

3. Create subinterfaces with PVCs on the vp-tunnel, as described in the "Creating and Configuring Subinterfaces with PVCs on a VP-tunnel" section.

4. Ping the other side of the connection through the vp-tunnel to verify the vp-tunnel configuration, as described in "Creating and Configuring Subinterfaces with PVCs on a VP-tunnel" section.

The procedure in this section creates a vp-tunnel on an ATM main interface.

Prerequisites

Before you can create a vp-tunnel on an ATM main interface, you must bring up an ATM interface, as described in the "Bringing Up an ATM Interface" section.

Restrictions

A vp-tunnel is not truly active until a PVC is created with the same VPI value as the vp-tunnel, as described in the "Creating and Configuring Subinterfaces with PVCs on a VP-tunnel" section.

When a vp-tunnel goes down, all VCs that are configured under that vp-tunnel go down.

The following cards do not support Vp-tunnels with a VPI of 0:

4-Port OC-3c/STM-1c ATM ISE Line Card, multimode

4-Port OC-3c/STM-1c ATM ISE Line Card, single-mode

4-port OC-12/STM-4 ATM multimode ISE line card with SC connector

Series 4-port OC-12/STM-4 ATM single-mode, intermediate-reach ISE line card with SC Connector

SUMMARY STEPS

1. configure

2. interface atm instance

3. vp-tunnel vpi

4. f4oam disable

5. shape [cbr peak_output_rate | vbr-nrt peak_output_rate sustained_output_rate burst_size | vbr-rt peak_output_rate sustained_output_rate burst_size]

6. end
or
commit

7. exit

8. exit

9. Repeat Step 1 through Step 8 to bring up the vp-tunnel at the other end of the connection.

10. show atm vp-tunnel interface atm [instance]

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

configure

Example:

RP/0/0/CPU0:router# configure

Enters global configuration mode.

Step 2 

interface atm instance

Example:

RP/0/0/CPU0:router (config)# interface atm 0/6/0/1

Enters ATM interface configuration mode.

Step 3 

vp-tunnel vpi

Example:

RP/0/0/CPU0:router (config)# vp-tunnel 10

Configures a vp-tunnel on an ATM interface.

Step 4 

f4oam disable

Example:
RP/0/0/CPU0:router(config-atm-vp-tunnel)# f4oam 
disable

(Optional) Disables the passing of OAM packets.

Step 5 

shape [cbr peak_output_rate | vbr-nrt peak_output_rate sustained_output_rate burst_size | vbr-rt peak_output_rate sustained_output_rate burst_size]

Example:

RP/0/0/CPU0:router (config-if)# shape

Configures ATM traffic shaping for the PVC.

You must estimate how much bandwidth is required before you configure ATM traffic shaping.

peak_output_rate—Configures the maximum cell rate that is always available for the traffic.

Sustained_output_rate—Sustained output rate for the bit rate.

burst size—Burst cell size for the bit rate. Range is from 1 through 8192.

Note After you configure traffic shaping on the vp-tunnel, you cannot configure traffic shaping directly on the PVCs configured under that vp-tunnel. If you attempt to use the shape command on a PVC that is configured under a tunnel, the command is rejected.

Step 6 

end

or

commit

Example:

RP/0/0/CPU0:router (config-if)# end

or

RP/0/0/CPU0:router(config-if)# commit

Saves configuration changes.

When you issue the end command, the system prompts you to commit changes:

Uncommitted changes found, commit them before 
exiting(yes/no/cancel)? 
[cancel]:
 
        

Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode.

Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes.

Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes.

Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session.

Step 7 

exit

Example:

RP/0/0/CPU0:router (config-if)# exit

Exits interface configuration mode and enters global configuration mode.

Step 8 

exit

Example:

RP/0/0/CPU0:router (config)# exit

Exits global configuration mode and enters EXEC mode.

Step 9 

Repeat Step 1 through Step 8 to bring up the vp-tunnel at the other end of the connection.

Brings up the vp-tunnel.

Step 10 

show atm vp-tunnel interface atm [instance]

Example:

RP/0/0/CPU0:router (config)# show atm vp-tunnel interface atm 0/6/0/1

Displays vp-tunnel information for the entire router or a specific ATM interface.

What to do Next

To attach Layer 3 service policies, such as MPLS or QoS, to the vp-tunnel or its PVCs, refer to the appropriate Cisco IOS XR software configuration guide.

Creating and Configuring Subinterfaces with PVCs on a VP-tunnel

The procedure in this section creates and configures a subinterface with a PVC on a vp-tunnel.


Note A vp-tunnel is not truly active until a PVC is created with the same VPI value as the vp-tunnel.


Prerequisites

Before you can create a subinterface with a PVC on an ATM vp-tunnel, you must create a vp-tunnel on the ATM main interface, as described in the "Creating and Configuring a VP-Tunnel on an ATM Interface" section.

Restrictions

A PVC and its host vp-tunnel must share the same VPI for the connection to be active.

The following cards do not support Vp-tunnels with a VPI of 0:

4-Port OC-3c/STM-1c ATM ISE Line Card, multimode

4-Port OC-3c/STM-1c ATM ISE Line Card, single-mode

4-port OC-12/STM-4 ATM multimode ISE line card with SC connector

Series 4-port OC-12/STM-4 ATM single-mode, intermediate-reach ISE line card with SC Connector

SUMMARY STEPS

1. configure

2. interface atm instance.subinterface point-to-point

3. ipv4 address ipv4_address/prefix

4. pvc vpi/vci

5. end
or
commit

6. Repeat Step 1 through Step 5 to bring up the ATM subinterface and PVC at the other end of the connection.

7. ping atm interface atm instance.subinterface vpi/vci

8. show atm vp-tunnel [interface atm instance]

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

configure

Example:

RP/0/0/CPU0:router# configure

Enters global configuration mode.

Step 2 

interface atm instance.subinterface point-to-point

Example:

RP/0/0/CPU0:router (config)# interface atm 0/6/0/1.10 point-to-point

Creates a new subinterface and enters ATM subinterface configuration mode for that subinterface.

Step 3 

ipv4 address ipv4_address/prefix

Example:
RP/0/0/CPU0:router (config-subif)#ipv4 address 
10.46.8.6/24

Assigns an IP address and subnet mask to the subinterface.

Step 4 

pvc vpi/vci

Example:

RP/0/0/CPU0:router (config-subif)# pvc 5/10

Creates an ATM permanent virtual circuit (PVC) on the subinterface and attaches it to the vp-tunnel you created in the "Creating and Configuring a VP-Tunnel on an ATM Interface" section.

Replace vpi with the VPI of the vp-tunnel on which you are creating the PVC.

Note The PVC VPI and vp-tunnel VCI must match or the connection will not be active.

Note A vp-tunnel is not usable until you create PVCs under it.

Step 5 

end

or

commit

Example:

RP/0/0/CPU0:router (config-subif)# end

or

RP/0/0/CPU0:router(config-subif)# commit

Saves configuration changes.

When you issue the end command, the system prompts you to commit changes:

Uncommitted changes found, commit them before 
exiting(yes/no/cancel)? 
[cancel]:
 
        

Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode.

Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes.

Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes.

Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session.

Step 6 

Repeat Step 1 through Step5 to bring up the subinterface and PVC at the other end of the vp-tunnel.

Brings up the subinterface and PVC.

Step 7 

ping atm interface atm instance.subinterface 
vpi/vci
Example:
RP/0/0/CPU0:router # ping atm interface atm 
0/2/0/0.10 10/100

Verifies connectivity between two ATM connection endpoints through the vp-tunnel you configured in Step 1 through Step 6.

Replace instance.subinterface with the ATM subinterface that is configured on the vp-tunnel whose connectivity you want to verify. This is the same instance.subinterface you configured in Step 2.

Replace vci with the VCI of the PVC configured on the vp-tunnel whose connectivity you want to verify. This is the same vci you configured in Step 4.

Replace vpi with the VPI of the PVC that is configured on the vp-tunnel whose connectivity you want to verify. This is the same vpi you configured in Step 4.

Step 8 

show atm vp-tunnel [interface atm instance]

Example:

RP/0/0/CPU0:router (config)# show atm vp-tunnel interface atm 0/6/0/1

Displays vp-tunnel information for the entire router or a specific ATM interface.

What to do Next

To create and configure ATM subinterfaces and PVCs on a vp-tunnel, see the "Creating and Configuring Subinterfaces with PVCs on a VP-tunnel" section

To configure a vc-class and apply it to an ATM interface, see the "Creating and Configuring a VC-Class" section.

How to Configure a Layer 2 Attachment Circuit

The Layer 2 AC configuration tasks are described in the following procedures:

Creating a Layer 2 Port Mode AC

Configuring Optional Parameters on a Layer 2 Port Mode AC

Creating an ATM Layer 2 Subinterface with a PVC

Configuring Optional ATM Layer 2 PVC Parameters

Creating an ATM Layer 2 Subinterface with a PVP

Configuring Optional ATM Layer 2 PVP Parameters


Note After you configure an interface for Layer 2 switching, no routing commands such as ipv4 address are permissible. If any routing commands are configured on the interface, then the l2transport command is rejected.


Creating a Layer 2 Port Mode AC

The procedure in this section creates a Layer 2 port mode AC.

Prerequisites

Before you can create a Layer 2 port mode AC, you must bring up an ATM main interface, as described in the "Bringing Up an ATM Interface" section.

Restrictions

ILMI configuration is not supported on Layer 2 port mode ACs.

Restrictions

Before you can configure an Layer 2 port mode AC, you must ensure that no configuration, such as subinterfaces, already exists on that port. If any preconfiguration does exist, you must remove it.

SUMMARY STEPS

1. configure

2. interface atm instance

3. l2transport

4. end
or
commit

5. Repeat Step 1 through Step 4 to bring up the ATM AC at the other end of the connection.

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

configure

Example:

RP/0/0/CPU0:router# configure

Enters global configuration mode.

Step 2 

interface atm instance

Example:

RP/0/0/CPU0:router (config)# interface atm 0/6/0/1

Enters interface configuration mode for an ATM interface.

Step 3 

l2transport

Example:
RP/0/0/CPU0:router (config-if)# l2transport

Enters ATM Layer 2 transport configuration mode, and enables Layer 2 port mode on this ATM interface.

Step 4 

end

or

commit

Example:

RP/0/0/CPU0:router (config-if-l2)# end

or

RP/0/0/CPU0:router(config-if-l2)# commit

Saves configuration changes.

When you issue the end command, the system prompts you to commit changes:

Uncommitted changes found, commit them before 
exiting(yes/no/cancel)? 
[cancel]:
 
        

Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode.

Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes.

Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes.

Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session.

Step 5 

Repeat Step 1 through Step 4 to bring up the Layer 2 port mode AC at the other end of the connection.

Brings up the Layer 2 port mode AC.

Note The configuration on both ends of the connection must match.

What to do Next

To configure a point-to-point pseudowire XConnect on the Layer 2 port mode AC you just created, see the "Implementing MPLS Layer 2 VPNs" module of Cisco IOS XR Multiprotocol Label Switching Configuration Guide.

To configure optional Layer 2 VPN parameters for the ATM AC, see the "Configuring Optional Parameters on a Layer 2 Port Mode AC" section.

Configuring Optional Parameters on a Layer 2 Port Mode AC

The procedure in this section configures optional Layer 2 VPN transport parameters on a Layer 2 port mode AC.

Prerequisites

Before you can configure Layer 2 VPN parameters on a Layer 2 port mode AC, you must create a Layer 2 port mode AC, as described in the "Creating a Layer 2 Port Mode AC" section.

SUMMARY STEPS

1. configure

2. interface atm instance

3. atm mcpt-timers timer-1 timer-2 timer-3

4. l2transport

5. cell-packing cells timer

6. end
or
commit

7. Repeat Step 1 through Step 6 to configure the Layer 2 port mode AC at the other end of the connection.

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

configure

Example:

RP/0/0/CPU0:router# configure

Enters global configuration mode.

Step 2 

interface atm instance

Example:

RP/0/0/CPU0:router (config)# interface atm 0/6/0/1

Enters interface configuration mode for an ATM interface.

Step 3 

atm mcpt-timers timer-1 timer-2 timer-3

Example:

RP/0/0/CPU0:router (config-if)# atm mcpt-timers 50 100 200

Specifies the maximum cell packing timeout values for each of the three per-interface MCPT timers, in microseconds.

Note The default value for each timer is 50 microseconds.

Step 4 

l2transport

Example:
RP/0/0/CPU0:router (config-if)# l2transport

Enters ATM Layer 2 transport configuration mode.

Step 5 

cell-packing cells timer
Example:
RP/0/0/CPU0:router (config-if-l2)# cell-packing 
6 1 

Sets the maximum number of cells allowed per packet, and specifies a maximum cell packing timeout (MCPT) timer to use for cell packing.

Replace cells with the maximum number of cells to use per packet. Range is from 2 through 86.

Replace timer with the number that indicates the appropriate MCPT timer to use for cell packing. Can be 1, 2, or 3. You can configure up to three different MCPT values for a single main interface.

Step 6 

end

or

commit

Example:

RP/0/0/CPU0:router (config-if-l2)# end

or

RP/0/0/CPU0:router(config-if-l2)# commit

Saves configuration changes.

When you issue the end command, the system prompts you to commit changes:

Uncommitted changes found, commit them before 
exiting(yes/no/cancel)? 
[cancel]:
 
        

Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode.

Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes.

Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes.

Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session.

Step 7 

Repeat Step 1 through Step 6 to configure the AC at the other end of the connection.

Brings up the Layer 2 port mode AC.

Note The configuration on both ends of the connection must match.

Creating an ATM Layer 2 Subinterface with a PVC

The procedure in this section creates a Layer 2 subinterface with a PVC.

Prerequisites

Before you can create a subinterface on an ATM interface, you must bring up an ATM interface, as described in the "Bringing Up an ATM Interface" section.

Restrictions

Only one PVC can be configured for each ATM subinterface.

SUMMARY STEPS

1. configure

2. interface atm instance.subinterface l2transport

3. pvc vpi/vci

4. end
or
commit

5. Repeat Step 1 through Step 4 to bring up the ATM subinterface and any associated PVC at the other end of the AC.

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

configure

Example:

RP/0/0/CPU0:router# configure

Enters global configuration mode.

Step 2 

interface atm instance.subinterface l2transport

Example:

RP/0/0/CPU0:router(config)# interface atm 0/6/0/1.10 l2transport

Creates a subinterface and enters ATM subinterface configuration mode for that subinterface.

Step 3 

pvc vpi/vci

Example:

RP/0/0/CPU0:router(config-if)# pvc 5/20

Creates an ATM permanent virtual circuit (PVC) and enters ATM Layer 2 transport PVC configuration mode.

Note Only one PVC is allowed per subinterface.

Step 4 

end

or

commit

Example:

RP/0/0/CPU0:router(config-atm-l2transport-pvc)#  end

or

RP/0/0/CPU0:router(config-atm-l2transport-pvc)# commit

Saves configuration changes.

When you issue the end command, the system prompts you to commit changes:

Uncommitted changes found, commit them before 
exiting(yes/no/cancel)? 
[cancel]:
 
        

Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode.

Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes.

Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes.

Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session.

Step 5 

Repeat Step 1 through Step 4 to bring up the ATM subinterface and any associated PVC at the other end of the AC.

Brings up the AC.

Note The configuration on both ends of the AC must match.

What to do Next

To configure optional PVC parameters, see the "Configuring Optional ATM Layer 2 PVC Parameters" section.

To configure a vc-class and apply it to the PVC, see the"Attaching a Vc-Class to a PVC on an ATM Subinterface" section.

To configure a point-to-point pseudowire XConnect on the AC you just created, see the "Implementing MPLS Layer 2 VPNs" module of Cisco IOS XR Multiprotocol Label Switching Configuration Guide.

Configuring Optional ATM Layer 2 PVC Parameters

This task describes the commands you can use to modify the default configuration on an ATM Layer 2 PVC.

Prerequisites

Before you can modify the default PVC configuration, you must create the PVC on a Layer 2 ATM subinterface, as described in the "Creating an ATM Layer 2 Subinterface with a PVC" section.

Restrictions

The configuration on both ends of the PVC must match for the connection to be active.

SUMMARY STEPS

1. configure

2. interface atm instance.subinterface l2transport

3. pvc vpi/vci

4. encapsulation {aal0 | aal5}

5. cell-packing cells timer

6. shape [cbr peak_output_rate | ubr peak_output_rate | vbr-nrt peak_output_rate sustained_output_rate burst_size| vbr-rt peak_output_rate sustained_output_rate burst_size]

7. end
or
commit

8. Repeat Step 1 through Step 7 to configure the PVC at the other end of the AC.

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

configure

Example:

RP/0/0/CPU0:router# configure

Enters global configuration mode.

Step 2 

interface atm instance.subinterface l2transport

Example:

RP/0/0/CPU0:router(config-if)# interface atm 0/6/0/1.10 l2transport

Enters ATM subinterface configuration mode for a Layer 2 ATM subinterface.

Step 3 

pvc vpi/vci

Example:

RP/0/0/CPU0:router(config-atm-l2transport-pvc)# pvc 5/20

Enters ATM Layer 2 transport PVC configuration mode for the specified PVC.

Step 4 

encapsulation {aal0 | aal5}

Example:

RP/0/0/CPU0:router(config-atm-l2transport-pvc)# encapsulation aal5

Configures the ATM adaptation layer (AAL) and encapsulation type for a PVC.

Note The default encapsulation type for a PVC is AAL5.

Step 5 

cell-packing cells timer

Example:

RP/0/0/CPU0:router(config-atm-l2transport-pvc)# cell-packing 5 2

Sets the maximum number of cells allowed per packet, and specifies a maximum cell packing timeout (MCPT) timer to use for cell packing.

Replace cells with the maximum number of cells to use per packet. Range is from 2 through 86.

Replace timer with the number that indicates the appropriate MCPT timer to use for cell packing. Can be 1, 2, or 3. You can configure up to three different MCPT values for a single main interface.

Step 6 

shape [cbr peak_output_rate | ubr peak_output_rate| vbr-nrt peak_output_rate sustained_output_rate burst_size| vbr-rt peak_output_rate sustained_output_rate burst_size]

Example:

RP/0/0/CPU0:router(config-atm-l2transport-pvc)# shape vbr-nrt 100000 100000 8000

Configures ATM traffic shaping for the PVC.

You must estimate how much bandwidth is required before you configure ATM traffic shaping.

peak_output_rate—Configures the maximum cell rate that is always available for the traffic.

Sustained_output_rate—Sustained output rate for the bit rate.

burst size—Burst cell size for the bit rate. Range is from 1 through 8192.

Step 7 

end

or

commit

Example:

RP/0/0/CPU0:router(config-atm-l2transport-pvc)#  end

or

RP/0/0/CPU0:router(config-atm-l2transport-pvc)# commit

Saves configuration changes.

When you issue the end command, the system prompts you to commit changes:

Uncommitted changes found, commit them before 
exiting(yes/no/cancel)? 
[cancel]:
 
        

Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode.

Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes.

Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes.

Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session.

Step 8 

Repeat Step 1 through Step 7 to configure the PVC at the other end of the AC.

Brings up the AC.

Note The configuration on both ends of the connection must match.

What to do Next

To configure a pseudo-wire XConnect on the AC you just created, see the "Implementing MPLS Layer 2 VPNs" module of Cisco IOS XR Multiprotocol Label Switching Configuration Guide.

To configure a vc-class and apply it to the PVC, see the"Attaching a Vc-Class to a PVC on an ATM Subinterface" section.

Creating an ATM Layer 2 Subinterface with a PVP

The procedure in this section creates an ATM Layer 2 subinterface with a permanent virtual path (PVP) on that ATM subinterface.

Prerequisites

Before you can create a subinterface with a PVP on an ATM interface, you must bring up an ATM interface, as described in the "Bringing Up an ATM Interface" section.

Restrictions

Only one PVP can be configured for each L2VPN ATM AC.

F4 OAM emulation is not supported on Layer 2 PVPs.

SUMMARY STEPS

1. configure

2. interface atm instance.subinterface l2transport

3. pvp vpi

4. end
or
commit

5. Repeat Step 1 through Step 4 to bring up the ATM subinterface and any associated PVP at the other end of the AC.

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

configure

Example:

RP/0/0/CPU0:router# configure

Enters global configuration mode.

Step 2 

interface atm instance.subinterface l2transport

Example:

RP/0/0/CPU0:router(config)# interface atm 0/6/0/1.10 l2transport

Creates an ATM subinterface and enters ATM layer2 transport configuration mode for that subinterface.

Step 3 

pvp vpi

Example:

RP/0/0/CPU0:router(config-if)# pvp 100

(Optional) Creates an ATM PVP and enters ATM PVP configuration submode.

Note Only one PVP is allowed per subinterface.

Step 4 

end

or

commit

Example:

RP/0/0/CPU0:router(config-atm-l2transport-pvp)#  end

or

RP/0/0/CPU0:router(config-atm-l2transport-pvp)# commit

Saves configuration changes.

When you issue the end command, the system prompts you to commit changes:

Uncommitted changes found, commit them before 
exiting(yes/no/cancel)? 
[cancel]:
 
        

Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode.

Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes.

Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes.

Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session.

Step 5 

Repeat Step 1 through Step 4 to bring up the ATM subinterface and any associated PVP at the other end of the AC.

Brings up the ATM AC.

Note The configuration on both ends of the AC connection must match.

What to do Next

To configure optional PVP parameters, see the "Configuring Optional ATM Layer 2 PVP Parameters" section.

To configure a point-to-point pseudowire XConnect on the AC you just created, see the "Implementing MPLS Layer 2 VPNs" module of Cisco IOS XR Multiprotocol Label Switching Configuration Guide.

Configuring Optional ATM Layer 2 PVP Parameters

This task describes the commands you can use to modify the default configuration on an ATM Layer 2 PVP.

Prerequisites

Before you can modify the default PVP configuration, you must create the PVP on an ATM subinterface, as described in the "Creating an ATM Layer 2 Subinterface with a PVP" section.

Restrictions

The following cards do not support Vp-tunnels with a VPI of 0:

4-Port OC-3c/STM-1c ATM ISE Line Card, multimode

4-Port OC-3c/STM-1c ATM ISE Line Card, single-mode

4-port OC-12/STM-4 ATM multimode ISE line card with SC connector

Series 4-port OC-12/STM-4 ATM single-mode, intermediate-reach ISE line card with SC Connector

SUMMARY STEPS

1. configure

2. interface atm instance.subinterface l2transport

3. pvp vpi

4. cell-packing cells timer

5. shape [cbr peak_output_rate | ubr peak_output_rate | vbr-nrt peak_output_rate sustained_output_rate burst_size| vbr-rt peak_output_rate sustained_output_rate burst_size]

6. end
or
commit

7. Repeat Step 1 through Step 6 to configure the PVP at the other end of the connection.

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

configure

Example:

RP/0/0/CPU0:router# configure

Enters global configuration mode.

Step 2 

interface atm instance.subinterface l2transport

Example:

RP/0/0/CPU0:router(config)# interface atm 0/6/0/1.10 l2transport

Enters ATM subinterface configuration mode.

Step 3 

pvp vpi

Example:

RP/0/0/CPU0:router(config-if)# pvp 10

Enters subinterface configuration mode for the PVP.

Step 4 

cell-packing cells timer

Example:

RP/0/0/CPU0:router(config-atm-l2transport-pvp)# cell-packing 5 2

Sets the maximum number of cells allowed per packet, and specifies a maximum cell packing timeout (MCPT) timer to use for cell packing.

Replace cells with the maximum number of cells to use per packet. Range is from 2 through 86.

Replace timer with the number that indicates the appropriate MCPT timer to use for cell packing. Can be 1, 2, or 3. You can configure up to three different MCPT values for a single main interface.

Step 5 

shape [cbr peak_output_rate | ubr peak_output_rate| vbr-nrt peak_output_rate sustained_output_rate burst_size| vbr-rt peak_output_rate sustained_output_rate burst_size]

Example:

RP/0/0/CPU0:router(config-atm-l2transport-pvp)# shape vbr-nrt 100000 100000 8000

Configures ATM traffic shaping for the PVC.

You must estimate how much bandwidth is required before you configure ATM traffic shaping.

peak_output_rate—Configures the maximum cell rate that is always available for the traffic.

Sustained_output_rate—Sustained output rate for the bit rate.

burst size—Burst cell size for the bit rate. Range is from 1 through 8192.

Step 6 

end

or

commit

Example:

RP/0/0/CPU0:router(config-atm-l2transport-pvp)#  end

or

RP/0/0/CPU0:router(config-atm-l2transport-pvp)# commit

Saves configuration changes.

When you issue the end command, the system prompts you to commit changes:

Uncommitted changes found, commit them before 
exiting(yes/no/cancel)? 
[cancel]:
 
        

Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode.

Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes.

Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes.

Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session.

Step 7 

Repeat Step 1 through Step 6 to configure the PVP at the other end of the AC.

Brings up the AC.

Note The configuration on both ends of the AC connection must match.

What to do Next

To configure a point-to-point pseudowire XConnect on the AC you just created, see the "Implementing MPLS Layer 2 VPNs" module of Cisco IOS XR Multiprotocol Label Switching Configuration Guide.

How to Create and Configure a Vc-Class

The configuration tasks for creating and configuring an ATM Vc-Class are described in the following procedures:

Creating and Configuring a VC-Class

Attaching a Vc-Class to a Point-to-Point ATM Main Interface

Attaching a Vc-Class to a Point-to-Point ATM Subinterface

Attaching a Vc-Class to a PVC on an ATM Subinterface

Creating and Configuring a VC-Class

This section describes the tasks and commands required to create a virtual circuit (VC) class and attach it to an ATM main interface, subinterface, or permanent virtual circuit (PVC).

Restrictions

For Layer 2 VPN AC configurations, Vc-classes can be applied to PVCs only. Vc-classes are not supported on Layer 2 port mode interfaces or PVPs.

SUMMARY STEPS

1. configure

2. vc-class atm name

3. encapsulation {aal5mux ipv4 | aal5nlpid | aal5snap}

4. oam ais-rdi [down-count [up-count]]

5. oam retry [up-count [down-count [retry-frequency]]]

6. oam-pvc manage seconds

7. shape [cbr peak_output_rate | ubr peak_output_rate | vbr-nrt peak_output_rate sustained_output_rate burst_size| vbr-rt peak_output_rate sustained_output_rate burst_size]

8. end
or
commit

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

configure

Example:

RP/0/0/CPU0:router# configure

Enters global configuration mode.

Step 2 

vc-class atm name

Example:

RP/0/0/CPU0:router (config)# vc-class atm class1

Creates a vc-class for an ATM interface and enters vc-class configuration mode.

Step 3 

encapsulation {aal5mux ipv4 | aal5nlpid | aal5snap}

Example:

RP/0/0/CPU0:router (config-vc-class-atm)# encapsulation aal5snap

Configures the ATM adaptation layer (AAL) and encapsulation type for an ATM vc-class.

Note The default encapsulation type for a vc-class is AAL5/SNAP

Note In Vc-classes, the encapsulation command applies to Layer 3 Point-to-point configurations only.

Step 4 

oam ais-rdi [down-count [up-count]]

Example:

RP/0/0/CPU0:router (config-vc-class-atm)# oam ais-rdi 25 5

Configures the vc-class so that it is brought down after a specified number of OAM alarm indication signal/remote defect indication (AIS/RDI) cells are received on the associated PVC.

Note In Vc-classes, the oam ais-rdi command applies to Layer 3 Point-to-point configurations only.

Step 5 

oam retry [up-count [down-count [retry-frequency]]]

Example:

RP/0/0/CPU0:router (config-vc-class-atm)# oam retry 5 10 5

Configures parameters related to OAM management.

Note In Vc-classes, the oam retry command applies to Layer 3 Point-to-point configurations only.

Step 6 

oam-pvc manage seconds

Example:

RP/0/0/CPU0:router (config-vc-class-atm)# oam-pvc manage 300

Configures the ATM OAM F5 loopback frequency.

Note In Vc-classes, the oam-pvc manage command applies to Layer 3 Point-to-point configurations only.

Step 7 

shape [cbr peak_output_rate | ubr peak_output_rate | vbr-nrt peak_output_rate sustained_output_rate burst_size| vbr-rt peak_output_rate sustained_output_rate burst_size]

Example:

RP/0/0/CPU0:router (config-vc-class-atm)# shape vbr-nrt 100000 100000 8000

Configures ATM traffic shaping for the PVC.

You must estimate how much bandwidth is required before you configure ATM traffic shaping.

peak_output_rate—Configures the maximum cell rate that is always available for the traffic.

Sustained_output_rate—Sustained output rate for the bit rate.

burst size—Burst cell size for the bit rate. Range is from 1 through 8192.

Step 8 

end

or

commit

Example:

RP/0/0/CPU0:router (config-if)# end

or

RP/0/0/CPU0:router(config-if)# commit

Saves configuration changes.

When you issue the end command, the system prompts you to commit changes:

Uncommitted changes found, commit them before 
exiting(yes/no/cancel)? 
[cancel]:
 
        

Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode.

Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes.

Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes.

Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session.

What to do Next

Attach the vc-class to an ATM main interface, subinterface, or PVC.

To attach a vc-class to an ATM main interface, see the "Attaching a Vc-Class to a Point-to-Point ATM Main Interface" section.

To attach a vc-class to an ATM subinterface, see the "Attaching a Vc-Class to a Point-to-Point ATM Subinterface" section.

To attach a vc-class to an ATM PVC, see the "Attaching a Vc-Class to a PVC on an ATM Subinterface" section.

Attaching a Vc-Class to a Point-to-Point ATM Main Interface

This section describes the tasks and commands required to attach a vc-class to a point-to-point ATM main interface.

Restrictions

Vc-classes are not applicable to Layer 2 port mode ACs. For Layer 2 VPN configurations, Vc-classes are applicable to the PVC only.

SUMMARY STEPS

1. configure

2. interface atm instance point-to-point

3. class-int vc-class-name

4. end
or
commit

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

configure

Example:

RP/0/0/CPU0:router# configure

Enters global configuration mode.

Step 2 

interface atm instance point-to-point

Example:

RP/0/0/CPU0:router (config)# interface atm 0/6/0/1 point-to-point

Enters ATM interface configuration mode.

Step 3 

class-int vc-class-name

Example:

RP/0/0/CPU0:router (config-if)# class-int classA

Attaches the vc-class to an ATM main interface. Replace the vc-class-name argument with the name of the vc-class you configured in the "Creating and Configuring a VC-Class" section.

Step 4 

end

or

commit

Example:

RP/0/0/CPU0:router (config-if)# end

or

RP/0/0/CPU0:router(config-if)# commit

Saves configuration changes.

When you issue the end command, the system prompts you to commit changes:

Uncommitted changes found, commit them before 
exiting(yes/no/cancel)? 
[cancel]:
 
        

Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode.

Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes.

Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes.

Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session.

Attaching a Vc-Class to a Point-to-Point ATM Subinterface

This section describes the tasks and commands required to attach a vc-class to an ATM subinterface.

SUMMARY STEPS

1. configure

2. interface atm instance.subinterface point-to-point

3. class-int vc-class-name

4. end
or
commit

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

configure

Example:

RP/0/0/CPU0:router# configure

Enters global configuration mode.

Step 2 

interface atm instance.subinterface point-to-point

Example:

RP/0/0/CPU0:router (config)# interface atm 0/6/0/1.10 point-to-point

Enters ATM subinterface configuration mode.

Step 3 

class-int vc-class-name

Example:

RP/0/0/CPU0:router (config-subif)# class-int classA

Assigns the vc-class to an ATM subinterface. Replace the vc-class-name argument with the name of the vc-class you configured in the "Creating and Configuring a VC-Class" section.

Step 4 

end

or

commit

Example:

RP/0/0/CPU0:router (config-subif)# end

or

RP/0/0/CPU0:router(config-subif)# commit

Saves configuration changes.

When you issue the end command, the system prompts you to commit changes:

Uncommitted changes found, commit them before 
exiting(yes/no/cancel)? 
[cancel]:
 
        

Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode.

Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes.

Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes.

Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session.

Attaching a Vc-Class to a PVC on an ATM Subinterface

This section describes the tasks and commands required to attach a vc-class to a PVC on an ATM subinterface.


Note Vc-classes are supported on point-to-point and Layer 2 PVCs.


SUMMARY STEPS

1. configure

2. interface atm instance[.subinterface] [point-to-point | l2transport]

3. pvc vpi/vci

4. class vc vc-class-name

5. end
or
commit

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

configure

Example:

RP/0/0/CPU0:router# configure

Enters global configuration mode.

Step 2 

interface atm instance.subinterface [point-to-point | l2transport]

Example:

RP/0/0/CPU0:router (config)# interface atm 0/6/0/1.10

Enters subinterface configuration mode and creates the ATM subinterface if it does not already exist.

Use the point-to-point keyword if you are attaching the vc-class to a point-to-point subinterface. Use the l2transport keyword if you are attaching the vc-class to a Layer 2 transport subinterface.

Note For more information on creating and configuring ATM subinterfaces, see the "Creating a Point-to-Point ATM Subinterface with a PVC" section.

Step 3 

pvc vpi/vci

Example:

RP/0/0/CPU0:router (config-if)# pvc 5/50

Enters ATM PVC configuration mode and creates the PVC if it does not already exist.

Note For more information on creating and configuring PVCs on ATM subinterfaces, see the "Creating a Point-to-Point ATM Subinterface with a PVC" section.

Step 4 

class-vc vc-class-name

Example:

RP/0/0/CPU0:router (config-atm-vc)# class-vc classA

Assigns a vc-class to an ATM PVC. Replace the vc-class-name argument with the name of the vc-class you want to attach to the PVC.

Step 5 

end

or

commit

Example:

RP/0/0/CPU0:router (config-if)# end

or

RP/0/0/CPU0:router(config-if)# commit

Saves configuration changes.

When you issue the end command, the system prompts you to commit changes:

Uncommitted changes found, commit them before 
exiting(yes/no/cancel)? 
[cancel]:
 
        

Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode.

Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes.

Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes.

Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session.

How to Configure ILMI on ATM Interfaces

The configuration tasks for managing ILMI on ATM interfaces are described in the following procedures:

Enabling ILMI on an ATM Interface

Disabling ILMI on an ATM Interface

Enabling ILMI on an ATM Interface

This task describes the commands you can use to configure an ATM interface for ILMI.


Note For ILMI, a PVC is configured directly on the ATM main interface. Subinterface configuration is not necessary for ATM interfaces that are used for ILMI.


Prerequisites

Bring up the ATM interface and remove the shutdown configuration, as described in the "Bringing Up an ATM Interface" section.

Restrictions

The configuration on both ends of the ATM ILMI connection must match for the interface to be active.

ILMI configuration is not supported on Layer 2 port mode ACs.

SUMMARY STEPS

1. configure

2. interface atm instance

3. atm address-registration

4. atm ilmi-keepalive [act-poll-freq frequency] [retries count] [inact-poll-freq frequency]

5. pvc vpi/vci ilmi

6. end
or
commit

7. exit

8. exit

9. show atm ilmi-status [atm instance]

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

configure

Example:

RP/0/0/CPU0:router# configure

Enters global configuration mode.

Step 2 

interface atm instance

Example:

RP/0/0/CPU0:router (config)# interface atm 0/6/0/1

Enters ATM interface configuration mode.

Step 3 

atm address-registration

Example:

RP/0/0/CPU0:router (config-if)# atm address-registration

(Optional) Enables the router to engage in address registration and callback functions with the Interim Local Management Interface (ILMI).

Step 4 

atm ilmi-keepalive [act-poll-freq frequency] [retries count] [inact-poll-freq frequency]

Example:

RP/0/0/CPU0:router (config-if)# atm ilmi-keepalive

(Optional) Enables ILMI keepalives on an ATM interface.

Step 5 

pvc vpi/vci ilmi

Example:

RP/0/0/CPU0:router (config-if)# pvc 5/30 ilmi

Creates an ATM permanent virtual circuit (PVC) with ILMI encapsulation.

Step 6 

end

or

commit

Example:

RP/0/0/CPU0:router (config-if)# end

or

RP/0/0/CPU0:router(config-if)# commit

Saves configuration changes.

When you issue the end command, the system prompts you to commit changes:

Uncommitted changes found, commit them before 
exiting(yes/no/cancel)? 
[cancel]:
 
        

Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode.

Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes.

Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes.

Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session.

Step 7 

exit

Example:

RP/0/0/CPU0:router (config-if)# exit

Exits interface configuration mode and enters global configuration mode.

Step 8 

exit

Example:

RP/0/0/CPU0:router (config)# exit

Exits global configuration mode and enters EXEC mode.

Step 9 

show atm ilmi-status [atm instance]

Example:

RP/0/0/CPU0:router (config)# show atm ilmi-status atm 0/6/0/1

(Optional) Verifies the ILMI configuration for the specified interface.

Disabling ILMI on an ATM Interface

This task describes the commands you can use to disable ILMI on an ATM interface.

SUMMARY STEPS

1. configure

2. interface atm instance

3. atm ilmi-config disable

4. end
or
commit

5. exit

6. exit

7. show atm ilmi-status [atm instance]

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

configure

Example:

RP/0/0/CPU0:router# configure

Enters global configuration mode.

Step 2 

interface atm instance

Example:

RP/0/0/CPU0:router (config)# interface atm 0/6/0/1

Enters ATM interface configuration mode.

Step 3 

atm ilmi-config disable

Example:

RP/0/0/CPU0:router (config-if)# atm ilmi-config disable

(Optional) Disables ILMI on the ATM interface.

To re-enable ILMI on an ATM interface, use the no atm ilmi-config disable form of this command.

Step 4 

end

or

commit

Example:

RP/0/0/CPU0:router (config-if)# end

or

RP/0/0/CPU0:router(config-if)# commit

Saves configuration changes.

When you issue the end command, the system prompts you to commit changes:

Uncommitted changes found, commit them before 
exiting(yes/no/cancel)? 
[cancel]:
 
        

Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode.

Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes.

Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes.

Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session.

Step 5 

exit

Example:

RP/0/0/CPU0:router (config-if)# exit

Exits interface configuration mode and enters global configuration mode.

Step 6 

exit

Example:

RP/0/0/CPU0:router (config)# exit

Exits global configuration mode and enters EXEC mode.

Step 7 

show atm ilmi-status [atm instance]

Example:

RP/0/0/CPU0:router (config)# show atm ilmi-status atm 0/6/0/1

(Optional) Verifies the ILMI configuration for the specified interface.

Configuration Examples for Configuring ATM on Cisco IOS XR Software

This section provides the following configuration examples:

ATM Interface Bring Up and Configuration: Example

Point-To-Point ATM Subinterface Configuration: Example

VP-Tunnel Configuration: Example

Layer 2 AC Creation and Configuration: Example

VC-Class Creation and Configuration: Example

ATM Interface Bring Up and Configuration: Example

The following example shows how to bring up and configure an ATM interface:

RP/0/0/CPU0:router # configure
RP/0/0/CPU0:router(config)# interface atm 0/6/0/0
RP/0/0/CPU0:router(config-if)# atm address-registration
RP/0/0/CPU0:router(config-if)# no shutdown

RP/0/0/CPU0:router(config-if)# commit

Point-To-Point ATM Subinterface Configuration: Example

The following example shows how to configure a point-to-point ATM subinterface on an ATM main interface:

RP/0/0/CPU0:router # configure
RP/0/0/CPU0:router (config)# interface atm 0/2/0/2.1 point-to-point
RP/0/0/CPU0:router (config-if)# ipv4 address 10.46.8.6/24
RP/0/0/CPU0:router (config-if)# pvc 0/200
RP/0/0/CPU0:router (config-atm-vc)# commit
RP/0/0/CPU0:router (config-atm-vc)# exit
RP/0/0/CPU0:router (config-if)# exit
RP/0/0/CPU0:router (config)# exit
 
   
RP/0/0/CPU0:router # show interfaces atm 0/2/0/2.1
 
   
ATM0/2/0/2.1 is up, line protocol is up
  Hardware is ATM network sub-interface(s)
  Description: Connect to P4_C12810 ATM 1/2.1
  Internet address is 10.46.8.6/24
  MTU 4470 bytes, BW 155000 Kbit
     reliability Unknown, txload Unknown, rxload Unknown
  Encapsulation AAL5/SNAP, controller loopback not set,
  Last clearing of "show interface" counters Unknown
  Datarate information unavailable.
  Interface counters unavailable.
 
   
RP/0/0/CPU0:router # show atm interface atm 0/2/0/2
 
   
Interface                             : ATM0/2/0/2
AAL Enabled                           : AAL5
Max-VP                                : 254
Max-VC                                : 2048
Configured VP-Tunnels                 : 0
Configured PVCs                       : 4
VP-Tunnels in Down State              : 0
PVCs in Down State                    : 4
 
   
Received Side Statistics:
    Received Cells                    : 1691252892
    Received Bytes                    : 480532
    Received AAL Packets              : 9241
 
   
Receive Side Cells Dropped:
    Unrecognized VPI/VCI              : 64
 
   
Receive Side AAL5 Packets Dropped:
    Unavailable SAR Buffer            : 0
    Non-Resource Exhaustion           : 0
    Reassembly Timeout                : 0
    CRC-32 Errors                     : 0
    Zero Length                       : 0
 
   
RP/0/0/CPU0:router # show atm pvc 0/200
 
   
Detailed display of VC(s) with VPI/VCI = 0/200
 
   
ATM0/2/0/0.1: VPI: 0 VCI: 200
CBR, PeakRate: 100000 Kbps
AAL5-LLC/SNAP
OAM frequency: 300 second(s), OAM retry frequency: 1 second(s), 
OAM up retry count: 3, OAM down retry count: 5, 
OAM Keep-vc-up: False, OAM AIS-RDI failure: None, 
OAM AIS-RDI down count: 1, OAM AIS-RDI up time: 3 second(s), 
OAM Loopback status: No loopback enabled,
OAM VC state: Loopback verified,
VC is managed by OAM,
 
   
OAM cells received: 2290,
F5 InEndLoop: 2290, F5 InSegLoop: 0,
F5 InEndAIS: 0,  F5 InSegAIS: 0,
F5 InEndRDI: 0,  F5 InSegRDI: 0,
OAM cells sent: 2290,
F5 OutEndLoop: 2290, F5 OutSegLoop: 0,
F5 OutEndAIS: 0,  F5 OutSegAIS: 0,
F5 OutEndRDI: 0,  F5 OutSegRDI: 0,
OAM cells drops: 0
 
   
InPkts: 2290                 OutPkts: 2290
InBytes: 119080              OutBytes: 119080
WRED pkt drop: 0
Non WRED pkt drop: 0
 
   
Internal state: READY
Status: UP
 
   

VP-Tunnel Configuration: Example

The following example shows how to configure one endpoint of a vp-tunnel on an ATM main interface:

RP/0/0/CPU0:router # configure
RP/0/0/CPU0:router(config)# interface atm 0/6/0/0
RP/0/0/CPU0:router(config-if)# vp-tunnel 10
RP/0/0/CPU0:router(config-atm-vp-tunnel)# shape cbr 150000
RP/0/0/CPU0:router(config-atm-vp-tunnel)# f4oam disable

RP/0/0/CPU0:router(config-atm-vp-tunnel)# commit

RP/0/0/CPU0:router(config-atm-vp-tunnel)# exit

RP/0/0/CPU0:router(config-if)# exit

RP/0/0/CPU0:router(config)# exit

RP/0/0/CPU0:router# show atm vp-tunnel

Data Peak Avg/Min Burst

Interface VPI SC VCs Kbps Kbps Cells Status

ATM0/2/0/3 30 UBR 2 155000 N/A N/A UP

The following example shows how to create and configure an ATM subinterface and PVC on one endpoint of a a vp-tunnel, and then verify connectivity through that vp-tunnel:

RP/0/0/CPU0:router # configure
RP/0/0/CPU0:router(config)# interface atm 0/6/0/0.16 point-to-point
RP/0/0/CPU0:router(config-subif)# pvc 10/100
RP/0/0/CPU0:router (config-atm-vc)# commit
RP/0/0/CPU0:router (config-subif)# exit
RP/0/0/CPU0:router (config)# exit
RP/0/0/CPU0:router # ping atm interface atm 0/6/0/0.16 10/100
 
   
Sending 5, 53-byte end-to-end OAM echos, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/3/4 ms

Layer 2 AC Creation and Configuration: Example

The following example shows how to create and configure one endpoint of a Layer 2 port mode AC:

RP/0/0/CPU0:router# configure

RP/0/0/CPU0:router (config)# interface atm 0/6/0/1

RP/0/0/CPU0:router (config-if)# l2transport
RP/0/0/CPU0:router (config-if-l2)# cell-packing 6 1 

RP/0/0/CPU0:router(config-if-l2)# commit

The following example shows how to create and configure an AC on a Layer 2 subinterface with a PVC:

RP/0/0/CPU0:router# configure

RP/0/0/CPU0:router(config)# interface atm 0/1/0/0.230 l2transport

RP/0/0/CPU0:router(config-if)# pvc 15/230

RP/0/0/CPU0:router(config-atm-l2transport-pvc)# encapsulation aal0

RP/0/0/CPU0:router(config-atm-l2transport-pvc)# cell-packing 5 2

RP/0/0/CPU0:router(config-atm-l2transport-pvc)# shape cbr 622000

RP/0/0/CPU0:router(config-atm-l2transport-pvc)# commit

RP/0/0/CPU0:router(config-atm-l2transport-pvc)#

RP/0/0/CPU0:router(config-if)# exit

RP/0/0/CPU0:router(config)# exit

RP/0/0/CPU0:router# show atm pvc
 
   
                                              Peak  Avg/Min  Burst
Interface          VPI  VCI Type  Encaps  SC   Kbps   Kbps    Cells  Sts
ATM0/1/0/0.230      15  230 PVC   AAL0   UBR  622000    N/A     N/A   UP
ATM0/1/0/3.19       17   19 PVC   SNAP   UBR  622000    N/A     N/A   UP

The following example shows how to create and configure an AC on an ATM subinterface with a PVP:

RP/0/0/CPU0:router# configure

RP/0/0/CPU0:router(config)# interface atm 0/6/0/1.10 l2transport

RP/0/0/CPU0:router(config-if)# pvp 100

RP/0/0/CPU0:router(config-atm-l2transport-pvp)# cell-packing 5 2

RP/0/0/CPU0:router(config-atm-l2transport-pvp)# shape ubr 155000

RP/0/0/CPU0:router(config-atm-l2transport-pvp)# commit

RP/0/0/CPU0:router# show atm pvp interface atm 0/6/0/1
 
   
                                   Peak  Avg/Min   Burst
Interface          VPI  SC         Kbps     Kbps   Cells      Sts
ATM0/6/0/1.10      100  UBR       155000    N/A      N/A        UP

VC-Class Creation and Configuration: Example

The following example shows how to configure a vc-class:

RP/0/0/CPU0:router # configure
RP/0/0/CPU0:router(config)# vc-class atm atm-class-1
RP/0/0/CPU0:router(config-vc-class-atm)# encapsulation aal5snap
RP/0/0/CPU0:router(config-vc-class-atm)# oam ais-rdi 25 5 
RP/0/0/CPU0:router(config-vc-class-atm)# oam retry 5 10 5 
RP/0/0/CPU0:router(config-vc-class-atm)# oam-pvc manage 300 
RP/0/0/CPU0:router(config-vc-class-atm)# shape cbr 100000

RP/0/0/CPU0:router(config-vc-class-atm)# commit

The following example shows how to attach a vc-class to an ATM main interface:

RP/0/0/CPU0:router # configure
RP/0/0/CPU0:router(config)# interface ATM0/2/0/0.1 point-to-point
RP/0/0/CPU0:router (config-if)# class-int atm-class-1
RP/0/0/CPU0:router (config-if)# commit 
 
   

The following example shows how to attach a vc-class to an ATM subinterface:

RP/0/0/CPU0:router # configure
RP/0/0/CPU0:router(config)# interface ATM0/2/0/0.1 point-to-point
RP/0/0/CPU0:router(config-if)# pvc 10/100
RP/0/0/CPU0:router (config-atm-vc)# class-vc atm-class-1
RP/0/0/CPU0:router (config-atm-vc)# commit 
 
   

The following example shows how to display information about a specific ATM vc-class:

RP/0/0/CPU0:router # show atm vc-class atm-class-1
ATM vc-class atm-class-1
 
   
  encapsulation          -    aal5snap
  shape                  -    cbr 100000
  oam ais-rdi            -    not configured
  oam retry              -    not configured
  oam-pvc                -    manage 300
 
   

The following example shows how to display configuration information for the parameters on a virtual circuit (VC) class that is associated with a particular PVC:

RP/0/0/CPU0:router # show atm class-link 10/100
 
   
Detailed display of VC(s) with VPI/VCI = 10/100
 
   
Class link for VC 10/100
ATM0/2/0/0.1: VPI: 10 VCI: 100
shape : cbr 100000 (VC-class configured on VC)
encapsulation : aal5snap (VC-class configured on VC)
oam-pvc : manage 300   (VC-class configured on VC)
oam retry : 3 5 1 (Default value)
oam ais-rdi : 1 3 (Default value)

Additional References

The following sections provide references related to implementing ATM for Cisco IOS XR software.

Related Documents

Related Topic
Document Title

ATM commands: complete command syntax, command modes, command history, defaults, usage guidelines, and examples

Cisco IOS XR Interface and Hardware Command Reference


Standards

Standards
Title

No new or modified standards are supported by this feature, and support for existing standards has not been modified by this feature.


MIBs

MIBs
MIBs Link

To locate and download MIBs using Cisco IOS XR software, use the Cisco MIB Locator found at the following URL and choose a platform under the Cisco Access Products menu: http://cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml


RFCs

RFCs
Title

RFC 1483

Multiprotocol Encapsulation over ATM Adaptation Layer 5

RFC 1577

Classical IP and ARP over ATM.

RFC 2225

Classical IP and ARP over ATM

RFC 2255

The LDAP URL Format

RFC 2684

Multiprotocol Encapsulation over ATM Adaptation Layer 5.

RFC 4385

Pseudowire Emulation Edge-to-Edge (PWE3) Control Word for Use over an MPLS PSN

RFC 4717

Encapsulation Methods for Transport of Asynchronous Transfer Mode (ATM) over MPLS Networks

RFC 4816

Pseudowire Emulation Edge-to-Edge (PWE3) Asynchronous Transfer Mode (ATM) Transparent Cell Transport Service


Technical Assistance

Description
Link

The Cisco Technical Support website contains thousands of 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/techsupport