Enters the Global Configuration mode.
Step 2 l2vpn
Example:
RP/0/RSP0/CPU0:router (config)# l2vpn
Enters Layer 2 VPN configuration mode.
Step 3 pw-class class-name
Example:
RP/0/RSP0/CPU0:router (config-l2vpn)# pw-class l2tpv3_class
Enters pseudowire class submode, allows a pseudowire class template definition.
These keywords can be configured in the pseudowire class (pw-class) configuration mode:
• cookie
• dfbit
• ipv4 source
Step 4 encapsulation l2tpv3
Example:
RP/0/RSP0/CPU0:router (config-l2vpn-pwc)# encapsulation l2tpv3
Sets pseudowire encapsulation to L2TPv3
Step 5 protocol l2tpv3
Example:
RP/0/RSP0/CPU0:router (config-l2vpn-pwc-encap-l2tpv3)# protocol l2tpv3
Sets pseudowire signaling protocol to L2TPv3.
Step 6 Use the commit or end command.
commit - Saves the configuration changes and remains within the configuration session.
end - Prompts user to take one of these actions:
• Yes - Saves configuration changes and exits the configuration session.
• No - Exits the configuration session without committing the configuration changes.
• Cancel - Remains in the configuration mode, without committing the configuration changes.
Configuring L2TP Control-Channel Parameters
L2TP control-channel parameters are used in control-channel authentication, keepalive messages, and
control-channel negotiation. In a L2tpv3 session, the same L2TP class must be configured on both PE routers.
L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x
169
Implementing Point to Point Layer 2 Services
Configuring L2TP Control-Channel Parameters