R2511-HP MSR Router Series Security Command Reference(V5)

162
display port-security preshared-key user
Use display port-security preshared-key user to display information about pre-shared key (PSK) user
information.
Syntax
display port-security preshared-key user [ interface interface-type interface-number ] [ | { begin |
exclude | include } regular-expression ]
Views
Any view
Default command level
2: System level
Parameters
interface interface-type interface-number: Specifies a port by its type and 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-type interface-number parameters are not provided, the command displays
information about PSK users on all ports.
Examples
# Display information about PSK users on all ports.
<Sysname> display port-security preshared-key user
Index Mac-Address VlanID Interface
-----------------------------------------------------
0 0000-1122-3344 1 wlan-bss-1
1 0000-1133-2244 2 wlan-bss-2
# Display information about PSK users on WLAN port WLAN-BSS 1.
<Sysname> display port-security preshared-key user interface wlan-bss 1
Index Mac-Address VlanID Interface
-----------------------------------------------------
0 0000-1122-3344 1 wlan-bss-1
Table 15 Command output
Field Descri
p
tion
Index Index of the user.
Mac-Address MAC address of the user.
VlanID VLAN ID of the user.
Interface Port that the user accesses.