Concept Guide

The do Command
You can enter an EXEC mode command from any CONFIGURATION mode (CONFIGURATION, INTERFACE, SPANNING TREE, and so
on.) without having to return to EXEC mode by preceding the EXEC mode command with the
do command.
The following example shows the output of the do command.
DellEMC#do show system brief
Stack MAC : f8:b1:56:7b:cd:69
Reload-Type : normal-reload [Next boot : normal-reload]
-- Stack Info --
Unit UnitType Status ReqTyp CurTyp Version Ports
------------------------------------------------------------------------
1 Member not present S3124
2 Management online S3124 S3124 9-8(2-65) 30
3 Member not present
4 Member not present
5 Member not present
6 Member not present
-- Module Info --
Unit Module No Status Module Type Ports
------------------------------------------------------------------
2 0 not present No Module 0
-- Power Supplies --
Unit Bay Status Type FanStatus FanSpeed(rpm)
------------------------------------------------------------
2 1 up UNKNOWN up NA
2 2 absent absent NA
-- Fan Status --
Unit Bay TrayStatus Fan0 Speed Fan1 Speed
---------------------------------------------------------
2 1 up up 6956 up 6956
Speed in RPM
Undoing Commands
When you enter a command, the command line is added to the running conguration le (running-cong).
To disable a command and remove it from the running-cong, enter the no command, then the original command. For example, to delete
an IP address congured on an interface, use the no ip address ip-address command.
NOTE
: Use the help or ? command as described in Obtaining Help.
Example of Viewing Disabled Commands
DellEMC(conf)#interface tengigabitethernet 4/17
DellEMC(conf-if-gi-4/17)#ip address 192.168.10.1/24
DellEMC(conf-if-gi-4/17)#show config
!
interface GigabitEthernet 4/17
ip address 192.168.10.1/24
no shutdown
DellEMC(conf-if-gi-4/17)#no ip address
DellEMC(conf-if-gi-4/17)#show config
!
interface GigabitEthernet 4/17
no ip address
no shutdown
Conguration
Fundamentals 41