Displaying and maintaining port security

Task

Command

Remarks

Display port security configuration information, operation information, and statistics about one or more ports or all ports.

display port-security [ interface interface-list ] [ | { begin | exclude | include } regular-expression ]

Available in any view

Display information about secure MAC addresses.

display port-security mac-address security [ interface interface-type interface-number ] [ vlan vlan-id ] [ count ] [ | { begin | exclude | include } regular-expression ]

Available in any view

Display information about blocked MAC addresses.

display port-security mac-address block [ interface interface-type interface-number ] [ vlan vlan-id ] [ count ] [ | { begin | exclude | include } regular-expression ]

Available in any view