do
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
do
Use the do command to execute an EXEC-level command from any configuration mode or submode.
Syntax Description
command
Defaults
None.
Command Modes
All configuration modes.
Command History
Release
1.1(1)
NX-OS 4.1(1b)
NX-OS 4.1(1b)
Usage Guidelines
Use this command to execute EXEC commands while configuring your switch. After the EXEC
command is executed, the system returns to the mode from which you issued the do command.
The receive bbcredit value reflects the extended bbcredit configuration. Extended bbcredit range for
Note
Vegas and ISOLA cards is 256-3500.
Examples
The following example shows how to execute the EXEC commands:
switch(config)# port-monitor name cisco
switch(config-port-monitor)# do
switch(config-port-monitor)#
The following example disables the terminal session-timeout command using the do command in
configuration mode:
switch(config)# do terminal session-timeout 0
switch(config)#
The following example creates and enables the interface from configuration mode:
switch(config)# int fc 3/1
switch(config-if)# no shut
The following example shows how to receive the extended bbcredit interface:
switch(config-if)# do show interface fc3/2
fc3/2 is trunking
Hardware is Fiber Channel, SFP is short wave laser w/o OFC (SN)
Port WWN is 20:82:00:05:30:00:2a:1e
Cisco MDS 9000 Family Command Reference
5-42
do command
Specifies the EXEC command to be executed.
Modification
This command was introduced.
Added the command output for extended bbcredit interface.
Added a note.
Chapter 5
D Commands
OL-18089-01, Cisco NX-OS Release 4.x