C
HAPTER
22
| Using the Command Line Interface
Entering Commands
– 574 –
◆ VLAN Configuration - Includes the command to create VLAN groups.
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 28: Configuration Command Modes
Mode Command Prompt Page
Access
Control List
access-list ip standard
access-list ip extended
access-list mac
access-list ipv6 standard
access-list ipv6 extended
Console(config-std-acl)
Console(config-ext-acl)
Console(config-mac-acl)
Console(config-std-ipv6-acl)
Console(config-ext-ipv6-acl)
748
748
760
755
756
Class Map class-map Console(config-cmap) 886
DHCP ip dhcp pool Console(config-dhcp) 983
Line line {console | vty} Console(config-line) 600
Interface interface {ethernet port |
port-channel id| vlan id}
Console(config-if) 770
MSTP spanning-tree mst-configuration Console(config-mstp) 813
Policy Map policy-map Console(config-pmap) 889
Router router {pim | rip | ospf} Console(config-router) 1091
1025
1043
Time Range time-range Console(config-time-range) 625
VLAN vlan database Console(config-vlan) 837