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:

Syntax   mac-limit-show


id id-number

Displays the ID assigned to the port.

port port-list

Displays the port or 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 if the MAC address limit is exceeded.

num-macs num-macs-number

Displays the number of MAC addresses learned on the port.

Formatting Options

format fields-to-display

Display output using a specific parameter. Use all to display all possible output.

parsable-delim character

Display output formatted for machine parsing using a specified delimiter.


Display output in ascending order.


Display output in descending order.

show dups

Display duplicate entries in the output.

layout vertical|horizontal

Format the output in a vertical or horizontal layout.

show-interval seconds-interval

Repeat the show command at a specified interval.


Display column headers or not.

limit-output number

Limit the display output to a specific number of entries.


Display the number of entries in the output. This is useful with vRouter show commands.


Display full values in the output instead of scaled approximate values.


Display integer values instead of mapped values


Aggregate output by specific parameters. If sum-by fields are specified, records that have the same value in sum-by fields are combined and displayed as one aggregate record. NOTE: This option is only available for show commands that collect statistics such as connection-stats-show.

Defaults   None

Access   Network Administrator

History   Command introduced in Version 2.6.0.

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@switch > mac-limit-show

See Also