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

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

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

Total Addresses in System : 0<br />

Max Addresses limit in System : 1024<br />

Task 5: Verify VLANs <strong>and</strong> Port Security<br />

Step 1. Test the VLAN configuration by verifying that a host attached to VLAN 10 cannot ping the<br />

hosts of VLAN 20 or VLAN 30.<br />

Step 2. Test the port security configuration by disconnecting a host from a port <strong>and</strong> connecting a different<br />

host to the same port. The port should automatically shut down. How do you, as the<br />

administrator, re-enable the port?<br />

First, reset port security with the clear port-security sticky comm<strong>and</strong>. Second, administratively<br />

disable the port with the shutdown comm<strong>and</strong>. Third, reactivate the port with the no shutdown<br />

comm<strong>and</strong>. The new MAC address will now stick to the configuration.<br />

SWA !—————————————————<br />

!VLAN configurations do not show<br />

!—————————————————<br />

vlan 10<br />

name Accounting<br />

vlan 20<br />

name Marketing<br />

vlan 30<br />

name Purchasing<br />

!—————————————————<br />

!<br />

hostname SWA<br />

!<br />

enable secret class<br />

!<br />

no ip domain-lookup<br />

ip host SWB 10.1.0.3<br />

!<br />

interface FastEthernet0/1<br />

!<br />

shutdown<br />

interface FastEthernet0/2<br />

!<br />

switchport mode trunk<br />

interface FastEthernet0/3<br />

!<br />

switchport mode trunk<br />

interface range FastEthernet0/4 - 8<br />

switchport access vlan 10<br />

switchport mode access<br />

switchport port-security<br />

switchport port-security mac-address sticky<br />

Chapter 8: Virtual LANs 375

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

Saved successfully!

Ooh no, something went wrong!