Switch User Manual

1422 Mode Commands
modes other than Global Configuration mode, the do command will not
appear in the list of commands shown in the help, nor will prompting be
available.
Syntax
do
line
line
Command to be executed. It should be an unambiguous command
from the Privileged EXEC mode. Commands such as
configure
,
devshell
,
and hidden commands are forbidden.
Default Configuration
This command has no default configuration.
Command Mode
All except Privileged EXEC and User EXEC modes.
Example
console(config)#do show ip interface
Default Gateway................................ 192.168.21.0
Burned In MAC Address.......................... 001E.C9AA.AF51
Routing Interfaces:
Interface State IP Address IP Mask Method
---------- ----- --------------- --------------- -------
Vl1 Down 192.168.21.1 255.255.255.0 None
2CSPC4.XCT-SWUM2XX1.book Page 1422 Monday, October 3, 2011 11:05 AM