Manual

Layer 2 Tunnel Protocol Version 3
l2tp cookie remote
112
Cisco IOS Releases 12.0(29)S and 12.2(25)S
l2tp cookie remote
To configure the size of the cookie field used in the Layer 2 Tunnel Protocol Version 3 (L2TPv3) headers
of outgoing packets sent from the local provider edge (PE) peer router, use the l2tp cookie remote
command in xconnect configuration mode. To remove the configured cookie field parameters, use the
no form of this command.
l2tp cookie remote size low-value [high-value]
no l2tp cookie remote size low-value [high-value]
Syntax Description
Defaults No cookie value is included in the header of L2TP packets.
Command Modes Xconnect configuration
Command History
Usage Guidelines The l2tp cookie local command specifies the values that the local PE router includes in the cookie field
in L2TPv3 headers of the packets it sends to the remote PE router through an L2TPv3 session. These
values are required in a static L2TPv3 session.
The cookie field is an optional part of an L2TPv3 header with a length of either 4 or 8 bytes. If you
specify an 8-byte length, you must also enter a value for the high-value argument.
Examples The following example shows how to configure the cookie field of 4 bytes starting at 12345 for the
L2TPv3 headers in outgoing tunneled packets sent to the remote PE peer:
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 cookie remote 4 12345
size The size of the cookie field in L2TPv3 headers. The valid values are 0, 4,
and 8.
low-value The value of the lower 4 bytes of the cookie field.
high-value (Optional) The value of the upper 4 bytes of the cookie field. For 8-byte
cookie fields, you must enter the value for the upper 4 bytes of the cookie
field.
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.