R2511-HP MSR Router Series Layer 3 - IP Services Command Reference(V5)

177
Default
The source IP address of the UDP packets that carry NAT logs is the IP address of the interface that sends
the UDP packets.
Views
System view
Default command level
2: System level
Parameters
ip-address: Specifies the source IP address for the UDP packets.
Examples
# Use 169.254.1.2 as the source IP address of the UDP packets that carry NAT logs.
<Sysname> system-view
[Sysname] userlog nat export source-ip 169.254.1.2
Related commands
userlog nat export host
userlog nat export version
Use userlog nat export version to set the version number of the NAT log packets.
Use undo userlog nat export version to restore the default.
Syntax
userlog nat export version version-number
undo userlog nat export version
Default
The version number of NAT log packets is 1.
Views
System view
Default command level
2: System level
Parameters
version-number: Specifies the version number for the NAT log packets. The system supports only version
1.
Examples
# Set the version number of NAT log packets to 1.
<Sysname> system-view
[Sysname] userlog nat export version 1
userlog nat syslog
Use userlog nat syslog to configure the device to export NAT logs to the information center.