R2511-HP MSR Router Series Layer 3 - IP Services Command Reference(V5)
164
Default command level
2: System level
Parameters
acl acl-number: Specifies an ACL by its number in the range of 2000 to 3999.
Examples
# Enable NAT logging.
<Sysname> system-view
[Sysname] nat log enable acl 2001
nat log flow-active
Use nat log flow-active to enable logging for active NAT sessions and set the logging interval.
Use undo nat log flow-active to disable this function.
Syntax
nat log flow-active minutes
undo nat log flow-active [ minutes ]
Default
This function is disabled.
Views
System view
Default command level
2: System level
Parameters
minutes: Specifies the interval for logging active NAT sessions, in the range of 10 to 120 minutes.
Usage guidelines
This function helps in tracking active flows by logging them regularly. Without this function, logs are
generated only when a session is established or deleted and no logs are available for tracking a session
that lasts for a long period.
Examples
# Enable logging for active NAT sessions and set the logging interval to 10 minutes.
<Sysname> system-view
[Sysname] nat log flow-active 10
nat log flow-begin
Use nat log flow-begin to enable logging of NAT session establishment events.
Use undo nat log flow-begin to restore the default.
Syntax
nat log flow-begin
undo nat log flow-begin










