27.10.2013 Views

8.3.3.8 - Force10 Networks

8.3.3.8 - Force10 Networks

8.3.3.8 - Force10 Networks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

www.dell.com | support.dell.com<br />

The do Command<br />

Enter an EXEC mode command from any CONFIGURATION mode (CONFIGURATION, INTERFACE,<br />

SPANNING TREE, etc.) without returning to EXEC mode by preceding the EXEC mode command with<br />

the command do. Figure 2-4 illustrates the do command.<br />

Note: The following commands cannot be modified by the do command: enable, disable, exit, and<br />

configure.<br />

Figure 2-4. Using the do Command<br />

<strong>Force10</strong>(conf)#do show linecard all<br />

-- Line cards --<br />

Slot Status NxtBoot ReqTyp CurTyp Version Ports<br />

---------------------------------------------------------------------------<br />

0 not present<br />

1 not present<br />

2 online online E48TB E48TB 1-1-463 48<br />

3 not present<br />

4 not present<br />

5 online online E48VB E48VB 1-1-463 48<br />

Undoing Commands<br />

When you enter a command, the command line is added to the running configuration file. Disable a<br />

command and remove it from the running-config by entering the original command preceded by the<br />

command no. For example, to delete an ip address configured on an interface, use the no ip address<br />

ip-address command, as shown in Figure 2-5.<br />

Note: Use the help or ? command as discussed in Obtaining Help command to help you construct the “no”<br />

form of a command.<br />

Figure 2-5. Undoing a command with the no Command<br />

Layer 2 protocols are disabled by default. Enable them using the no disable command. For example, in<br />

PROTOCOL SPANNING TREE mode, enter no disable to enable Spanning Tree.<br />

30 | Configuration Fundamentals<br />

“do” form of show command<br />

<strong>Force10</strong>(conf)#interface gigabitethernet 4/17<br />

<strong>Force10</strong>(conf-if-gi-4/17)#ip address 192.168.10.1/24<br />

<strong>Force10</strong>(conf-if-gi-4/17)#show config<br />

!<br />

interface GigabitEthernet 4/17<br />

ip address 192.168.10.1/24<br />

no shutdown<br />

<strong>Force10</strong>(conf-if-gi-4/17)#no ip address<br />

<strong>Force10</strong>(conf-if-gi-4/17)#show config<br />

!<br />

IP address removed<br />

interface GigabitEthernet 4/17<br />

IP address assigned<br />

“no” form of IP address command

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!