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
line
do
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
Management Interface:
IP Address..................................... 192.168.100.131
Subnet Mask.................................... 255.255.255.0
Default Gateway................................ 192.168.100.1
Burned In MAC Address.......................... 0006.2932.8142
Network Configuration Protocol Current......... DHCP
Management VLAN ID............................. 1
Routing Interfaces:
InterfaceIP AddressIP MaskBcast CastFwd
----------------------------------------- ------------
1388
Mode Commands
Netdir
Multi