| 1 | Switch>enable |
| 2 | Switch#configure terminal |
| 3 | Switch(config)#interface GigabitEthernet 0/1 |
| 4 | Switch(config-if)#switchport mode access |
| 5 | Switch(config-if)#switchport port-security |
| 6 | Switch(config-if)#switchport port-security mac-address sticky |
| 7 | Switch(config-if)#switchport port-security violation shutdown |
| 8 | Switch(config-if)#end |
| 9 | Switch#write memory |
| 10 |
Gabriel / gistfile1.txt
Last active 3 weeks ago