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.
Dell(conf)#do show system brief
Stack MAC
Reload-Type
--
Stack Info
--
Unit
UnitType
-----------------------------------------------------------------------
1
Management
2
Member
3
Member
4
Member
5
Member
6
Member
--
Module Info
--
Unit
Module No
Status
---------------------------------------------------------
1
1
online
1
2
online
1
3
online
1
4
online
--
Power Supplies
Unit
Bay
Status
---------------------------------------------------
1
1
up
1
2
up
--
Fan
Status
--
Unit Bay
TrayStatus
-------------------------------------
1
1
up
1
2
up
1
3
up
1
4
up
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
Example of Viewing Disabled Commands
Dell(conf)#interface tengigabitethernet 1/1/1/1
Dell(conf-if-te-1/1/1/1)#ip address 192.168.10.1/24
Dell(conf-if-te-1/1/1/1)#show config
!
interface tenGigabitEthernet 1/1/1/1
ip address 192.168.10.1/24
no shutdown
Dell(conf-if-te-1/1/1/1)#no ip address
38
Configuration Fundamentals
: 4c:76:25:f5:06:80
: normal-reload [Next boot : normal-reload]
Status
ReqTyp
online
S6100-ON
not present
not present
not present
not present
not present
Module Type
S6100-MOD-16xETH40-F
S6100-MOD-16xETH40-F
S6100-MOD-16xETH40-F
S6100-MOD-16xETH40-F
--
Type
FanStatus FanSpeed(rpm)
AC
up
12176
AC
up
12112
Fan1
Speed
up
7620
up
7680
up
7591
up
7620
CurTyp
Version
S6100-ON
1-0(0-4703)
Ports
16
16
16
16
Obtaining
Help.
Ports
130