Table 10: Command Mode Overview (continued)
Exit from ModeAccess to ModeUse of ModeMode Name
■
Use the exit command twice to
return to Global Configuration
mode.
■
Press Ctrl+z to return to Exec
mode.
■
From Layer 2
Configuration mode,
use the neighbor
command.
■
Prompt:
host1(config-l2c-
neighbor)#
■
Configure ANCP (L2C)
neighbor parameters.
Layer 2 Control Neighbor
Configuration
■
Use the exit command once to
return to Global Configuration
mode.
■
Press Ctrl+z to return to Exec
mode.
■
From Global
Configuration mode,
specify the mpls ldp
profile command.
■
Prompt:
host1(config-ldp)#
■
Configure MPLS LDP
profile parameters.
LDP Configuration
■
Use the exit command once to
return to Global Configuration
mode.
■
Press Ctrl+z to return to Exec
mode.
■
From Global
Configuration mode,
use the line command.
■
Prompt:
host1(config-line)#
■
Modify a virtual
terminal line.
Line Configuration
■
Use the exit command twice to
return to Global Configuration
mode.
■
Press Ctrl+z to return to Exec
mode.
■
From the IPSec
Transport Profile
Configuration mode,
use the local ip
address command.
■
Prompt:
host1(config-ipsec-transport-
profile-local)#
■
Configure preshared
IKE keys for L2TP over
IPSec profiles.
Local IPSec Transport
Profile Configuration
■
Use the exit command to
return to Global Configuration
mode.
■
Press Ctrl+z to return to Exec
mode.
■
From Global
Configuration mode,
specify the aaa local
username or the aaa
local database
command.
■
Prompt:
host1(config-local-user)#
■
Configure user
parameters in local
user databases.
Local User Configuration
Accessing Command Modes ■ 77
Chapter 2: Command-Line Interface