< Home

info-center loghost format epsa

Function

The info-center loghost format epsa command enables the function of sending syslogs to the state grid system log server.

The undo info-center loghost format epsa command disables the function of sending syslogs to the state grid system log server.

Format

info-center loghost format epsa

undo info-center loghost format epsa

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

By default, the function of sending syslogs to the state grid system log server is disabled.

Prerequisites

Before running this command, ensure that the information center has been enabled.

Application scenario

After this function is enabled, the FW assembles and sends logs according to the log formats required by the state grid system. The log types are as follows: user operation logs, device running status logs, security policy logs, and attack defense logs. The formats of these log types are basically the same. For example, a user login log is in the following format: <5> 2006-03-12 20:12:23 fw01 FW 0 1 admin 10.1.1.1.

Before running this command, if you have set the log formats and contents for user operation logs, device running status logs, security policy logs, and attack defense logs, the preceding logs can be sent to but are discarded by the state grid system log server. To avoid unnecessary resource waste, run the info-center source default channel loghost log state off command to disable these logs.

Precautions
  • This function applies only to a third-party log server (state grid system). Other log servers do not support resolving logs of this type.
  • You cannot execute this command in a virtual system. If you configure this function in the public system, the logs of the virtual system are also sent to the state grid system log server.
  • After the function of sending syslogs to the log server of the national power system is enabled, the vpn-instance parameter cannot be set when configuring info-center loghost. Otherwise, log interconnection fails.

Follow-up operation

After enabling this function, you can run the display log statistic type epsa command to display statistics about state grid system logs that are successfully sent or fail to be sent.

Example

# Enable the function of sending syslogs to the state grid system log server.

<sysname> system-view
[sysname] info-center loghost format epsa
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >