![Huawei Quidway S8500 Series Command Manual Download Page 1217](http://html.mh-extra.com/html/huawei/quidway-s8500-series/quidway-s8500-series_command-manual_1694791217.webp)
Command Manual – NAT&URPF&VPLS
Quidway S8500 Series Routing Switches
Chapter 1 NAT Configuration Commands
Huawei Technologies Proprietary
1-17
View
System view
Parameter
None
Description
Use the
ip userlog nat acl
command to enable NAT logging and configure NAT
logging rules, which defines the packets to be logged.
By default, NAT logging is disabled for each LSBM1VPNB board.
Example
# Employ ACL 2000 as the logging rule, and enable NAT logging.
[Quidway] ip userlog nat slot 3 acl 2000
1.2.3 ip userlog nat active-time
Syntax
ip userlog nat active-time
minutes
undo ip userlog nat active-time
View
System view
Parameter
minutes
: Time duration of an active NAT connection before a log record is created for it,
ranging from 10 to 120, in minutes. The default time duration is 0, which indicates that
this function is disabled.
Description
Use the
ip userlog nat active-time
command to set the time duration of an active NAT
connection before a log record is created for it.
Use the
undo ip userlog nat active-time
command to cancel the threshold configured
for logging.
If the NAT process performs logging only when a NAT connection is deleted, some
connections may be active for a long time without being logged. Devices can record
this type of connection regularly after this command is configured.