Clear MAC Lock violation disabled port and station entry via Netsight for S/k/N/C

  • 0
  • 2
  • Question
  • Updated 4 years ago

Is there a way / mib, perhaps via a custom Flexview to clear MacLock violations via Netsight.

That would be to clear the violation itself to re-enable the port and also clear any MacLock station entries for the same port?

Many thanks in advance.

Photo of Martin Flammia

Martin Flammia

  • 5,724 Points 5k badge 2x thumb

Posted 4 years ago

  • 0
  • 2
Photo of Ronald Dvorak

Ronald Dvorak, Embassador

  • 45,024 Points 20k badge 2x thumb
I'm pretty sure that you'd find the right entry in the MAClocking MIB....



Could you please post a example of the switch locking MAC configuration so I'd see how you've setup the function.... i.e. static/firstarrivel, aging....
Photo of Martin Flammia

Martin Flammia

  • 5,724 Points 5k badge 2x thumb

Had seen that MIB but couldn't see anything that would do the job.


Configuration:


set maclock enable

set maclock enable <port-string>

set maclock firstarrival <port-string> 1

set maclock clearonlinkchange <port-string> disable

set maclock trap <port-string> enable violation

set maclock syslog <port-string> enable violation

set maclock disable-port <port-string>


Thanks

Photo of Tom Currier

Tom Currier, Employee

  • 720 Points 500 badge 2x thumb
Martin;

If you have Policy Manager you can use that to manage MAC Locking.  To do so, select the device in the tree on the left side of the screen in Policy Manager then the MAC Locking tab on the right screen.  Push the retrieve button and it will pull in all the mac locked addresses along with their locking cause.  You may then highlight the entries you want cleared then push the Remove button.  Take note that if you don't change the port or device settings, it may come right back again.