Cisco 10000 User Manual

Page 386

Advertising
background image

18-18

Cisco 10000 Series Router Software Configuration Guide

OL-2226-23

Chapter 18 Configuring L2 Virtual Private Networks

Configuration Tasks for L2VPN

Configuring OAM Cell Emulation for ATM AAL5 SDU Support over MPLS in VC Class Configuration
Mode

The following steps explain how to configure OAM cell emulation as part of a VC class. You can then
apply the VC class to an interface, a subinterface, or a VC. When you configure OAM cell emulation in
VC class configuration mode and then apply the VC class to an interface, the settings in the VC class
apply to all the VCs on the interface, unless you specify a different OAM cell emulation value at a lower
level, such as the subinterface or VC level.

For example, you can create a VC class that specifies OAM cell emulation and sets the rate of AIS cells
to every 30 seconds. You can apply the VC class to an interface. Then, for one PVC, you can enable OAM
cell emulation and set the rate of AIS cells to every 15 seconds. All the PVCs on the interface use the
cell rate of 30 seconds, except for the one PVC that was set to 15 seconds.

To enable OAM cell emulation as part of a VC class and apply it to an interface, enter the following
commands beginning in global configuration mode:

Command

Purpose

Step 1

Router(config)# vc-class atm name

Creates a VC class and enters VC class
configuration mode.

Step 2

Router(config-vc-class)# encapsulation layer-type

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

Step 3

Router(config-vc-class)# oam-ac emulation-enable

[ais-rate]

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.

Step 4

Router(config-vc-class)# oam-pvc manage [frequency]

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.

Step 5

Router(config-vc-class)# exit

Returns to global configuration mode.

Step 6

Router(config)# interface type slot/port

Specifies the interface by type, slot, and port
number, and enters interface configuration mode.

Step 7

Router(config-if)# class-int vc-class-name

Applies a VC class to the ATM main interface or
subinterface.

Note

You can also apply a VC class to a PVC.

Step 8

Router(config-if)# pvc [name] vpi/vci l2transport

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.

Step 9

Router(config-if-atm-l2trans-pvc)# xconnect

peer-router-id vcid encapsulation mpls

Binds the attachment circuit to a pseudowire VC.

Advertising