< Home

Outputting Alarms to a Log Host

If you want to view alarms generated on the FW on the log host, you can configure the FW to output alarms to the log host.

Context

The FW can output alarms to a maximum of eight log hosts. The log hosts back up each other.

Procedure

  1. Access the system view.

    system-view

  2. Add alarm information to the information channel.

    info-center source { module-name | default } channel { channel-number | channel-name } trap { state { off | on } | level severity } *

  3. Configure the channel through which alarms are output to the log host.
    • On an IPv4 network, set the channel through which alarms are output to the log host.

      info-center loghost ip-address [ channel { channel-number | channel-name } | facility local-number | language language-name | { vpn-instance vpn-instance-name | public-net } ] *

      By default, alarms are not output to the log host.

    • On an IPv6 network, set the channel through which alarms are output to the log host.

      info-center loghost ipv6 ipv6-address [ channel { channel-number | channel-name } | facility local-number | language language-name ] *

      By default, alarms are not output to the log host.

    • For a log host with a domain name specified, specify the channel through which alarms are output to the log host.

      info-center loghost domain domain-name [ channel { channel-number | channel-name } | facility local-number | language language-name | log-counter { disable | enable } | local-time ] *

      By default, alarms are not output to the log host.

  4. Optional: Set the source interface.

    info-center loghost source { interface-type interface-number | ip-address }

    This interface is recognized by the log host as the alarm sending interface.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >