How can I enable NAT log and set a log interval

9

NAT logs are generated when the device performs address translation.

Configuration Example
Configure the device to generate NAT logs at an interval of 200 seconds.
system-view
[Huawei] firewall log all enable
[Huawei] info-center enable
[Huawei] firewall log defend log-interval 200

Other related questions:
Can AR router send the NAT translation table to the log server?
The configuration of NAT Elog does not need to enable firewall function, configuration is as follows: Nat log-format eLog Firewall log session enable Firewall log session NAT enable Info-center source channel 2 log level FW-DEBUG notification Then is the normal configuration of info-center. Refer to the product manual configuration: configure NAT log output

How can I view log information
  • Run the display logbuffer command to view log information in the log buffer.

  • Run the display logfile command to view log information in the log files.


  • If you have more questions, you can seek help from following ways:
    To iKnow To Live Chat
    Scroll to top