C
HAPTER
18
| Using the Command Line Interface
Entering Commands
– 512 –
◆ 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 38: Configuration Command Modes
Mode Command Prompt Page
Line line {console | vty} Console(config-line) 544
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)
712
712
719
Class Map class-map Console(config-cmap) 870
Interface interface {ethernet port |
port-channel id| vlan id}
Console(config-if) 730
MSTP spanning-tree mst-configuration Console(config-mstp) 802
Policy Map policy-map Console(config-pmap) 873
Time Range time-range Console(config-time-range) 572
VLAN vlan database Console(config-vlan) 827