display portal user
Syntax
display portal user { all | interface interface-type interface-number } [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
all: Specifies all interfaces.
interface interface-type interface-number: Specifies an interface by its type and name.
|: 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.
Description
Use display portal user to display information about portal users on a specified interface or all interfaces.
Examples
# Display information about portal users on all interfaces.
<Sysname> display portal user all Index:2 State:ONLINE SubState:NONE ACL:NONE Work-mode:Stand-alone VPN instance:N/A MAC IP Vlan Interface --------------------------------------------------------------------- 000d-88f8-0eab 2.2.2.2 1 Vlan-interface1 Index:3 State:ONLINE SubState:NONE ACL:3000 Work-mode:Primary VPN instance:N/A MAC IP Vlan Interface --------------------------------------------------------------------- 000d-88f8-0eac 2.2.2.3 2 Vlan-interface2 Total 2 user(s) matched, 2 listed.
Table 20: Command output
Field | Description |
---|---|
Index | Index of the portal user |
State | Current status of the portal user |
SubState | Current sub-status of the portal user |
ACL | Authorization ACL of the portal user |
Work-mode | User's working mode:
|
VPN instance | MPLS L3VPN to which the portal server belongs. This field is not supported in the current software version. |
MAC | MAC address of the portal user |
IP | IP address of the portal user |
Vlan | VLAN to which the portal user belongs |
Interface | Interface to which the portal user is attached |
Total 2 user(s) matched, 2 listed | Total number of portal users |