Use the Command-Line Interface
14
ProSAFE M7100 Managed Switches
Table 6 explains how to enter or exit each mode.
ARP Access-List
Config Mode
Switch (Config-arp-access-list)# Contains commands to add ARP ACL rules in an
ARP Access List.
VPC Domain Config
Mode
Switch (Config-VPC 1)# Contains the VPC domain configuration
commands.
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 pres
s
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. T
o
r
eturn 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
r
eturn to the Privileged EXEC mode, enter Ctrl-ZZ.
Policy-Map
Config
From the Global Config mode, enter
policy-map <name>.
To exit to the Global Config mode, enter exit. To
r
eturn to the Privileged EXEC mode, enter Ctrl-Z.
Policy-Class-Map
Config
F
rom 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 k
eyword ipv4 to specify
the Layer 3 protocol for this class.
See class-map on page 228 for more
information.
To exit to the Global Config mode, enter exitt. T
o
return to the Privileged EXEC mode, enter Ctrl-ZZ.
Ipv6-Class-Map
Config
From the Global Config mode, enter
class-map and specify the
optional k
eyword ipv6 to specify
the Layer 3 protocol for this class.
See class-map on page 228 for more
information.
To exit to the Global Config mode, enter exit. T
o
return to the Privileged EXEC mode, enter Ctrl-Z.
MAC Access-list
Config
F
rom the Global Config mode, enter
mac access-list extended
<name>.
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