Manual
Layer 2 Tunnel Protocol Version 3
l2tp id
116
Cisco IOS Releases 12.0(29)S and 12.2(25)S
l2tp id
To configure the identifiers used by the local and remote provider edge (PE) routers at each end of a
Layer 2 Tunnel Protocol Version 3 (L2TPv3) session, use the l2tp id command in Xconnect
configuration mode. To remove the configured identifiers for local and remote sessions, use the no form
of this command.
l2tp id local-session-ID remote-session-ID
no l2tp id local-session-ID remote-session-ID
Syntax Description
Defaults No session identifiers are configured.
Command Modes Xconnect configuration
Command History
Usage Guidelines The Xconnect configuration that binds an attachment circuit to an L2TPv3 pseudowire is not complete
without configured values for the local-session-ID and remote-session-ID arguments.
Examples The following example shows how to configure the identifiers named 222 for the local PE router and 111
for the remote peer in an L2TPv3 session bound to an Ethernet circuit using the L2TPv3 configuration
settings stored in the pseudowire class named ether-pw:
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
Related Commands
local-session-ID The identifier used by the local PE router as its local session identifier.
remote-session-ID The identifier used by the remote PE router as its local session identifier.
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.
Command Description
l2tp cookie local Configures the size of the cookie field used in the L2TPv3 headers of
incoming (received) packets from the remote PE peer router.
l2tp cookie remote Configures the size of the cookie field used in the L2TPv3 headers of
outgoing (transmitted) packets from the remote PE peer router.