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-26
1.2.7 ip userlog nat mode flow-begin
Syntax
ip userlog nat mode flow-begin
undo ip userlog nat mode flow-begin
View
System view
Parameters
None
Description
Use the ip userlog nat mode flow-begin command to have NAT logging performed
whenever an NAT connection is established.
Use the undo ip userlog nat mode flow-begin command to restore the default
logging mode.
NAT logging has the following two modes, and you can choose one by using the
commands here.
z Perform logging only when a NAT connection is deleted.
z Perform logging whenever a NAT connection is established or deleted.
By default, the NAT logging is performed only when a NAT connection is deleted.
Examples
# Configure to have NAT logging performed whenever a connection is established.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] ip userlog nat mode flow-begin