< Home

smart-fullcone

Function

The smart-fullcone configures Smart 3-Tuple NAT.

The undo smart-fullcone command deletes Smart 3-Tuple NAT configurations.

Format

smart-fullcone exclude-dest-port port1 port2

undo smart-fullcone exclude-dest-port port1 port2

Parameters

Parameter Description Value

port1

Indicates the beginning port.

The value is an integer ranging from 1 to 65535.

port2

Indicates the ending port.

The value is an integer ranging from 1 to 65535.

Views

Address pool view

Default Level

2: Configuration level

Usage Guidelines

After Smart 3-Tuple NAT is configured, the port assignment mode can be determined based on destination port numbers. If a packet's destination port number is in the configured range, the NAPT mode is used for port assignment; otherwise, the 3-Tuple NAT mode is used.

By default, Smart 3-Tuple NAT is not configured.

Only the USG6510E/6510E-POE/6530E does not support this command.

Example

# Configure Smart 3-Tuple NAT so that NAPT is performed for packets whose destination ports are in the range from 1000 to 2000.

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