section unnumbered interface

Function

The section unnumbered interface command creates a reusing relationship between a NAT address pool and an interface address.

The undo section unnumbered interface command deletes the configured reusing relationship.

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.

Format

section section-num unnumbered interface { interface-name | interface-type interface-number }

undo section section-num unnumbered interface { interface-name | interface-type interface-number }

Parameters

Parameter Description Value
section-num

Specifies an address segment number.

The value is an integer ranging from 0 to 15.

interface interface-type interface-number

Specifies the type and number of an interface.

-

Views

NAT instance address pool view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
nat write

Usage Guidelines

Usage Scenario

On an enterprise network, an interface address must be different from that in a NAT address pool. As public IP addresses are limited, enterprise users have to expand the number of public IP addresses. The NAT address pool can be configured to reuse interface addresses to help the enterprise users to lower the cost in applying for public IP addresses.

Precautions

  • A maximum of 16 public address segments can be configured using the section command in the NAT address pool view. A single address segment that borrows interface addresses can be configured in each NAT instance, and the other address segments contain only common addresses.
  • In an easy IP scenario (an interface address can be used as an IP address in an address pool or NAT server address), but the no-PAT address pool is not supported, and an address-level NAT server cannot reuse an interface address.
  • In the NAT address pool view, a maximum of 16 public address sections are supported by the section command. A NAT instance supports a single address section of a multiplexing interface and multiple common address sections.

Example

# Configure a NAT address pool named group1 for a NAT instance named cpe1 and configure the NAT address pool to reuse the IP address of GE 0/1/1.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet0/1/1
[~HUAWEI-GigabitEthernet0/1/1] ip address 10.1.1.0 255.255.255.0
[~HUAWEI-GigabitEthernet0/1/1] commit
[~HUAWEI-GigabitEthernet0/1/1] quit
[~HUAWEI] nat instance cpe1 id 1
[*HUAWEI-nat-instance-cpe1] nat address-group group1 group-id 0
[*HUAWEI-nat-instance-cpe1-nat-address-group-group1] section 1 unnumbered interface GigabitEthernet 0/1/1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >