No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

NE40E V800R010C10SPC500 Configuration Guide - User Access 01

This is NE40E V800R010C10SPC500 Configuration Guide - User Access
Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
(Optional) Configuring the Function to Generate and Send Logs About User Logins, Logouts, and Online Results

(Optional) Configuring the Function to Generate and Send Logs About User Logins, Logouts, and Online Results

This second describes how to configure the function to generate logs about user logins, logouts, and online results and send the logs to a log server. After the function is enabled, you can use the log server to query user access information, such as IP addresses, online time, and offline time of access users.

Context

After the function to generate and send logs about user logins, logouts, and online results is enabled on the router, the device records information when users successfully log in or log out. The information includes user names, login and logout operations, login and logout time, access interfaces, and user IP and MAC addresses.

Additionally, the router can send the logs to a log server, allowing network maintenance personnel to query logs on the log server.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run ip userlog { access | call-status } export host ip-address udp-port

    An IP address and UDP port number are set for the log server that is used to receive logs about user logins, logouts, and online results.

  3. Run ip userlog access export version

    The version number of packets used to send user login and logout logs is set.

  4. Run ip userlog access send format syslog

    The format for sending user login and logout logs is set.

  5. Run ip userlog access

    The device is enabled to generate user login and logout logs and send the logs to a log server.

  6. Run ip userlog call-status

    The device is enabled to generate user online result logs and send the logs to a log server.

  7. Run commit

    The configuration is committed.

Result

  • After configuring the function to generate and send logs about user logins, logouts, and online results, run the display ip userlog access config command to check the configurations of the function.
  • After users log in or out successfully, run the display ip userlog access statistic command to check statistics about user login and logout logs.
    NOTE:
    To re-collect log statistics about user logins, logouts, and online results, run the reset ip userlog statistics access command to clear the existing statistics.

    Statistics about user login, logout, and online result logs cannot be restored after they are cleared. Therefore, exercise caution when running this command.

  • After configuring the function to generate and send logs about user logins, logouts, and online results, run the display ip userlog buffer access command to check control block information and user access information stored in the buffer area where the user logs are recorded.
Translation
Download
Updated: 2019-01-03

Document ID: EDOC1100055031

Views: 17292

Downloads: 70

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next