Implementing Layer 2 Tunnel Protocol Version 3
Configuration Examples for Layer 2 Tunnel Protocol Version 3
This section provides the following configuration examples:
Configuring an L2TP Class for L2TPv3-based L2VPN PE Routers: Example
The following example shows how to configure a L2TP class with L2TPv3 based L2VPN for a PE router
configure
l2tp-class Class_l2tp_01
end
Configuring a Pseudowire Class: Example
The following example shows a pseudowire class configuration on a PE router:
configure
l2vpn
pw-class FR1
encapsulation l2tpv3
Configuring L2TPv3 Control Channel Parameters: Example
The following example shows a typical L2TPv3 control-channel configuration:
configure
l2tp-class FR-l2tp
authentication
hostname R2-PE1
password 7 121A0C041104
hello-interval 10
digest secret 7 02050D480809
receive-window 256
retransmit retries 8
retransmit initial retries 10
retransmit initial timeout max 4
retransmit initial timeout min 2
timeout setup 90
hostname PE1
hello-interval 100
digest secret cisco hash MD5
protocol l2tpv3 [class {class name}]}
sequencing both [resync {5-65535}]
dfbit set
tos {reflect|value {value}}
ttl {1-255}
pmtu max {68-65535}
ipv4 source {ipv4_address}
cookie size {0|4|8}
Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x
Configuration Examples for Layer 2 Tunnel Protocol Version 3
169