The display ip userlog buffer command displays control block information and user access information stored in the buffer of user login and logout logs.
This command is supported only on the NetEngine 8000 F1A.
Parameter | Description | Value |
---|---|---|
access |
Displays information about user login and logout logs. |
- |
call-status |
Displays information about user online result logs. |
- |
packet-index |
Specifies the index of a control block in the buffer. |
The value is an integer ranging from 0 to the maximum number of control blocks. The maximum number of control blocks is obtained using the following formula: Maximum number of access users supported x 10/1024. |
record-index |
Specifies the index of a user access record in the buffer. |
The value is an integer:
|
Usage Scenario
After the function to generate user login, logout, and online result logs is enabled, logs recording user logins, logouts, and online results will be stored in the local buffer when users go online or offline. To view control block information and information about user login, logout, and online result logs stored in the local buffer, run the display ip userlog buffer access command.
Precautions
In VS mode, this command is supported only by the admin VS.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display ip userlog buffer call-status
------------Call-status Buffer Summary Information ---------------
Total records need to be sent : 0
No. of packet being read : 163
No. of packet being written : 163
No. of current log record : 1068
-----------------------------------------------------------------
<HUAWEI> display ip userlog buffer call-status 0 0 ------------Call-status Buffer Record Information ---------------- User name : R13-07001000100000@huawei User IP address : 10.7.7.8 User login time : 2012/02/21 19:48:48 NAS IP address : 192.168.4.13 Interface name : GigabitEthernet0/1/1.1 User MAC address : 00e0-fc12-3456 User is online : Yes Online fail reason : NA -----------------------------------------------------------------
<HUAWEI> display ip userlog buffer access
---------------- Buffer Control Information ----------------------
Type of buffer :Access
Total records need to be sent :10
No. of packet being read :10
No. of packet being written :10
No. of current log record :10
-----------------------------------------------------------------
<HUAWEI> display ip userlog buffer call-status 0
------------Call-status Buffer Packet Head Information ----------
Count of records in packet : 0
Time of packet created : 2012/02/21 19:48:48
Sequence ID : 0
-----------------------------------------------------------------
Item | Description |
---|---|
Buffer Control Information | Control block information in the buffer. |
Total records need to be sent | Total number of user login and logout logs in the buffer. |
No. of packet being read | Number of the packet being read. |
No. of packet being written | Number of the packet being written. |
No. of current log record | Number of the current user login or logout log. |
User name | User name. |
User IP address | IP address of a user. |
User MAC address | MAC address of a user. |
User login time | Date and time when a user goes online. |
User is online | Whether a user goes online successfully. |
NAS IP address | IP address of the device. |
Interface name | Name of an access interface. |
Online fail reason | Login failure reason. |
Type of buffer | Buffer type of buffer of logs, which can only be Access or Call-Status in the current version. |
Count of records in packet | Number of log records in the packet. |
Time of packet created | Time when the packet is generated. |
Sequence ID | Sequence number of the packet. |