How can I tell the switch to lock the first learned MAC address

  • 1
  • 1
  • Question
  • Updated 2 years ago
  • Answered

On a XOS switch I can configure a port Lock-learning. That is for the at that time present MAC-address.

But I want that the port lock the first present MAC-address on a port. How can I do that?

Photo of Johan Hendrikx

Johan Hendrikx

  • 3,804 Points 3k badge 2x thumb

Posted 2 years ago

  • 1
  • 1
Photo of Ronald Dvorak

Ronald Dvorak, Embassador

  • 50,174 Points 50k badge 2x thumb
Here we go....

enable mac-locking
enable mac-locking ports [all| port_list]
configure mac-locking ports port_list first-arrival limit-learning learn_limit

... set the limit in the last command to 1 so you lock it to the first learned address.
Photo of Johan Hendrikx

Johan Hendrikx

  • 3,804 Points 3k badge 2x thumb

What is the firmware that support this command. In firmware 15.3.5.2-patch1-9 I don't be able to configure this.

Photo of Johan Hendrikx

Johan Hendrikx

  • 3,804 Points 3k badge 2x thumb
thanks