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-23
1.2.3 ip userlog nat active-time
Syntax
ip userlog nat active-time minutes
undo ip userlog nat active-time
View
System view
Parameters
minutes: Wait interval to log active NAT connections, in minutes. The NAT process will
periodically log an active connection at this interval after the active time of the
connection reaches this interval. This argument ranges from 10 to 120. The default
value is 0, indicating the logging of active connections is disabled.
Description
Use the ip userlog nat active-time command to set the wait interval to log active NAT
connections.
Use the undo ip userlog nat active-time command to disable the logging of active
connections.
The NAT process performs logging when a NAT connection is deleted. It may be
needed to have the NAT process regularly log the connections that keep active for a
long time at a specific interval. You can use the command here to achieve this by
setting the value of the corresponding timer on the SRPU.
Examples
# Set the wait interval to log active NAT connections to 30 minutes.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] ip userlog nat active-time 30
1.2.4 ip userlog nat export host
Syntax
ip userlog nat export [ slot slot-number ] host ip-address udp-port
undo ip userlog nat export [ slot slot-number ] host
View
System view