HP MSR2000/3000/4000 Router Series Layer 3 - IP Services Configuration Guide

125
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Configure NAT with ALG for
the specified protocol or all
protocols.
nat alg { all | dns | ftp | h323 |
icmp-error | rtsp | sip | tftp }
By default, NAT with ALG is enabled.
Configuring NAT logging
NAT logging records NAT session information, such as IP address and port number translation, user
access, and network flows.
A NAT device generates NAT logs when one of the following occurs:
A NAT session is established.
A NAT session is removed when you add configurations with higher priority, remove configurations,
change ACLs, and when a NAT session ages out or a NAT session is deleted.
Active NAT flows exist. When the interval for logging active NAT flows is reached, the NAT session
is logged.
To enable NAT logging:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enable NAT logging.
nat log enable [ acl acl-number ]
By default, NAT logging is
disabled.
3. Enable NAT logging.
For NAT session establishment
events:
nat log flow-begin
For NAT session removal events:
nat log flow-end
For active NAT flows:
nat log flow-active minutes
By default, NAT logging is
disabled.
Displaying and maintaining NAT
Execute display commands in any view and reset commands in user view.
Task Command
Display all NAT configuration information. display nat all
Display NAT address group information. display nat address-group [ group-number ]
Display NAT with DNS mapping configuration.
display nat dns-map
Display information about NAT EIM entries
(MSR2000/MSR3000).
display nat eim
Display information about NAT EIM entries
(MSR4000).
display nat eim [ slot slot-number ]