H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – NAT, Netstream, Policy Routing
H3C S7500 Series Ethernet Switches Chapter 1
NAT Configuration Commands
1-25
Description
Use the ip userlog nat export source-ip command to set the source IP address of log
packets.
Use the undo ip userlog nat export source-ip command to restore the default source
IP address setting.
By default, a log packet uses its VLAN interface IP address as its source IP address.
Examples
# Set the source IP address of log packets to 169.254.3.1.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] ip userlog nat export source-ip 169.254.3.1
1.2.6 ip userlog nat export version
Syntax
ip userlog nat export version version-number
undo ip userlog nat export version
View
System view
Parameters
version-number: Version of log packets. It defaults to 1, and can only be 1 currently
because it is for the future use of network management software to identify extended
log packets.
Description
Use the ip userlog nat export version command to set the version of log packets.
Use the undo ip userlog nat export version command to restore the default version
of log packets.
Examples
# Set the version of log packets to 1.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] ip userlog nat export version 1