Manual
Layer 2 Tunnel Protocol Version 3
hostname
98
Cisco IOS Releases 12.0(29)S and 12.2(25)S
hostname
To configure the host name that the router will use to identify itself during Layer 2 Tunnel Protocol
Version 3 (L2TPv3) authentication, use the hostname command in L2TP class configuration mode. To
remove the host name, use the no form of this command.
hostname name
no hostname name
Syntax Description
Defaults No host name is specified for L2TPv3 authentication.
Command Modes L2TP class configuration
Command History
Usage Guidelines If you do not use the hostname command, the host name of the router is used for L2TPv3 authentication.
Examples The following example configures the host name yb2 for a provider edge router used at one end of an
L2TPv3 control channel in an L2TPv3 pseudowire configured using the L2TP class configuration named
l2tp class1:
Router(config)# l2tp-class l2tp-class1
Router(config-l2tp-class)# hostname yb2
Related Commands
name Name used to identify the router during authentication.
Release Modification
12.0(23)S This command was introduced.
12.2(25)S This command was integrated into Cisco IOS Release 12.2(25)S.
Command Description
ip local interface Configures the IP address of the PE router interface to be used as the source
IP address for sending tunneled packets.
l2tp-class Creates a template of L2TP control plane configuration settings that can be
inherited by different pseudowire classes and enters L2TP class
configuration mode.