40 | Configuration Fundamentalsw w w . d e l l . c o m | s u p p o r t . d e l l . c o mThe do CommandEnter an EXEC mode command from any CONFIGURATION mode (CONFIGURATION, INTERFACE,SPANNING TREE, etc.) without returning to EXEC mode by preceding the EXEC mode command withthe command do. Figure 2-4 illustrates the do command.Figure 2-4. Using the do CommandUndoing CommandsWhen you enter a command, the command line is added to the running configuration file. Disable acommand and remove it from the running-config by entering the original command preceded by thecommand no. For example, to delete an ip address configured on an interface, use the no ip addressip-address command, as shown in Figure 2-5.Figure 2-5. Undoing a command with the no CommandLayer 2 protocols are disabled by default. Enable them using the no disable command. For example, inPROTOCOL SPANNING TREE mode, enter no disable to enable Spanning Tree.Note: The following commands cannot be modified by the do command: enable, disable, exit, andconfigure.Note: Use the help or ? command as discussed in Obtaining Help command to help you construct the“no” form of a command.FTOS(conf)#do show linecard all-- Line cards --Slot Status NxtBoot ReqTyp CurTyp Version Ports---------------------------------------------------------------------------0 not present1 not present2 online online E48TB E48TB 1-1-463 483 not present4 not present5 online online E48VB E48VB 1-1-463 48“do” form of show commandFTOS(conf)#interface gigabitethernet 4/17FTOS(conf-if-gi-4/17)#ip address 192.168.10.1/24FTOS(conf-if-gi-4/17)#show config!interface GigabitEthernet 4/17ip address 192.168.10.1/24no shutdownFTOS(conf-if-gi-4/17)#no ip addressFTOS(conf-if-gi-4/17)#show config!interface GigabitEthernet 4/17IP address assigned“no” form of IP address commandIP address removed