0% found this document useful (0 votes)
13 views2 pages

Managing The Switch

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views2 pages

Managing The Switch

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

Cisco Certified Network Associate

Lab 9.2 Managing the MAC address table

Objective
.Create a basic switch configuration •
.Manage the switch MAC table •
.Create a static address entry in the switch MAC table •
• Remove the created static MAC address entry.
• Configure port security on individual FastEthernet ports.

Step 1 Record the MAC addresses of the host attached to interface fa0/1 and fa0/4:
Type the following command in your 2 PCs
Start -> Run -> cmd -> ipconfig /all

Step 2 Determine the MAC addresses that the switch has learned
PX_SW # show mac-address-table

Step 3 Clear the MAC address table


PX_SW # clear mac-address-table dynamic

Step 4 Examine the MAC table again


PX_SW # show mac-address-table

Step 5 Setup a static MAC address


PX_SW (config) #mac-address-table static <mac-address> interface fastethernet 0/4 vlan 1
Step 6 Verify the MAC address table
PX_SW # show mac-address-table

Step 7 Remove the static MAC entry


PX_SW (config) #no mac-address-table static <mac-address> interface fastethernet 0/4 vlan 1

Step 8 Configure port security

PX_SW (config)# interface fa 0/4


PX_SW (config-if)#switchport mode access
PX_SW (config-if)#switchport port-security
PX_SW (config-if)#switchport port-security mac-address sticky

Step 9 Limit the number of hosts per port


PX_SW (config-if)#switchport port-security maximum 1

You might also like