CISCO record eleven experiments: switch port security configuration

1, enabled switch port security

2, limit the maximum amount of access to the port 1, the port closed beyond

 

 

1, enabled switch port security

#interface gigabitEthernet 0/1

#switchport mode access

#switchport port-security

#switchport port-security mac-address 1111.1111.1111 // only after the mac address can access the port

#switchport port-security violation shutdown // specified non-mac port shutdown will occur, no shutdown manually

 

Guess you like

Origin www.cnblogs.com/cation/p/11502851.html