Users 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(conf)#do show system brief
Stack MAC : 34:17:eb:37:2d:00
Reload-Type : normal-reload [Next boot : normal-reload]
-- Stack Info --
Unit UnitType Status ReqTyp CurTyp Version Ports
------------------------------------------------------------------------------------
1 Management online S5048F-ON S5048F-ON 9-12(1-28) 72
2 Member not present
3 Member not present
4 Member not present
5 Member not present
6 Member not present
-- Power Supplies --
Unit Bay Status Type FanStatus FanSpeed Power AvgPower AvgPowerStartTime
-----------------------------------------------------------------------------------------
---
1 1 up AC up 26144 119 119 10/08/2017-16:11
1 2 up AC up 26848 133 133 10/08/2017-16:11
-- Fan Status --
Unit Bay TrayStatus Fan1 Speed Fan2 Speed
------------------------------------------------------------------------------------
1 1 up up 21370 up 22341
1 2 up up 21254 up 21967
1 3 up up 21605 up 22090
1 4 up up 21487 up 22090
Speed in RPM
Undoing Commands
When you enter a command, the command line is added to the running configuration file (running-config).
To disable a command and remove it from the running-config, enter the no command, then the original command. For example,
to delete an IP address configured 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 twentyFiveGigE 1/17
DellEMC(conf-if-tf-1/17)#ip address 192.168.10.1/24
DellEMC(conf-if-tf-1/17)#show config
!
interface twentyFiveGigE 1/17
ip address 192.168.10.1/24
no shutdown
DellEMC(conf-if-tf-1/17)#no ip address
DellEMC(conf-if-tf-1/17)#show config
!
interface twentyFiveGigE 1/17
no ip address
no shutdown
Layer 2 protocols are disabled by default. To enable Layer 2 protocols, use the no disable command. For example, in
PROTOCOL SPANNING TREE mode, enter no disable to enable Spanning Tree.
Configuration Fundamentals
37