Mike's PBX Cookbook

Port Security Reset

Port security marries a device (by it's mac address) to a switch port, so that moving or changing a device will often disable the port. Use the following to reset device/port association(s):

Note: if you do not know the port info, log into the distribution switch and look up the mac address. The command is: show mac address-table address xxxx.xxxx.xxxx (the mac you are looking for), then log into the ERS indicated by this search.

Log into the port:

shut                                  shut down the port
no switch port                        disable port security
no switch port mac sticky             forget the associated mac

Then:

no shut                               enables the port
switch Port                           enables port security
switch port mac sticky                learn the connected device mac

You can find port security violations with: switchport port-security violation shutdown.