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