A <switchport port-security mac-address sticky> issue.

Unanswered Question
Oct 16th, 2007


I have some trouble releasing the mac-address learned sticky on an interface.

I am working on a 3560 series switch with 12.2-25 SEE1 IOS image.

Here is an example of my port configuration.

interface FastEthernet0/1

description IPWIN2S01

switchport access vlan 91

switchport mode access

switchport port-security

switchport port-security mac-address sticky

no logging event link-status

speed 100

duplex full

spanning-tree portfast

Usually, we use sticky learning for printers and a maximum of one mac address. The problem occur when we change the network card or the device itself. The mac address change but, I am not able to reset the sticky learning for the new mac. Even clear port-security sticky Dosent work. So the port stay in Err-disable mode until we deactivate the port-security or, change the default of the port-security option from 1 to 2 mac.

I have change the IOS for 12.2-40 and it seem to solve the problem.

I dosent find any issue on the cisco website.

Is there someone who already experience this kind of bug and, is there a different way to disable sticky learning without upgrading the IOS on all my switches ..

Thank your for your time ..

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
mchin345 Mon, 10/22/2007 - 11:42

To delete sticky secure MAC addresses from the address table, disable sticky learning, which converts the sticky secure MAC addresses to dynamic secure addresses. Use the no switchport port-security mac-address sticky interface configuration command. Delete dynamic secure addresses on an interface by using the clear port-security dynamic interface interface-id privileged EXEC command. To delete a dynamic secure MAC address, use the clear port-security dynamic address mac-addr privileged EXEC command.

buzzy00000 Tue, 10/23/2007 - 04:38

Thanks for the answer mchin345.

Unfortunately, I've already tried those options but, don't seem to work correctly with the OS 12.2.25 SEE1 as I said below. The commands options are available but, the clearing doesn't work.

Upgrading to 12.2.40 allowed me to use those commands without any problem.


This Discussion