do
Use this command to run several exec mode or privileged exec mode commands from configure mode. The commands that can be run from configure mode using do
are: show
, clear
, debug
, ping
, traceroute
, write
, and no debug
.
Command Syntax
Copy
do LINE
Parameters
LINE
Command and its parameters.
Default
None
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
Copy
#configure terminal
#(config)#do show interface
Interface lo
Hardware is Loopback index 1 metric 1 mtu 16436 duplex-half arp ageing timeout 25
<UP,LOOPBACK,RUNNING>
VRF Binding: Not bound
Label switching is disabled
No Virtual Circuit configured
Administrative Group(s): None
DSTE Bandwidth Constraint Mode is MAM
inet 4.4.4.40/32 secondary
inet 127.0.0.1/8
inet6 ::1/128
Interface Gifindex: 3
Number of Data Links: 0
GMPLS Switching Capability Type:
Packet-Switch Capable-1 (PSC-1)
GMPLS Encoding Type: Packet
Minimum LSP Bandwidth 0
input packets 10026, bytes 730660, dropped 0, multicast packets 0
input errors 0, length 0, overrun 0, CRC 0, frame 0, fifo 0, missed 0
output packets 10026, bytes 730660, dropped 0
output errors 0, aborted 0, carrier 0, fifo 0, heartbeat 0, window 0
collisions 0
#