![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/1/8b/18b1e1e7-4363-4706-bb94-6eba3a993996/18b1e1e7-4363-4706-bb94-6eba3a993996-bg366.png)
870 CHAPTER 66: NAT-PT CONFIGURATION COMMANDS
■ 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
■ 86,400 seconds for a TCP packet
Example # Set the NAT-PT session timeout time to 30 seconds for UDP packets and to 45
seconds for ICMP packets.
<Sysname> system-view
[Sysname] natpt aging-time udp 30
[Sysname] natpt aging-time icmp 45
natpt enable
Syntax natpt enable
undo natpt enable
View Interface view
Parameter None
Description Use the
natpt enable command to enable the NAT-PT feature on an interface.
Use the
undo natpt enable command to disable the NAT-PT feature on an
interface.
By default, the NAT-PT feature is disabled on an interface. That is, no NAT-PT is
implemented for packets received and sent on the interface.
Example # Enable the NAT-PT feature on an interface.
<Sysname> system-view
[Sysname] interface Ethernet1/0
[Sysname-Ethernet1/0] natpt enable
natpt max-session
Syntax natpt max-session max-number
undo natpt max-session
View System view