2950Switch(config)#int fa 0/1 | |
2950Switch(config-if)#switchport port-security | |
2950Switch(config-if)#switchport port-security mac-address sticky | Interface converts all MAC addresses to sticky secure addressesonly the MAC address learned first will now be accepted on this port |
2950Switch(config-if)#switchport port-security maximum 1 | Only one MAC address will be allowed for this interface |
2950Switch(config-if)#switchport port-security violation shutdown | Port will shut down if violation occurs |