The nat address-group unnumbered interface command creates a reusing relationship between a NAT address pool and an interface address.
The undo nat address-group unnumbered interface command deletes the reusing relationship between a NAT address pool and an interface address.
By default, no reusing relationship exists between a NAT address pool and an interface address.
This command is supported only on the NetEngine 8000 F1A.
Parameter | Description | Value |
---|---|---|
address-group-name |
Specifies the name of an 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. |
group-id id |
Specifies the ID of the address pool. |
The value is an integer ranging from 0 to 127. |
unnumbered |
Borrow the address of an interface. |
- |
interface-name |
Specifies the name of an interface. |
The value is a string of 1 to 63 case-sensitive characters, spaces not supported. |
interface-type |
Specifies the type of the interface. |
- |
interface-number |
Specifies the number of the interface. |
The value is a string of 1 to 63 case-sensitive characters, spaces not supported. |
Usage Scenario
In enterprise network scenarios, IP addresses in a NAT address pool do not overlap with interface addresses, leading to insufficiency of public IP addresses. To expand public IP address for enterprise users, run the nat address-group unnumbered interface command to configure a reusing relationship between a NAT address pool and an interface address.
Precautions
<HUAWEI> system-view [~HUAWEI] interface GigabitEthernet 0/1/1 [*HUAWEI-GigabitEthernet0/1/1] ip address 1.1.1.1 255.255.255.0 [*HUAWEI-GigabitEthernet0/1/1] quit [~HUAWEI] nat instance cpe1 id 1 [*HUAWEI-nat-instance-cpe1] nat address-group group1 group-id 1 unnumbered interface GigabitEthernet 0/1/1