pw-class encapsulation l2tpv3
To configure L2TPv3 pseudowire encapsulation, use the pw-class encapsulation l2tpv3 command in L2VPN
pseudowire class configuration mode. To return to the default behavior, use the no form of this command.
pw-class class name encapsulation l2tpv3 [cookie size {0| 4| 8}| dfbit set| ipv4 source address| pmtu max
68-65535| protocol l2tpv3 class name| sequencing both [resync]| tos {reflect value 0-255| value 0-255}|
transport-mode {ethernet vlan}| ttl value]
no pw-class class name encapsulation l2tpv3 [cookie size {0| 4| 8}| dfbit set| ipv4 source address| pmtu
max 68-65535| protocol l2tpv3 class name| sequencing both [resync]| tos {reflect value 0-255| value
0-255}| transport-mode {ethernet vlan}| ttl value]
Syntax Description
Configures an encapsulation class name.class name
(Optional) Configures the L2TPv3 cookie size setting:
• 0—Cookie size is 0 bytes.
• 4—Cookie size is 4 bytes.
• 8—Cookie size is 8 bytes.
cookie size {0 | 4 | 8}
(Optional) Sets the Don't Fragment Bit (DFBIT)dfbit set
(Optional) Configures the local source IPv4 address.
ipv4 source address
(Optional) Configures the value of the maximum allowable session
MTU.
pmtu max 68-65535
(Optional) Configures L2TPv3 as the signaling protocol for the
pseudowire class.
protocol l2tpv3 class name
(Optional) Configures sequencing on both transmit and receive sidesequencing both
(Optional) Sets the threshold for out-of-sequence packets before resyncresync
(Optional) Configures the remote transport modetransport-mode
Sets the transport mode as ethernet port modeethernet
Sets the transport mode as vlan tagged modevlan
(Optional) Configures TOS and the TOS value. Range is 0 to 255.
tos {reflect value 0-255 | value
0-255}
Configures the Time-to-live (TTL) value. Range is 1 to 255.
ttl value
Cisco ASR 9000 Series Aggregation Services Router VPN and Ethernet Services Command Reference, Release
6.1.x
126
Point to Point Layer 2 Services Commands
pw-class encapsulation l2tpv3