4
Command Line Interface
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.
Mode
Command
Line
line {console | vty}
Access
access-list ip standard
Control List
access-list ip extended
access-list ip mask-precedence
access-list mac
access-list mac mask-precedence
DHCP
ip dhcp pool
Interface
interface {ethernet port | port-channel id| vlan id} Console(config-if)#
VLAN
vlan database
MSTP
spanning-tree mst-configuration
Router
router {rip | ospf | dvmrp | pim}
Class Map
class map
Policy Map
policy map
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)#
4-8
Table 4-2 Configuration Command Modes
Prompt
Console(config-line)#
Console(config-std-acl)
Console(config-ext-acl)
Console(config-ip-mask-acl)
Console(config-mac-acl)
Console(config-mac-mask-acl)
Console(config-dhcp)
Console(config-vlan)
Console(config-mstp)#
Console(config-router)
Console(config-cmap)
Console(config-pmap)
Page
4-11
4-87
4-121
4-143
4-188
4-176
4-254
4-265
4-299
4-308
4-219
4-221