Limiting the Number of MAC Addresses per Port 



In Netvisor ONE you can limit the number of MAC addresses learned on a per port basis. You can configure this capability (sometimes referred to as port security) on ports or trunks, for example like so:


CLI (network-admin@switch) > mac-limit-modify port 45,49 mac-limit 5 mac-limit-action log


The configuration options for the command are:


CLI (network-admin@switch) > 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|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 disable, the event is logged and the port is disabled.


To display the MAC limits, you can use:


CLI (network-admin@switch) > 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|disable

Displays the action taken when the MAC address limit is exceeded.

num-macs num-macs-number

Displays the number of MAC addresses learned on the port.


CLI (network-admin@switch) > mac-limit-show


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

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

5    0         log              0

5    0         log              0


north
    keyboard_arrow_up
    keyboard_arrow_down
    description
    print
    feedback
    support
    business
    rss_feed
    south