H3C S7500 Series Ethernet Switches Operation Manual
Operation Manual – NAT, Netstream, Policy Routing
H3C S7500 Series Ethernet Switches Chapter 1
NAT Configuration
1-14
To do… Use the command… Remarks
Enter system view
system-view
—
Set the source address of
log packets
ip userlog nat export
source-ip src-address
Optional
By default, the source IP
address of log packets is
0.0.0.0.
V. Setting the version of log packets
Follow these steps to set the version of log packets:
To do… Use the command… Remarks
Enter system view
system-view
—
Set the version of log
packets
ip userlog nat export
version version-number
Optional
By default, the version of
log packets is version 1.
VI. Setting NAT logging mode
You can choose one from the following two NAT logging modes:
z Perform logging only when a NAT connection is deleted.
z Perform logging whenever a NAT connection is established or deleted.
Follow these steps to set NAT logging mode:
To do… Use the command… Remarks
Enter system view
system-view
—
Configure to perform NAT
logging whenever a
connection is established
ip userlog nat mode
flow-begin
Optional
By default, NAT logging is
performed only when a NAT
connection is deleted.