The ip userlog export host command sets the IP address and port number for the host that is used to receive user login and logout log packets and user login result log packets. If transport tcp is not specified, the transport mode is UDP. If transport tcp is specified, the transport mode is TCP.
The undo ip userlog export host command cancels the configuration.
By default, no IP address or port number is set for a log server.
This command is supported only on the NetEngine 8000 F1A.
Parameter | Description | Value |
---|---|---|
access |
Indicates user login and logout logs. |
- |
call-status |
Indicates user online result logs. |
- |
ip-address |
Sets an IP address for a log server. |
The value is in dotted decimal notation. |
port |
Sets a port number for a log server. |
The value is an integer ranging from 1 to 65535. |
Usage Scenario
The device supports the function to generate user login, logout, and online result logs and send the logs to a log server to facilitate information query for maintenance personnel. To set an IP address and port number for a target log server that is used to receive the logs, run the ip userlog access export host command.
Configuration Impact
The IP address and port number of the log server for receiving user login and logout logs and those of the log server for receiving user online result logs are independent of each other and can be configured concurrently. Both the user login and logout logs and the user online result logs can be received.
Precautions
The log server used to receive user login and logout logs and that used to receive user online result logs are independent of each other.
<HUAWEI> system-view [~HUAWEI] undo ip userlog access export host
<HUAWEI> system-view [~HUAWEI] ip userlog call-status export host 10.1.1.3 514
<HUAWEI> system-view [~HUAWEI] ip userlog access export host 10.1.1.2 1200
<HUAWEI> system-view [~HUAWEI] undo ip userlog call-status export host
<HUAWEI> system-view [~HUAWEI] ip userlog call-status export host 10.1.1.3 514 transport tcp
<HUAWEI> system-view [~HUAWEI] ip userlog access export host 10.1.1.2 1200 transport tcp