In Port-security configuration,

port-security mac-address sticky-config xxxx-xxxx-xxx vlan x
port-security mac-address sticky xxxx-xxxx-xxx vlan x

1.All of them do not disappear after SW restarting. What's differences between the two commands?

2.Are sticky-config MAC & sticky MAC called security static MAC?

  • Has any answer solved your question? Then please accept it or your question will keep popping up here forever. Please also consider voting for useful answers.
    – Zac67
    Commented Apr 2, 2023 at 9:30

1 Answer 1


From the support articles I found

my understanding is that sticky is a basically dynamic mode where you can add MAC addresses manually as well. sticky-config is a static mode where there's no learning and all addresses need to be configured.

Both commands need to survive a reboot to make sense.

  • Your answer is not perfect. Sticky MAC can also be configure. Well, I notice your word "basically ". Commented May 1, 2023 at 6:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.