Configuration Tasks for L2VPN
The OAM cells include the following:
•
•
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.
Note
For AAL5 SDU support over MPLS, you can configure the oam-pvc manage command only after you
issue the oam-ac emulation-enable command.
You can configure OAM cell emulation for ATM AAL5 SDU support over MPLS in the following ways:
•
•
Configuring OAM Cell Emulation for ATM AAL5 SDU Support over MPLS on PVCs
To configure OAM cell emulation for ATM AAL5 SDU support over MPLS on a PVC, enter the
following commands beginning in global configuration mode:
Command
Step 1
Router(config)# interface type slot/port
Step 2
Router(config-if)# pvc [name] vpi/vci
l2transport
Step 3
Router(config-if-atm-l2trans-pvc)#
encapsulation aal5
Step 4
Router(config-if-atm-l2trans-pvc)# xconnect
peer-router-id vcid encapsulation mpls
Step 5
Router(config-if-atm-l2trans-pvc)# oam-ac
emulation-enable [ais-rate]
Step 6
Router(config-if-atm-l2trans-pvc)# oam-pvc
manage [frequency]
Cisco 10000 Series Router Software Configuration Guide
20-16
Alarm indication signal (AIS)
Remote defect indication (RDI)
Configuring OAM Cell Emulation for ATM AAL5 SDU Support over MPLS on PVCs, page 20-16
Configuring OAM Cell Emulation for ATM AAL5 SDU Support over MPLS in VC Class
Configuration Mode, page 20-18
Chapter 20
Purpose
Specifies the interface by type, slot, and port number, and
enters interface configuration mode.
Creates or assigns a name to an ATM PVC.
The l2transport keyword indicates that the PVC is a
switched PVC instead of a terminated PVC. Enters L2
Transport VC configuration mode.
Specifies ATM AAL5 encapsulation for the PVC.
Make sure you specify the same encapsulation type on the
PE and CE routers.
Binds the attachment circuit to a pseudowire VC.
Enables OAM cell emulation for AAL5 over MPLS. The
ais-rate variable lets you specify the rate at which AIS cells
are sent.
The range is 0 to 60 seconds. The default is 1 second, which
means that one AIS cell is sent every second.
Enables the PVC to generate end-to-end OAM loopback
cells that verify connectivity on the virtual circuit.
The optional frequency variable is the interval between
transmission of loopback cells and ranges from 0 to 600
seconds. The default value is 10 seconds.
Configuring L2 Virtual Private Networks
OL-2226-23