171
Port security configuration commands
The port security commands are available only for SAP modules that are operating in
bridge
mode.
display port-security
Use
display port-security
to display port security configuration information, operation information,
and statistics for one or more ports.
Syntax
display port-security
[
interface
interface-list
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Views
Any view
Default command 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-10>, where &<1-10>
means that you can specify up to 10 ports or port ranges. The starting port and ending port of a port
range must be of 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
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, a case-sensitive string of 1 to 256 characters.
Usage guidelines
If the
interface
interface-list
parameter is not provided, the command displays port security
information, operation information, and status about all ports.
Examples
# Display port-security configuration information, operation information, and statistics for 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
RALM logoff trap is enabled
RALM logfailure trap is enabled
AutoLearn aging time is 1 minutes
Disableport Timeout: 20s
OUI value: