A SERVICE OF

logo

2032 CHAPTER 133: NAT CONFIGURATION COMMANDS
<Sysname> system-view
[Sysname]undo nat connection-limit-policy 1
nat log enable
Syntax nat log enable [ acl acl-number ]
undo nat log enable
View System view
Parameter acl acl-number: Enables the NAT log function for the data flows that match the
specified ACL. The acl-number parameter ranges from 2,000 to 3,999. Absence of
this parameter indicates that NAT log function applies to all data flows.
Description Use the
nat log enable command to enable the NAT log function.
Use the undo nat log enable command to disable the NAT log function.
By default, the NAT log function is disabled.
Example # Enable the NAT log function.
<Sysname> system-view
[Sysname] nat log enable acl 2001
# Disable the NAT log function.
<Sysname> system-view
[Sysname] undo nat log enable
nat log flow-active
Syntax nat log flow-active minutes
undo nat log flow-active
View System view
Parameter minutes: Interval in logging the active NAT sessions, in the range 10 to 120
minutes.
Description Use the
nat log flow-active command to enable logging for NAT active sessions
and specify the interval in creating and sending the logs.
Use the
undo nat log flow-active command to disable this function.
By default, this function is disabled.