R2511-HP MSR Router Series Layer 3 - IP Services Configuration Guide(V5)

149
Ste
p
Command
Remarks
2. Configure a NAT-PT
session aging time
for a protocol.
natpt aging-time { default | { dns |
finrst | frag | icmp | syn | tcp | udp }
time-value }
The defaults are as follows:
10 seconds for a DNS packet.
5 seconds for a FINRST packet.
5 seconds for a FRAG packet.
20 seconds for an ICMP packet.
240 seconds for a SYN packet.
40 seconds for a UDP packet.
86400 seconds for a TCP packet.
Configuring the maximum number of sessions
You can set the maximum number of allowed sessions. When the number of concurrent sessions reaches
the maximum, no new session can be established.
To configure the maximum number of sessions:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Configure the maximum
number of NAT-PT sessions.
natpt max-session max-number 2048 by default.
Displaying and maintaining NAT-PT
Task Command Remarks
Display all NAT-PT configuration
information.
display natpt all [ | { begin | exclude |
include } regular-expression ]
Available in any view.
Display NAT-PT address pool
configuration information.
display natpt address-group [ | { begin
| exclude | include }
regular-expression ]
Available in any view.
Display the static and dynamic NAT-PT
address mappings.
display natpt address-mapping [ |
{ begin | exclude | include }
regular-expression ]
Available in any view.
Display the NAT-PT session aging time.
display natpt aging-time [ | { begin |
exclude | include } regular-expression ]
Available in any view.
Display the NAT-PT fragment session
information.
display natpt frag-sessions [ | { begin
| exclude | include }
regular-expression ]
Available in any view.
Display the dynamic NAT-PT session
information.
display natpt session { all | icmp | tcp
| udp } [ | { begin | exclude | include }
regular-expression ]
Available in any view.
Display NAT-PT statistics information.
display natpt statistics [ | { begin |
exclude | include } regular-expression ]
Available in any view.