< Home

mode (Address pool view)

Function

The mode command configures the NAT mode of the address pool.

Format

mode { pat | no-pat { global | local } | full-cone { global | local } [ no-reverse ] | pcp }

Parameters

Parameter Description Value

pat

Indicates the PAT mode.

-

no-pat

Indicates the No-PAT mode.

-

full-cone

Indicates the Full cone mode. Only the USG6510E/6510E-POE/6530E do not support this parameter.

-

global

Indicates the global full cone or the No-PAT mode. The server map entry does not contain security zone parameters when data matches the global Full-cone NAT.

-

local

Indicates the local full cone or the No-PAT mode. The server map entry contains security zone parameters when data matches the local Full-cone NAT.

-

no-reverse

Indicates that the reverse server mapping table is not generated.

-

pcp

Indicates the PCP mode. Only the USG6510E/6510E-POE/6530E do not support this parameter.

-

Views

Address pool view

Default Level

2: Configuration level

Usage Guidelines

By default, the NAT mode of the address pool is pat.

After the mode is configured, all the address segments in the address pool share the same mode.

If an address pool is used for DS-Lite or NAT64, its mode can only be pat or full-cone.

Example

# Configure the NAT mode of the address pool to be global full cone mode.

<sysname> system-view
[sysname] nat address-group nataddr 1
[sysname-address-group-nataddr] mode full-cone global
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >