Specifications

Table Of Contents
xconnect
MP-898
Cisco IOS Multiprotocol Label Switching Command Reference
January 2010
For L2TPv3, if you do not enter the encapsulation l2tpv3 manual keywords in the xconnect command,
the data encapsulation type for the L2TPv3 session is taken from the encapsulation type configured for
the pseudowire class specified with the pseudowire-class pw-class-name command.
The pw-class keyword with the pw-class-name value binds the xconnect configuration of an attachment
circuit to a specific pseudowire class. In this way, the pseudowire class configuration serves as a template
that contains settings used by all attachment circuits bound to it with the xconnect command.
Software prior to Cisco IOS Release 12.2(33)SRB configured pseudowires dynamically using Label
D
istribution Protocol (LDP) or another directed control protocol to exchange the various parameters
required for these connections. In environments that do not or cannot use directed control protocols, the
xconnect command allows provisioning an AToM static pseudowire. Use the manual keyword in the
xconnect command to place the router in xconnect configuration mode. MPLS pseudowire labels are
configured using the mpls label and (optionally) mpls control-word commands in xconnect
configuration mode.
Examples The following example configures xconnect service for an Ethernet interface by binding the Ethernet
c
ircuit to the pseudowire named 123 with a remote peer 10.0.3.201. The configuration settings in the
pseudowire class named vlan-xconnect are used.
Router(config)# interface Ethernet0/0.1
Router(config-if)# xconnect 10.0.3.201 123 pw-class vlan-xconnec
t
The following example enters xconnect configuration mode and manually configures L2TPv3
parameters for the attachment circuit:
Router(config)# interface Ethernet 0/0
Router(config-if)# xconnect 10.0.3.201 123 encapsulation l2tpv3 manual pw-class ether-pw
Router(config-if-xconn) l2tp id 222 111
Router(config-if-xconn) l2tp cookie local 4 54321
Router(config-if-xconn) l2tp cookie remote 4 12345
Router(config-if-xconn) l2tp hello l2tp-defaults
The following example enters xconnect configuration mode and manually configures an AToM static
pseudowire. The example shows the configuration for only one side of the connection; the configurations
on each side of the connection must be symmetrical.
Router# configure terminal
Router(config)# interface Ethernet1/0
Router(config-if)# no ip address
Router(config-if)# xconnect 10.131.191.252 100 encapsulation mpl
s manual pw-class mpls
Router(config-if-xconn)# mpls label 100 150
Router(config-if-xconn)# exit
Router(config-if)# exit
The following example shows how to bind an attachment circuit to a pseudowire and configure an AToM
service on a Cisco uBR10012 router:
Router# configure terminal
Router(config)# cable l2vpn 0000.396e.6a68 customer1
Router(config-l2vpn)# service instance 2000 Ethernet
Router(config-ethsrv)# xconnect 101.1.0.2 221 encapsulation mpls
pw-type 4