DELL S50V User Manual

Page of 1262
40
|
Configuration Fundamentals
www.dell.com | support.dell.com
The do Command
Enter an EXEC mode command from any CONFIGURATION mode (CONFIGURATION, INTERFACE, 
SPANNING TREE, etc.) without returning to EXEC mode by preceding the EXEC mode command with 
the command 
do
do
 command.
Figure 2-4.  Using the 
do
 Command
Undoing Commands
When you enter a command, the command line is added to the running configuration file. Disable a 
command and remove it from the running-config by entering the original command preceded by the 
command 
no
. For example, to delete an ip address configured on an interface, use the 
no ip address 
ip-address 
Figure 2-5.  Undoing a command with the 
no
 Command
Layer 2 protocols are disabled by default. Enable them using the 
no disable
 command. For example, in 
PROTOCOL SPANNING TREE mode, enter 
no disable
 to enable Spanning Tree.
Note: The following commands cannot be modified by the 
do
 command: 
enable, disable, exit
, and 
configure
.
Note: Use the 
help
 or 
?
“no” form of a command.
FTOS(conf)#do show linecard all
--  Line cards  --
Slot  Status        NxtBoot    ReqTyp   CurTyp   Version     Ports
---------------------------------------------------------------------------
  0   not present
  1   not present
  2   online        online     E48TB    E48TB    1-1-463     48
  3   not present
  4   not present
  5   online        online     E48VB    E48VB    1-1-463     48
“do” form of show command
FTOS(conf)#interface gigabitethernet 4/17
FTOS(conf-if-gi-4/17)#ip address 192.168.10.1/24
FTOS(conf-if-gi-4/17)#show config
!
interface GigabitEthernet 4/17
 ip address 192.168.10.1/24
 no shutdown
FTOS(conf-if-gi-4/17)#no ip address
FTOS(conf-if-gi-4/17)#show config
!
interface GigabitEthernet 4/17
 IP address assigned
“no” form of IP address command
IP address removed