l2tp-class
To enter L2TP class configuration mode where you can define an L2TP signaling template, use the l2tp-class
command in global configuration mode. To delete the L2TP class, use the no form of this command.
l2tp-class l2tp-class-name
no l2tp-class l2tp-class-name
Syntax Description
L2TP class name.l2tp-class-name
Command Default
No L2TP classes are defined.
Command Modes
Global configuration
Command History
ModificationRelease
This command was introduced.Release 3.7.0
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task
IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator
for assistance.
An L2TP class name must be defined before configuring L2TP control plane configuration settings.Note
Task ID
OperationsTask ID
read, writel2vpn
Examples
The following example shows how to enter L2TP configuration mode to create a template of L2TP control
plane configuration settings that can be inherited by different pseudowire classes (in this case, the word “cisco”
is used):
RP/0/0/CPU0:router# configure
RP/0/0/CPU0:router(config)# l2tp-class cisco
RP/0/0/CPU0:router(config-l2tp-class)#
Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x
40 OL-28460-01
Virtual Private Network Commands
l2tp-class