21-3
Cisco IOS Software Configuration Guide for Cisco Aironet Access Points
OL-29225-01
Chapter21 Configuring L2TPv3 Over UDP/IP
Configuring Pseudowire Class
Note Multiple l2tp classes can be configured.
Examples ap1# configure terminal
ap1(config)# l2tp-class myl2tpclass
ap1(config-l2tp-class)# hostname myhost1
ap1(config-l2tp-class)# hello 15
ap1(config-l2tp-class)# cookie size 4
ap1(config-l2tp-class)# digest secret cisco
ap1(config-l2tp-class)# retransmit retries 6
ap1(config-l2tp-class)# retransmit timeout 7
ap1(config-l2tp-class)# retransmit timeout max 5
ap1(config-l2tp-class)# retransmit timeout min 1
ap1(config-l2tp-class)# end
Configuring Pseudowire Class
Configuring the pseudowire class defines a layer 2 pseudowire class. These pseudowire parameters can
be configured under pseudowire class:
encapsulation method
l2tp-class
local interface
sequencing
IP related parameters like dfbit, tos and ttl
Beginning in privileged EXEC mode, follow these steps to configure Pseudowire Class
Examples ap1# configure terminal
ap1(config)# pseudowire-class mypwclass
ap1(config-pw-class)# encapsulation l2tpv3
ap1(config-pw-class)# protocol l2tpv3ietf myl2tpclass
ap1(config-pw-class)# ip protocol udp
ap1(config-pw-class)# ip local interface BVI1
ap1(config-pw-class)# end
Command Purpose
Step1 pseudowire-class pseudowire class
name
Specifies the pseudowire class name.
Step2 encapsulation l2tpv3 Enables the L2TPv3
Step3 protocol l2tpv3ietf l2tp class name Enables the standard L2TPv3 and attaches the L2TP class.
Step4 ip protocol udp Enables L2TPv3 over UDP.
Step5 ip local interface interface name Uses the interface address as the source address.