hostname (L2TP)
To define the name used in the L2TP hostname AVP, use the hostname command in L2TP class configuration
mode. To return to the default behavior, use the no form of this command.
hostname name
no hostname name
Syntax Description
Hostname used to identify the router during L2TP control channel authentication.
name
Command Default
None
Command Modes
L2TP class 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.
Task ID
OperationsTask ID
read, writel2vpn
Examples
The following example shows how to configure a hostname using the word “cisco”:
RP/0/0/CPU0:router# configure
RP/0/0/CPU0:router(config)# l2tp-class cisco
RP/0/0/CPU0:router(config-l2tp-class)# hostname cisco
Related Commands
DescriptionCommand
Enables L2TP authentication for a specified L2TP class name.authentication (L2TP), on page 4
Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x
OL-28460-01 33
Virtual Private Network Commands
hostname (L2TP)