3Com Switch 8800 Advanced Software V5 Configuration Guide

994 CHAPTER 76: NAT CONFIGURATION
Figure 298 Export NAT logs
Exporting NAT logs to the information center
Follow these steps to export NAT logs to the information center:
n
Exporting NAT logs to the information center occupies storage space. This
approach is recommended when the volume of NAT logs is small.
NAT logs exporting to the information center are prioritized as informational,
meaning that they are ordinary information.
For detailed information about data priority, refer to “Information Center
Configuration” on page 1117.
Exporting NAT logs to log server
When exporting NAT logs to the log server in UDP packets, you can configure the
following three parameters:
IP address and UDP port number of the NAT log server. NAT logs cannot be
exported successfully without configuring the information center export
direction and specifying the log server address.
Source IP address of NAT logs. This address allows the log server to identify the
log source. You are recommended to use the loopback interface address as the
source IP address of NAT logs.
Version number of NAT logs. NAT logs may come in several versions, each with
different packet formats. However, the device supports only version 1 currently.
Follow these steps to configure a NAT log server:
To do... Use the command... Remarks
Enter system view system-view -
Configure the information
source of the log channel
info-center source
USERLOG channel console
log level debugging
-
Export NAT logs to the
information center
userlog nat syslog Required
NAT logs are exported to the
NAT log server by default.
Internet
User
Device
Generate NAT log
NAT logs NAT logs
NAT log server
To do... Use the command... Remarks
Enter system view system-view -