Cisco Systems 10000 Network Router User Manual


 
20-15
Cisco 10000 Series Router Software Configuration Guide
OL-2226-23
Chapter 20 Configuring L2 Virtual Private Networks
Configuration Tasks for L2VPN
1-port OC-12
To configure ATM-to-ATM PVC local switching, enter the following commands, beginning in global
configuration mode:
Example 20-5 shows how to enable ATM AAL5 SDU mode Layer 2 local switching.
Example 20-5 Enabling ATM AAL5 SDU Mode Layer 2 Local Switching
interface atm 1/0/0
pvc 0/100 l2transport
encapsulation aal5
interface atm 2/0/0
pvc 0/50 l2transport
encapsulation aal5
connect conn1 atm 1/0/0 0/100 atm 2/0/0 0/50
Configuring OAM Cell Emulation for ATM AAL5 SDU Support over MPLS
If a PE router does not support the transport of Operation, Administration, and Maintenance (OAM) cells
across an LSP, you can use OAM cell emulation to locally terminate or loop back 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 and oam-pvc manage commands 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 is 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.
Command Purpose
Step 1
Router(config)# interface atm slot/port
Specifies an ATM interface and enters interface
configuration mode.
Step 2
Router(config-if)# pvc vpi/vci l2transport
Assigns a virtual path identifier (VPI) and virtual channel
identifier (VCI).
The l2transport keyword indicates that the permanent
virtual circuit (PVC) is a switched PVC instead of a
terminated PVC.
Step 3
Router(cfg-if-atm-l2trans-pvc)# encapsulation
layer-type
Specifies the encapsulation type for the PVCs, AAL5 is the
only layer type supported.
Repeat Steps 1, 2, and 3 for another ATM PVC on the same
router.
Step 4
Router(config)# connect connection-name
interface pvc interface pvc
Creates a local connection between the two specified PVCs.