Reference Guide

28 | 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. Figure 2-4 illustrates the 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
command, as shown in Figure 2-5.
Figure 2-5. Undoing a command with the no Command
Note: The following commands cannot be modified by the do command: enable, disable, exit, and
configure.
Note: Use the help or ? command as discussed in Obtaining Help command to help you construct the “no”
form of a 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
no ip address
no shutdown
IP address assigned
“no” form of IP address command
IP address removed