Limiting the Number of MAC Addresses per Port

You can now limit the number of MAC addresses per port. You can configure port security on ports or trunks.

New Commands 

CLI network-admin@Leaf1 > mac-limit-modify

port port-list

Specify the port list.

mac-limit mac-limit-number

Specify the number of MAC addresses to limit on the port.

mac-limit-action log|drop|disable

Specify the action to take when the MAC address limit is exceeded. If you select log, an event is logged to the event log. If you specify drop, the event is logged and the packet dropped. If you specify disable, the event is logged and the port is disabled.

 

CLI network-admin@Leaf1 > mac-limit-show

port port-list

Displays the port list.

mac-limit mac-limit-number

Displays the number of MAC addresses to limit on the port.

mac-limit-action log|drop|disable

Displays the action to take when the MAC address limit is exceeded.

mac-number number-mac-number

Displays the number of MAC addresses learned on the port.

 

CLI network-admin@Leaf1 > mac-limit-show

switch   port mac-limit mac-limit-action num-macs

-------- ---- --------- ---------------- --------

Leaf01   5    8         drop             0        

Leaf02   5    0         log              0        

Leaf03   5    0         log              0

 

Topic Feedback

Was this topic useful to you? Please provide feedback to improve the content.