L2TP Destination Profile Configuration Mode
In this mode, you can create the destination profile that defines the location of an
L2TP Access Concentrator (LAC) and define the attributes used when an L2TP Network
Server (LNS) communicates with an LAC. The destination is necessary to enable an
LAC to connect to the LNS.
From Global Configuration mode, type l2tp destination profile, the profileName, an
ipAddress, and press Enter.
host1(config)#l2tp destination profile augusta ip address 123.45.76.16
host1(config-l2tp-dest-profile)#?
default Set a command to its default(s)
do Run an exec mode command (alias command run)
exit Exit from the current command mode
help Describe the interactive help system
log Configure logging settings
macro Run a CLI macro
no Negate a command or set its default(s)
remote Configure L2TP remote parameters
run Run an exec mode command (alias command do)
sleep Make the Command Interface pause for a specified duration
L2TP Destination Profile Host Configuration Mode
In this mode, you can set and modify L2TP host profile attributes, such as the proxy
Link Control Protocol (LCP), the local hostname, the local IP address, or the interface
profile.
From Global Configuration mode, enter L2TP Destination Profile mode (see above),
and type remote host and a hostName, and press Enter.
host1(config-l2tp-dest-profile)#remote host george
host1(config-l2tp-dest-profile-host)#?
default Set a command to its default(s)
disable Disable L2TP parameter for remote host
do Run an exec mode command (alias command run)
enable Enable L2TP parameter for remote host
exit Exit from the current command mode
help Describe the interactive help system
local Configure L2TP local parameters for remote host
log Configure logging settings
macro Run a CLI macro
no Negate a command or set its default(s)
profile Assign a profile for remote host
run Run an exec mode command (alias command do)
sleep Make the Command Interface pause for a specified duration
tunnel Configure L2TP tunnel parameters for remote host
L2TP Tunnel Switch Profile Configuration Mode
In this mode, you can create an L2TP tunnel switch profile, which configures the
L2TP tunnel switching behavior for the interfaces to which this profile is assigned.
Issue the avp command from this mode to define the L2TP tunnel switching behavior
for a specified L2TP attribute-value pair (AVP) type.
Accessing Command Modes â– 103
Chapter 2: Command-Line Interface