ip userlog

Function

The ip userlog access command enables the device to generate user login and logout logs and send the logs to a log server.

The undo ip userlog access command disables the device from generating or sending user login and logout logs.

The ip userlog call-status command enables the logging function that records users' online results.

The undo ip userlog call-status command disables the logging function that records users' online results.

By default, the device is disabled from generating or sending user login and logout logs and online results.

This command is supported only on the NetEngine 8000 F1A.

Format

ip userlog { access | call-status }

undo ip userlog { access | call-status }

Parameters

None

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bras-control write

Usage Guidelines

Usage Scenario

To facilitate the management and monitoring of access users, run the ip userlog command to enable the device to generate user login and logout logs or online result logs and send the logs to a log server. Then, you can check user login and logout information or online result logs stored on the log server to perform device maintenance.

Prerequisites

Before running the ip userlog access command, the IP address and UDP port number of the log server have been specified using the ip userlog access export host command and the version of packets used to send user login and logout logs has been specified using the ip userlog access export version command.

Precautions

In VS mode, this command is supported only by the admin VS.

This function does not take effect if the memory usage on the main control board exceeds 90%.

To ensure that no log packets are dropped, run the ip userlog access and ip userlog call-status commands 10 seconds before user login.

Example

# Enable the device to generate user login and logout logs and send the logs to a log server.
<HUAWEI> system-view
[~HUAWEI] ip userlog access export host 10.1.1.2 1200
[~HUAWEI] ip userlog access export version 1
[~HUAWEI] ip userlog access
# Enable the logging function that records users' online results.
<HUAWEI> system-view
[~HUAWEI] ip userlog call-status
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >