nat no-pat enhance

Function

The nat no-pat enhance command enables no-PAT conversion for all IP packets.

The undo nat no-pat enhance command restores the default configuration.

By default, no-PAT conversion is enabled for packets of TCP/UDP/PPTP ALG for GRE/ICMP and disabled for the other IP packets.

This command is supported only on the NetEngine 8000 F1A.

Format

nat no-pat enhance

undo nat no-pat enhance

Parameters

None

Views

NAT instance view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
nat write

Usage Guidelines

Usage Scenario

No-PAT conversion takes effect only on packets of TCP, UDP, ICMP, and PPTP ALG for GRE. To enable no-PAT conversion for all IP packets, run the nat no-pat enhance command.

Configuration Impact

After this command is run, the no-PAT conversion mode is supported only in this instance, and the PAT and no-PAT address pools cannot be simultaneously configured.

Precautions

The nat no-pat enhance command can be run only in NAT444 instances.

If the nat pure-ip-packet drop command is run in the system view and the nat no-pat enhance command is run in the NAT444 instance view, the nat pure-ip-packet drop command does not take effect.

The nat no-pat enhance command is mutually exclusive with the following commands in NAT444 instances:

  • exclude-port
  • nat address-group unnumbered interface
  • nat alarm port-number user enable
  • nat bind static-mapping
  • nat port-limit enable
  • nat statistics port-usage enable
  • nat server-mode enable
  • nat server protocol unnumbered interface
  • nat server protocol (The nat no-pat enhance command is mutually exclusive with this command that only configures the interface-level internal server function.)

    After the nat no-pat enhance command is run, the following commands can be run but do not take effect:
  • nat alarm user port-number threshold
  • nat port-limit

Example

# Enable no-PAT conversion for all IP packets in a NAT instance named nat1.
<HUAWEI> system-view
[~HUAWEI] nat instance nat1 id 1
[*HUAWEI-nat-instance-nat1] nat no-pat enhance
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >