mac-limit-show

You can now limit the number of MAC addresses per port. You can configure port security only on ports. Details about port security for ports are as follows:

  • Access ports—You can configure port security on interfaces that you have configured as Layer 2 access ports. On an access port, port security applies only to the access VLAN.
  • Trunk ports—You can configure port security on interfaces that you have configured as Layer 2 trunk ports.

Syntax   mac-limit-show

port port-list

The port or port list.

mac-limit mac-limit-number

The number of MAC addresses to limit on the port.

mac-limit-action log|disable

The action to take if the MAC address limit is exceeded.

num-macs num-macs-number

The number of MAC addresses learned on the port.

Access   Network Administrator

History 

Version 2.6.0

Command introduced.

Version 5.1.0

 The option drop removed from mac-limit-action parameter.

Usage   Use this command to display information about MAC address limits on ports.

Examples  To display information about MAC address limits on ports, use the following syntax:

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

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

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

switch1 1    0         log              0        

switch1 5    0         log              0        

switch1 9    0         log              0        

switch1 13   0         log              0

north
    keyboard_arrow_up
    keyboard_arrow_down
    description
    print
    feedback
    support
    business
    rss_feed
    south