1g Port Security

Sw1# show mac-address-table















Sw1#show port-security interface fastEthernet 0/1

\














!!! Configure Port Security on Fast Ethernet 0/1

Sw1(config)#interface fastEthernet 0/1
Sw1(config-if)#switchport mode access
Sw1(config-if)#switchport port-security
Sw1(config-if)#switchport port-security maximum 1
Sw1(config-if)#switchport port-security mac-address sticky
Sw1(config-if)#switchport port-security violation shutdown

Sw1# show port-security interface fastEthernet 0/1














Sw1#show mac-address-table














Sw1#show port-security address











Sw1# show ip interface fastEthernet 0/1




!!! After changing the PC on Fast Ethernet 0/1

Sw1#show port-security








Sw1#show port-security interface fastEthernet 0/1













Sw1# show ip interface fastEthernet 0/1



We are done with our LAB 1.  

Hope this was helpful to you guys. Please leave a comment.