display portal connection statistics
Syntax
display portal connection statistics { 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 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.
Description
Use display portal connection statistics to display portal connection statistics on a specified interface or all interfaces.
Examples
# Display portal connection statistics on interface VLAN-interface 1.
<Sysname> display portal connection statistics interface vlan-interface 1 ---------------Interface: Vlan-interface 1----------------------- User state statistics: State-Name User-Num VOID 0 DISCOVERED 0 WAIT_AUTHEN_ACK 0 WAIT_AUTHOR_ACK 0 WAIT_LOGIN_ACK 0 WAIT_ACL_ACK 0 WAIT_NEW_IP 0 WAIT_USERIPCHANGE_ACK 0 ONLINE 1 WAIT_LOGOUT_ACK 0 WAIT_LEAVING_ACK 0 Message statistics: Msg-Name Total Err Discard MSG_AUTHEN_ACK 3 0 0 MSG_AUTHOR_ACK 3 0 0 MSG_LOGIN_ACK 3 0 0 MSG_LOGOUT_ACK 2 0 0 MSG_LEAVING_ACK 0 0 0 MSG_CUT_REQ 0 0 0 MSG_AUTH_REQ 3 0 0 MSG_LOGIN_REQ 3 0 0 MSG_LOGOUT_REQ 2 0 0 MSG_LEAVING_REQ 0 0 0 MSG_ARPPKT 0 0 0 MSG_PORT_REMOVE 0 0 0 MSG_VLAN_REMOVE 0 0 0 MSG_IF_REMOVE 6 0 0 MSG_IF_SHUT 0 0 0 MSG_IF_DISPORTAL 0 0 0 MSG_IF_UP 0 0 0 MSG_ACL_RESULT 0 0 0 MSG_CUT_L3IF 0 0 0 MSG_IP_REMOVE 0 0 0 MSG_ALL_REMOVE 1 0 0 MSG_IFIPADDR_CHANGE 0 0 0 MSG_SOCKET_CHANGE 8 0 0 MSG_NOTIFY 0 0 0 MSG_SETPOLICY 0 0 0 MSG_SETPOLICY_RESULT 0 0 0
Table 13: Command output
Field | Description |
---|---|
User state statistics | Statistics on portal users |
State-Name | Name of a user state |
User-Num | Number of users in a specific state |
Message statistics | Statistics on messages |
Msg-Name | Message type |
Total | Total number of messages of a specific type |
Err | Number of erroneous messages of a specific type |
Discard | Number of discarded messages of a specific type |
MSG_AUTHEN_ACK | Authentication acknowledgment message |
MSG_AUTHOR_ACK | Authorization acknowledgment message |
MSG_LOGIN_ACK | Accounting acknowledgment message |
MSG_LOGOUT_ACK | Accounting-stop acknowledgment message |
MSG_LEAVING_ACK | Leaving acknowledgment message |
MSG_CUT_REQ | Cut request message |
MSG_AUTH_REQ | Authentication request message |
MSG_LOGIN_REQ | Accounting request message |
MSG_LOGOUT_REQ | Accounting-stop request message |
MSG_LEAVING_REQ | Leaving request message |
MSG_ARPPKT | ARP message |
MSG_PORT_REMOVE | Users-of-a-Layer-2-port-removed message |
MSG_VLAN_REMOVE | VLAN user removed message |
MSG_IF_REMOVE | Users-removed message, indicating the users on a Layer 3 interface were removed because the Layer 3 interface was removed. |
MSG_IF_SHUT | Layer 3 interface shutdown message |
MSG_IF_DISPORTAL | Portal-disabled-on-interface message |
MSG_IF_UP | Layer 3 interface came up message |
MSG_ACL_RESULT | ACL deployment failure message |
MSG_CUT_L3IF | Users-removed message, indicating the users on a Layer 3 interface were removed because they were logged out. |
MSG_IP_REMOVE | User-with-an-IP-removed message |
MSG_ALL_REMOVE | All-users-removed message |
MSG_IFIPADDR_CHANGE | Interface IP address change message |
MSG_SOCKET_CHANGE | Socket change message |
MSG_NOTIFY | Notification message |
MSG_SETPOLICY | Set policy message for assigning security ACL |
MSG_SETPOLICY_RESULT | Set policy response message |