nat64 address-group exclude-ip-address

Function

The nat64 address-group exclude-ip-address command excludes a specific IP address or a range of IP addresses from a NAT64 address pool.

The undo nat64 address-group exclude-ip-address command disables a device from excluding a specific IP address or a range of IP addresses from a NAT64 address pool.

No IP address is excluded from a NAT64 address pool by default.

This command is supported only on the NetEngine 8000 F1A.

Format

nat64 address-group address-group-name exclude-ip-address start-address [ end-address ]

undo nat64 address-group address-group-name exclude-ip-address start-address [ end-address ]

Parameters

Parameter Description Value
address-group-name

Specifies the name of a NAT64 public IP address pool.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

start-address

Specifies a start IP address of a NAT64 public IP address range.

The value is in dotted decimal notation.

end-address

Specifies an end IP address of a NAT64 public IP address range.

The value is in dotted decimal notation.

Views

NAT64 instance view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
nat write

Usage Guidelines

Usage Scenario

To exclude a specific IP address or a range of IP addresses from a NAT64 address pool, each IP address sub-range in the original address range must be configured. To simplify the configuration, run the nat64 address-group exclude-ip-address command to implement the same function.

Prerequisites

A NAT64 instance has been created and assigned an IP address pool.

Precautions

  • The nat64 address-group exclude-ip-address command only removes a public IP address or a public IP address range.
  • A maximum of 10 IP address sub-ranges can be excluded from each IP address range. IP addresses in these sub-ranges cannot overlap.
  • Before you disable a device from excluding a specific IP address or a range of IP addresses from a NAT64 address pool, ensure that exclude-ip-address configured in the undo nat64 address-group exclude-ip-address command is the same as that configured in the nat64 address-group exclude-ip-address command.
  • If an address pool is configured by specifying mask, the device advertises specific UNRs instead of network segment UNRs after this command is run. If you run this command to exclude some public IP addresses, routes to the public IP addresses may fail to be advertised, and services may be interrupted.

Example

# Enable a device to exclude an IP address range from 10.0.0.0 to 10.0.0.5 in an IP address pool named group1 of 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 10.0.0.0 10.0.0.254
[*HUAWEI-nat64-instance-nat1] nat64 address-group group1 exclude-ip-address 10.0.0.0 10.0.0.5
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >