R2511-HP MSR Router Series Layer 3 - IP Services Command Reference(V5)
188
tcp: Specifies a NAT-PT session aging time for the TCP packets.
time-value: Specifies the NAT-PT session aging time in seconds, in the range of 5 to 600.
Examples
# Set the NAT-PT session aging time to 30 seconds for UDP packets and 45 seconds for ICMP packets.
<Sysname> system-view
[Sysname] natpt aging-time udp 30
[Sysname] natpt aging-time icmp 45
Related commands
display natpt aging-time
natpt enable
Use natpt enable to enable the NAT-PT feature on an interface.
Use undo natpt enable to disable the NAT-PT feature on an interface.
Syntax
natpt enable
undo natpt enable
Default
The NAT-PT feature is disabled on an interface. No NAT-PT is implemented for packets received or sent
on the interface.
Views
Interface view
Default Level
2: System level
Examples
# Enable the NAT-PT feature on an interface.
<Sysname> system-view
[Sysname] interface ethernet 1/0
[Sysname-Ethernet1/0] natpt enable
natpt max-session
Use natpt max-session to set the maximum number of NAT-PT sessions.
Use undo natpt max-session to restore the default maximum number of NAT-PT sessions.
Syntax
natpt max-session max-number
undo natpt max-session
Default
The maximum number of NAT-PT sessions is 2048.










