ā07-17-2019 07:37 PM
Solved! Go to Solution.
ā07-18-2019 01:18 PM
ā10-21-2019 09:00 PM
Yes I got that to work. I was just curious if I was missing something to have the switch retry the port if the original device is plugged back in. Cisco has an errdisable recovery timer which I think we have set to 30 (seconds). I got the port violations to log but I canāt get netsight to email alert me. Strange because I have no issues getting ospf alerts.
ā10-21-2019 07:35 PM
How would you like it to work?
I guess this is one thing youād like:
configure mac-locking ports port_list learn-limit-action remain-enabled
From the EXOS user guide:
āDisable/Enable port when MAC threshold is reached
This command is used to configure the disabling of ports when the configured MAC threshold is met.
This is used for both āfirst arrivalā and āstaticā MAC locking methods.
configure mac-locking ports port_list learn-limit-action [disable-port |remain-enabled]
The port is disabled when the configured MAC threshold is met. All the FDB entries learned on this port
are flushed as the port is disabled. This configuration can be reset using the clear mac-locking
disabled-state ports port_list command. When MAC locking is disabled on the port, the
port comes back up.
Clearing the Disabled-state of a Port
This command is used to return the behavior of first arrival MAC locking with link state change to its
default value of enabled.
clear mac-locking disabled-state ports port_list
Delete Static MAC Locking Entries
To delete MAC locking for all static MAC address or the specified static MAC address on the given port,
use the following command:
configure mac-locking ports port_list static delete station
[station_mac_address | all]
Clearing MAC Locking entries
The following command is used to clear MAC locking station entries for the given parameters:
clear mac-locking station [all | {mac station_mac_address} {firstarrival
| static} {ports port_list}]ā
Have a look in the user guide (page 898 in the 22.6 version).
/Fredrik
ā10-16-2019 06:24 PM
Ok I found a series of commands that seem to work. It does learn 1 MAC address. I then plug in a different device and the port disables. The issue is that when I plug back in the original device, the port is still down. Itās like I have to disable and enable the port. At least Cisco retries in 30 secs (errdisable-recovery). The more automated the better.
ā07-18-2019 01:18 PM