Manual

Layer 2 Tunnel Protocol Version 3
xconnect
145
Cisco IOS Releases 12.0(29)S and 12.2(25)S
Command History
Usage Guidelines The combination of the peer-ip-address and vcid must be unique on the router. Each Xconnect
configuration must have a unique combination of peer-ip-address and vcid configuration.
Configure the same vcid value that identifies the attachment circuit on the local and remote PE routers.
The virtual circuit identifier creates the binding between a pseudowire and an attachment circuit.
L2TPv3 Settings
To manually configure the L2TP settings used in the attachment circuit, enter encapsulation l2tpv3
manual in the xconnect command. This configuration is called a static L2TPv3 session. The router is
placed in xconnect configuration mode and you can then configure the following options:
Local and remote session identifiers (using the l2tp id command) for local and remote PE routers at
each end of the session.
Size of the cookie field used in the L2TPv3 headers of incoming (sent) packets from the remote PE
peer router (using the l2tp cookie local command).
Size of the cookie field used in the L2TPv3 headers of outgoing (received) L2TP data packets (using
the l2tp cookie remote command).
Interval used between sending hello keepalive messages (using the l2tp hello command).
For more information about configuring a static L2TPv3 sessions, see the section “Manually
Configuring L2TPv3 Session Parameters.”
If you do not enter encapsulation l2tpv3 manual 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 pw-class pw-class-name command (see the section “Configuring the L2TPv3
Pseudowire”).
The pw-class 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.
Note If you specify the encapsulation l2tpv3 keyword, you must specify the pw-class keyword.
Examples The following example shows how to configure Xconnect service for an Ethernet interface by binding
the Ethernet circuit to the L2TPv3 pseudowire named 123 with a remote peer 10.0.3.201, and by using
the L2TP configuration settings in the pseudowire class named vlan-xconnect:
Router(config)# interface Ethernet0/0.1
Router(config-if)# xconnect 10.0.3.201 123 pw-class vlan-xconnect
Release Modification
12.0(23)S This command was introduced.
12.2(25)S This command was integrated into Cisco IOS Release 12.2(25)S.