Port Security Configuration Commands; Display Port-Security - HP 5120 SI series Command Reference Manual

Hide thumbs Also See for 5120 SI series:
Table of Contents

Advertisement

Port security configuration commands

display port-security

Syntax
display port-security [ interface interface-list ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
2: System level
Parameters
Interface interface-list: Specifies Ethernet ports by an Ethernet port list in the format of { interface-type
interface-number [ to interface-type interface-number ] }&<1- 1 0>, where &<1- 1 0> means that you can
specify up to 10 ports or port ranges. The starting port and ending port of a port range must be the same
type, and the ending port number must be greater than the starting port number.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see the Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, which is a case sensitive string of 1 to 256 characters.
Description
Use the display port-security command to display port security configuration information, operation
information, and statistics about one or more ports.
If the interface interface-list parameter is not provided, the command displays port security information,
operation information, and status about all ports.
Related commands: port-security enable, port-security port-mode, port-security ntk-mode,
port-security intrusion-mode, port-security max-mac-count, port-security mac-address security,
port-security authorization ignore, port-security oui, and port-security trap.
Examples
# Display port security configuration information, operation information, and statistics about all ports.
<Sysname> display port-security
Equipment port-security is enabled
AddressLearn trap is enabled
Intrusion trap is enabled
Dot1x logon trap is enabled
Dot1x logoff trap is enabled
Dot1x logfailure trap is enabled
RALM logon trap is enabled
162

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents