Use the Command-Line Interface
15
ProSAFE M7100 Managed Switches
Special Command-Mode Independent Commands
The following commands are special commands that do not belong to a particular command
mode and that do not let you configure a specific feature.
interface
Use this command to switch from one interface to another interface while you can remain in
Interface Config mode and do not need to go to Global Config mode.
For single interfaces, valid interfaces you can switch to are physical interfaces, port-channel
interfaces, VLAN routing interfaces, loopback interfaces, and tunnel interfaces.
For ranges of interfaces, valid interfaces you can switch to are physical interfaces, port-channel
interfaces, and VLAN routing interfaces.
do
For all the commands that are supported in Privileged Exec mode, the do command lets you
execute any of these commands in Global Config mode, Interface Config mode, Interface Config
mode, VLAN Config mode, or Routing Config mode.
TACACS Config From the Global Config mode, enter
tacacs-server host
<ip-addr>, in which <ip-addr>
is the IP addr
ess of the TACACS
server on your network.
To exit to the Global Config mode, enter exit. To
return to the Privileged EXEC mode, enter Ctrl-Z.
DHCP Pool
Config
From the Global Config mode, enter
ip dhcp pool <pool-name>.
To exit to the Global Config mode, enter exit. To
r
eturn to the Privileged EXEC mode, enter Ctrl-Z.
Stack Global Config
Mode
From the Global Config mode, enter
the stack command.
T
o exit to the Global Config mode, enter exit. To
return to the Privileged EXEC mode, enter Ctrl-Z.
ARP Access-List
Config Mode
F
rom the Global Config mode, enter
the arp access-list command.
To exit to the Global Config mode, enter exit. To
return to the Privileged EXEC mode, enter Ctrl-Z.
VPC Domain Config
Mode
From the Global Config mode, enter
the vpc domain command.
T
o exit to the Global Config mode, enter exit. To
return to the Privileged EXEC mode, enter Ctrl-Z.
Format interface {<interface-range> | lag {<lag-intf-num>} |loopback
{<loopback-id>} |tunnel {<tunnel-id>} | vlan {<vlan-id>}}
Mode Interface Config
Global Config
Table 6. CLI Mode Access and Exit (continued)
Command Mode Access Method Exit or Access Previous Mode