C
HAPTER
19
| Using the Command Line Interface
Entering Commands
– 480 –
To enter the Global Configuration mode, enter the command configure in
Privileged Exec mode. The system prompt will change to
“Console(config)#” which gives you access privilege to all Global
Configuration commands.
Console#configure
Console(config)#
To enter the other modes, at the configuration prompt type one of the
following commands. Use the exit or end command to return to the
Privileged Exec mode.
For example, you can use the following commands to enter interface
configuration mode, and then return to Privileged Exec mode
Console(config)#interface ethernet 1/5
.
.
.
Console(config-if)#exit
Console(config)#
Table 33: Configuration Command Modes
Mode Command Prompt Page
Line line {console | vty} Console(config-line) 520
Access
Control List
access-list ip standard
access-list ip extended
access-list mac
Console(config-std-acl)
Console(config-ext-acl)
Console(config-mac-acl)
684
684
690
Class Map class-map Console(config-cmap) 832
Interface interface {ethernet port |
port-channel id| vlan id}
Console(config-if) 700
MSTP spanning-tree mst-configuration Console(config-mstp) 763
Policy Map policy-map Console(config-pmap) 835
Time Range time-range Console(config-time-range) 545
VLAN vlan database Console(config-vlan) 787