11-19-2023 06:58 PM - last edited on 11-21-2023 10:09 AM by Translator
Hello friends,
I got a problem when using
port-security
on switch 2960X, IOS ver 15.2
My port is gi2/0/6. it is being shutdowned.
Then I plug a printer to it, and config gi2/0/6 as below, and no shutdown it
then it go to err-disabled state, I shutdown, no shut, but still err-disabled again. Although no sticky command is used.
Only when I remove command
port-security and port-security maximum
it goes up.
Put
port-security
again, it goes to err-disabled.
As theory, when we plug device to port switch (without sticky mac command), if it go err-disabled, we only need shutdown then no shut.
Please help to explain my case.
Thanks you!!
Solved! Go to Solution.
11-19-2023 07:22 PM
Hello,
Has this printer been moved from a sticky port to this current port? If that's the case it could be a reason for your issue. If that printer was plugged into a port that had sticky-mac configured then that port is holding on to that MAC address son that port. So when it sees the printer on another port you plug it into it will immediately shut it back down because it already has it in its CAM table on another port from the sticky configuration on the original port.
Does it give you an error of why its being err-disabled?
-David
11-19-2023 07:22 PM
Hello,
Has this printer been moved from a sticky port to this current port? If that's the case it could be a reason for your issue. If that printer was plugged into a port that had sticky-mac configured then that port is holding on to that MAC address son that port. So when it sees the printer on another port you plug it into it will immediately shut it back down because it already has it in its CAM table on another port from the sticky configuration on the original port.
Does it give you an error of why its being err-disabled?
-David
11-19-2023 07:27 PM
thank David, it is true root cause. I forgot this,
many thank you
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide