No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

CLI-based Configuration Guide - IP Service

AR500, AR510, AR531, AR550, AR1500, and AR2500 V200R010

This document describes the concepts and configuration procedures of IP Service features on the device, and provides the configuration examples.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
(Optional) Configuring NAT Log Output

(Optional) Configuring NAT Log Output

Context

NAT logs are generated when the industrial switch router performs address translation. The logs record the original source IP addresses, source ports, destination IP addresses, destination ports, and translated source IP addresses and source ports, as well as user actions and time stamps. You can view NAT logs to learn about information about users have accessed a network using NAT.

The industrial switch router can send NAT logs to a specified log host, as shown in Figure 5-16.

Figure 5-16  Sending NAT logs to a specified log host

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run firewall log session enable

    The firewall log function is enabled.

  3. Run firewall log session nat enable

    The NAT session log function is enabled.

  4. (Optional) Run nat log-format elog

    Sets the NAT log format to eLog. The logs are generated in the format specified by the eLog server.

  5. Run the following command to output logs to the information center log host or session log host:

    • Output logs to the information center log host

      1. Run info-center enable

        The information center is enabled.

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

        The channel through which logs are output to the log host is configured.

        The industrial switch router supports a maximum of eight log hosts to implement backup among log hosts.

        NOTE:
        For details on how to configure the industrial switch router to send logs to a log host, see Example for Outputting Log Information to a Log Host in "Information Center Configuration" of the Huawei AR Series V200R010 Configuration Guide - Device Management.
    • Output logs to the session log host

      Run firewall log binary-log host host-ip-address host-port source source-ip-address source-port [ vpn-instance vpn-instance-name ]

      A session log host is configured.

      By default, no session log host is configured.

Translation
Download
Updated: 2019-05-20

Document ID: EDOC1100034231

Views: 82370

Downloads: 54

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next