13.01.2015 Views

Unit 5. Switches and VLANs [PDF]

Unit 5. Switches and VLANs [PDF]

Unit 5. Switches and VLANs [PDF]

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2 Determine the comm<strong>and</strong>s that can be used in the interface menu with . List a few<br />

of these comm<strong>and</strong>.<br />

What comm<strong>and</strong>s are available in Interface Configuration mode<br />

3 Program the first Ethernet port on the switch (which is 0/1, where the first digit<br />

identifies the Ethernet port <strong>and</strong> the second digit identifies the port number). Do<br />

this by entering the Ethernet 0/1 comm<strong>and</strong>.<br />

4 Define the this port is assigned to VLAN 2 with the switchport access vlan 2<br />

comm<strong>and</strong>.<br />

5 Program the second Ethernet port on the switch (which is 0/2). Do this by entering<br />

the Ethernet 0/2 comm<strong>and</strong>.<br />

6 Define the this port is assigned to VLAN 2 with the switchport access vlan 2<br />

comm<strong>and</strong>.<br />

7 Go back to the Privileged Exec mode, <strong>and</strong> use the show vlan comm<strong>and</strong> to show<br />

the assigned <strong>VLANs</strong> against ports.<br />

This is shown next:<br />

Resetting the switch<br />

The two comm<strong>and</strong>s to reset the switch are delete nvram <strong>and</strong> delete vtp, which can be<br />

entered from the config mode.<br />

1 Go to the user exec mode (that is, with the # prompt).<br />

2 Use the erase nvram comm<strong>and</strong>.<br />

2 Use the erase vtp comm<strong>and</strong>.<br />

<strong>Unit</strong> 5: <strong>Switches</strong> <strong>and</strong> <strong>VLANs</strong> 91

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

Saved successfully!

Ooh no, something went wrong!