R0106-HP MSR Router Series Security Command Reference(V7)

187
Port security commands
In this chapter, "MSR2000" refers to MSR2003. "MSR3000" collectively refers to MSR3012, MSR3024,
MSR3044, MSR3064. "MSR4000" collectively refers to MSR4060 and MSR4080.
The commands configured in Layer 2 Ethernet interface view are available only on the following ports:
The ports on the HMIM-24GSW/24GSWP and HMIM-8GSW switching modules installed on MSR
routers.
display port-security
Use display port-security to display port security configuration, operation information, and statistics for
one or more ports.
Syntax
display port-security [ interface interface-type interface-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
interface interface-type interface-number: Specifies a port by its type and number.
Usage guidelines
If you do not specify a port, this command displays port security information for all ports.
Examples
# Display port security information for all ports.
<Sysname> display port-security
Port security parameters:
Port security : Enabled
AutoLearn aging time : 30 min
Disableport timeout : 30 s
MAC move : Denied
OUI value list :
Index : 1 Value : 123401
GigabitEthernet2/1/1 is link-up
Port mode : userLoginWithOUI
NeedToKnow mode : Disabled
Intrusion protection mode : NoAction
Max secure MAC addresses : 64
Current secure MAC addresses : 1