Chapter 2
| Using the Command Line Interface
Entering Commands
– 68 –
◆ Policy Map Configuration - Creates a DiffServ policy map for multiple interfaces.
◆ Time Range - Sets a time range for use by other functions, such as Access
Control Lists.
◆ 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 4: Configuration Command Modes
Mode Command Prompt Page
Line line {console | vty} Console(config-line) 101
Access Control
List
access-list ip standard
access-list ip extended
access-list ipv6 standard
access-list ipv6 extended
access-list mac
Console(config-std-acl)
Console(config-ext-acl)
Console(config-mac-acl)
270
270
283
Class Map class-map Console(config-cmap) 442
Interface interface {ethernet port |
port-channel id| vlan id}
Console(config-if ) 294
MSTP spanning-tree mst-configuration Console(config-mstp) 374
Policy Map policy-map Console(config-pmap) 445
Time Range time-range Console(config-time-range) 128
VLAN vlan database Console(config-vlan) 400