reserved ip-address

Function

The reserved ip-address command configures the reservation type of an IP address for a user, either leased-based IP address reservation or MAC-address-based IP address reservation.

The undo reserved ip-address command cancels the previous configuration.

By default, IP addresses are not reserved. When a user goes offline, the IP address is reclaimed.

This command is supported only on the NetEngine 8000 F1A.

Format

reserved ip-address { lease | mac }

undo reserved ip-address

Parameters

Parameter Description Value
lease

Configures lease-based IP address reservation.

-

mac

Configures MAC-address-based IP address reservation.

-

Views

IP address pool view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ippool write

Usage Guidelines

Usage Scenario

To enable the user to use the originally-allocated IP address for the second login, which is called IP address reservation, you can run the reserved ip-address command to configure the reservation type.

If a user is assigned a lease of four days during the first login, the user can still use the originally-allocated IP address provided that he goes online for the second time within four days. This is called lease-based IP address reservation.

If a user's MAC address and the allocated IP address are recorded during the first login, the user can still use the originally-allocated IP address when he goes online for the second time. This is called MAC-address-based IP address reservation.

Configuration Impact

If MAC-address-based IP address reservation is used, the state of the address entry is reserved after a user gets offline; if leased-based IP address reservation is used, the state of the address entry is used after the user gets offline.

Precautions

In VS mode, this command is supported only by the admin VS.

This command supports only IPoE users.

Example

# In the address pool named huawei, configure leased-based IP address reservation.
<HUAWEI> system-view
[~HUAWEI] ip pool huawei bas local
Info: It's successful to create an IP address pool
[*HUAWEI-ip-pool-huawei] commit
[~HUAWEI-ip-pool-huawei] reserved ip-address lease
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >