1-4
(The rest of the information is omitted.)
# Display the port security configurations of ports Ethernet 1/0/1 to Ethernet 1/0/3.
<Sysname> display port-security interface Ethernet 1/0/1 to Ethernet 1/0/3
Ethernet1/0/1 is link-up
Port mode is AutoLearn
NeedtoKnow mode is needtoknowonly
Intrusion mode is BlockMacaddress
Max mac-address num is 4
Stored mac-address num is 0
Authorization is ignore
Ethernet1/0/2 is link-down
Port mode is AutoLearn
NeedtoKnow mode is disabled
Intrusion mode is no action
Max mac-address num is not configured
Stored mac-address num is 0
Authorization is ignore
Ethernet1/0/3 is link-down
Port mode is AutoLearn
NeedtoKnow mode is disabled
Intrusion mode is BlockMacaddress
Max mac-address num is not configured
Stored mac-address num is 0
Authorization is ignore
Table 1-2 Description on the fields of the display port-security command
Field Description
Equipment port security is enabled Port security is enabled on the switch.
AddressLearn trap is Enabled The sending of address-learning trap messages is enabled.
Intrusion trap is Enabled The sending of intrusion-detection trap messages is enabled.
Dot1x logon trap is Enabled
The sending of 802.1x user authentication success trap
messages is enabled.
Dot1x logoff trap is Enabled The sending of 802.1x user logoff trap messages is enabled.
Dot1x logfailure trap is Enabled
The sending of 802.1x user authentication failure trap
messages is enabled.
RALM logon trap is Enabled
The sending of MAC-based authentication success trap
messages is enabled.
RALM logoff trap is Enabled
The sending of logoff trap messages for MAC-based
authenticated users is enabled.
RALM logfailure trap is Enabled
The sending of MAC-based authentication failure trap
messages is enabled.
Disableport Timeout: 20 s The temporary port-disabling time is 20 seconds.
OUI value The next line displays OUI value.
Index OUI index
Ethernet1/0/1 is link-up The link status of port Ethernet 1/0/1 is up.