< Home

Outputting Debugging Information to a Log Host

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

Context

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

Procedure

  1. Access the system view.

    system-view

  2. Add the debugging information to the information channel.

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

  3. Set a channel through which debugging information is output to the log host.
    • On an IPv4 network:

      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, debugging information is not output to the log host.

    • On an IPv6 network:

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

      By default, debugging information is not output to the log host.

    • For a log host with a domain name specified:

      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, debugging information is not output to the log host.

  4. Optional: Specify a source interface.

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

    This interface is recognized by the log host as the debugging information sending interface.

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