20.01.2013 Views

CCNA 3 Labs and Study Guide - BINARYBB.INFO – @jagalbraith

CCNA 3 Labs and Study Guide - BINARYBB.INFO – @jagalbraith

CCNA 3 Labs and Study Guide - BINARYBB.INFO – @jagalbraith

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

344 Switching Basics <strong>and</strong> Intermediate Routing <strong>CCNA</strong> 3 <strong>Labs</strong> <strong>and</strong> <strong>Study</strong> <strong>Guide</strong><br />

SWA(config-vlan)#name Purchasing<br />

SWA(config-vlan)#end<br />

SWA#<br />

From global configuration mode if you type interface ? <strong>and</strong> see range as one of the options, you are in<br />

luck. Your Cisco IOS Software Release supports the range parameter. This argument to the interface comm<strong>and</strong><br />

allows you to configure multiple ports at one time. For example:<br />

Switch(config)#interface range fa0/1 <strong>–</strong> 8<br />

Switch(config-if-range)#<br />

Interestingly, the hyphen is considered a parameter. You must enter a space before <strong>and</strong> after the hyphen.<br />

Note that the range argument can be used to configure any combination of ports. For example, the following<br />

would be a legitimate comm<strong>and</strong>:<br />

Switch(config)#interface range fa 0/4 - 5, fa 0/3 , fa 0/10 - 12 , gi 0/1<br />

Switch(config-if-range)#<br />

Record the comm<strong>and</strong>s, including the switch prompt, to assign interfaces with the VLANs shown in Figure<br />

8-1. You only need to show the comm<strong>and</strong>s for SWA. The comm<strong>and</strong>s are the same for SWB.<br />

SWA(config)#interface range fa 0/4 <strong>–</strong> 8<br />

SWA(config-if-range)#switchport mode access<br />

SWA(config-if-range)#switchport access vlan 10<br />

SWA(config-if-range)#interface range fa 0/9 <strong>–</strong> 16<br />

SWA(config-if-range)#switchport mode access<br />

SWA(config-if-range)#switchport access vlan 20<br />

SWA(config-if-range)#interface range fa 0/17 - 24<br />

SWA(config-if-range)#switchport mode access<br />

SWA(config-if-range)#switchport access vlan 30<br />

SWA(config-if-range)#end<br />

SWA#<br />

You need to move ports Fa0/17 through Fa0/20 to the Marketing VLAN. Record the comm<strong>and</strong> or comm<strong>and</strong>s,<br />

including switch prompt, to make the move.<br />

SWA(config)#interface range fa 0/17 <strong>–</strong> 20<br />

SWA(config-if-range)#switchport access vlan 20<br />

!You do not need to first remove the ports from the other VLAN<br />

The Purchasing department has been eliminated. All Purchasing department functions are now h<strong>and</strong>led by<br />

Accounting. You no longer need the Purchasing VLAN. Record the comm<strong>and</strong> or comm<strong>and</strong>s, including<br />

switch prompt, to delete the Purchasing VLAN.<br />

VLAN database configuration mode<br />

Switch#vlan database<br />

Switch(vlan)#no vlan 10<br />

Deleting VLAN 10...<br />

Switch(vlan)#exit<br />

APPLY completed.<br />

Exiting....<br />

Switch#

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

Saved successfully!

Ooh no, something went wrong!