
Using the Command-Line Interface
CP6923
CP6923 CLI Reference Manual
Page 1 - 6
Table 6
explains how to enter or exit each mode.
Policy Class
Config
Switch (Config-policy-class-map)#
Consists of class creation, deletion, and
matching commands. The class match
commands specify Layer 2, Layer 3, and
general match criteria.
Class Map Config
Switch (Config-class-map)#
Contains the QoS class map configuration
commands for IPv4.
Router OSPF
Config
Switch (Config-router)#
Contains the OSPF configuration commands.
Router RIP Config
Switch (Config-router)#
Contains the RIP configuration commands.
MAC Access-list
Config
Switch (Config-mac-access-list)#
Allows you to create a MAC Access-List and
to enter the mode containing MAC Access-
List configuration commands.
TACACS Config
Switch (Tacacs)#
Contains commands to configure properties
for the TACACS servers.
DHCP Pool
Config
Switch (Config dhcp-pool)#
Contains the DHCP server IP address pool
configuration commands.
ARP Access-List
Config Mode
Switch (Config-arp-access-list)#
Contains commands to add ARP ACL rules in
an ARP Access List.
Table 6: CLI Mode Access and Exit
Command Mode
Access Method
Exit or Access Previous Mode
User EXEC
This is the first level of access.
To exit, enter
logout
.
Privileged EXEC
From the User EXEC mode, enter
enable
.
To exit to the User EXEC mode, enter
exit
or
press
Ctrl-Z.
Global Config
From the Privileged EXEC mode, enter
configure.
To exit to the Privileged EXEC mode, enter
exit
,
or press
Ctrl-Z
.
VLAN Config
From the Privileged EXEC mode, enter
vlan database.
To exit to the Privileged EXEC mode, enter
exit
,
or press
Ctrl-Z
.
Interface Config
From the Global Config mode, enter
interface
<slot/port>
or
interface loopback
<id>
or
interface tunnel
<id>
To exit to the Global Config mode, enter
exit
. To
return to the Privileged EXEC mode, enter
Ctrl-
Z
.
Line Config
From the Global Config mode, enter
lineconfig
.
To exit to the Global Config mode, enter
exit
. To
return to the Privileged EXEC mode, enter
Ctrl-
Z
.
Policy-Map
Config
From the Global Config mode, enter
policy-map
.
To exit to the Global Config mode, enter
exit
. To
return to the Privileged EXEC mode, enter
Ctrl-
Z
.
Policy-Class-Map
Config
From the Policy Map mode enter
class
. To exit to the Policy Map mode, enter
exit
. To
return to the Privileged EXEC mode, enter
Ctrl-
Z
.
Class-Map
Config
From the Global Config mode, enter
class-map
, and specify the optional
keyword
ipv4
to specify the Layer 3
protocol for this class. See 3.3.1 “class-
map” on page 3 - 9 for more information.
To exit to the Global Config mode, enter
exit
. To
return to the Privileged EXEC mode, enter
Ctrl-
Z
.
Table 5: CLI Command Modes (Continued)
Command Mode
Prompt
Mode Description
Содержание CP6923
Страница 4: ...Page iv ...
Страница 35: ...Using the Command Line Interface Chapter 1 1 Page 1 1 CP6923 CLI Reference Manual CP6923 ...
Страница 44: ...Using the Command Line Interface CP6923 CP6923 CLI Reference Manual Page 1 10 ...
Страница 45: ...Switching Commands Chapter 1 2 Page 2 1 CP6923 CLI Reference Manual CP6923 ...
Страница 174: ...Switching Commands CP6923 CP6923 CLI Reference Manual Page 2 130 ...
Страница 175: ...Quality of Service Commands Chapter 1 3 Page 3 1 CP6923 CLI Reference Manual CP6923 ...
Страница 213: ...Routing Commands Chapter 1 4 Page 4 1 CP6923 CLI Reference Manual CP6923 ...
Страница 285: ...Multicast Commands Chapter 1 5 Page 5 1 CP6923 CLI Reference Manual CP6923 ...
Страница 314: ...Multicast Commands CP6923 CP6923 CLI Reference Manual Page 5 30 ...
Страница 315: ...Utility Commands Chapter 6 Page 6 1 CP6923 CLI Reference Manual CP6923 ...
Страница 387: ...Management Commands Chapter 1 7 Page 7 1 CP6923 CLI Reference Manual CP6923 ...
Страница 428: ...Management Commands CP6923 CP6923 CLI Reference Manual Page 7 42 ...
Страница 429: ...CP6923 Page A 1 CP6923 CLI Reference Manual Getting Help Appendix A ...
Страница 434: ...CP6923 Page B 1 CP6923 CLI Reference Manual FASTPATH log messages Appendix B ...
Страница 450: ...CP6923 Page C 1 CP6923 CLI Reference Manual List of Commands Appendix C ...