section (NAT64 instance address pool view)

Function

The section command configures an address range in a specified NAT64 address pool.

The undo section command cancels the configuration.

No address range is configured for a NAT64 address pool.

This command is supported only on the NetEngine 8000 F1A.

Format

section section-num start-ip-address { mask { mask-length | mask-ip } | end-ip-address }

undo section section-num [ start-ip-address { mask { mask-length | mask-ip } | end-ip-address } ]

Parameters

Parameter Description Value
section-num

Specifies an address range ID in an address pool.

The value is an integer ranging from 0 to 15.

start-ip-address

Specifies a start IP address of an address range in a public address pool.

The value is in dotted decimal notation.

mask mask-length

Specifies the mask length of public IP addresses.

For a PAT address pool, the value is an integer in the range of 22 to 32. For a No-PAT address pool, the value is an integer in the range of 20 to 32.

mask mask-ip

Specifies the mask of public IP addresses.

The value is in dotted decimal notation.

end-ip-address

Specifies an end IP address of an address range in a public address pool.

The value is in dotted decimal notation.

Views

NAT64 instance address pool view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
nat write

Usage Guidelines

Usage Scenario

A NAT64 address pool is a collection of public IPv4 addresses. After receiving IPv6 packets sent by users, a NAT64 device translates private IPv4 addresses carried in the IPv4 packets to public IPv4 addresses and transmits the packets to a public network. The NAT64 address pool used in NAT64 is determined by a specific traffic policy.

Either of the following modes can be used to configure a NAT64 address range:

  • Configure an address range by specifying a start address and an end address or by specifying a network range address with a mask using the nat64 address-group command in the NAT64 instance view.
  • Run the section command in the NAT64 address pool view to configure a range in a public IP address pool.

Prerequisites

A NAT64 address pool has been configured.

Example

# Configure address range 1 in a NAT64 address pool named group1 in a NAT64 instance named nat1.
<HUAWEI> system-view
[~HUAWEI] nat64 instance nat1 id 1
[*HUAWEI-nat64-instance-nat1] nat64 address-group group1 group-id 1
[*HUAWEI-nat64-instance-nat1-nat64-address-group-group1] section 1 10.10.0.0 mask 24
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >