Cisco 10000 User Manual

Page 381

Advertising
background image

18-13

Cisco 10000 Series Router Software Configuration Guide

OL-2226-23

Chapter 18 Configuring L2 Virtual Private Networks

Configuration Tasks for L2VPN

To set up a pseudowire connection or AToM circuit between two PE routers, enter the following
commands beginning in global configuration mode:

Example 18-2

shows a sample configuration for the ATM AAL5 SDU over MPLS transport. The PVC

on 0/100 is configured for AAL5 transport.

Example 18-2 ATM AAL5 SDU Support over MPLS

interface ATM4/0

pvc 0/100 l2transport

encapsulation aal5

xconnect 13.13.13.13 100 encapsulation mpls

Command

Purpose

Step 1

Router(config)# pseudowire-class name

(Optional) Establishes a pseudowire class with a name that you
specify and specifies the tunneling encapsulation. It is not
necessary to specify a pseudowire class if you specify the
tunneling method as part of the xconnect command.

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

Encapsulation type

Control protocol

Payload-specific options

Step 2

Router(config)# interface interface-type

interface-number

Defines the interface or subinterface on the PE router.

Step 3

Router(config-if)# encapsulation

encapsulation-type

Specifies the encapsulation type for the interface, such as
dot1q.

Step 4

Router(config-if)# xconnect peer-router-id

vcid encapsulation mpls

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

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

Note

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

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

Advertising