Configuration Management Commands on Cisco IOS XR Software
do
SMR-123
Cisco ASR 14000 Series Router System Management Command Reference
OL-17231-01
do
To execute an EXEC mode command from a configuration mode, use the
do
command in any
configuration mode.
do
exec-command
Syntax Description
Defaults
No default behavior or values
Command Modes
Any configuration
Command History
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper
task IDs.
Use the
do
command in any configuration mode or configuration submode to execute EXEC mode
commands.
To display the various EXEC mode commands that are available to execute with the
do
command, use
the online help (?) function at the configuration mode prompt.
Note
The
configure
and
describe
commands are not supported under the
do
command.
Task ID
Examples
The following example shows how to execute an EXEC command from interface configuration mode. In
this example, the
do
command displays output from the
show
protocols
command within interface
configuration mode:
RP/0/RP0/CPU0:router(config)#
interface pos 0/1/0/1
RP/0/RP0/CPU0:router(config-if)#
do show protocols
Routing Protocol "BGP 1"
Address Family IPv4 Unicast:
Distance: external 20 internal 200 local 200
exec-command
EXEC mode command to be executed.
Release
Modification
Release 3.7.1
This command was introduced on the Cisco ASR 14000 Series Router.
Task ID
Operations
Task ID for the EXEC command that you are using
read