excluded-ip-address

Function

The excluded-ip-address command disables some IP addresses so that they cannot be assigned to users.

The undo excluded-ip-address command enables the disabled IP addresses.

By default, all the IP addresses are enabled and can be assigned to users.

This command is supported only on the NetEngine 8000 F1A.

Format

excluded-ip-address start-ip-address [ end-ip-address ]

undo excluded-ip-address start-ip-address [ end-ip-address ]

Parameters

Parameter Description Value
start-ip-address

Specifies the start IP address.

The value is in dotted decimal notation.

end-ip-address

Specifies the end IP address.

The value is in dotted decimal notation.

Views

Bas IP address pool view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ippool write

Usage Guidelines

Usage Scenario

You need to run this command when configuring a static user. If you do not use this parameter, only the start IP address is disabled.

To reserve some IP addresses for special uses, you can use the excluded-ip-address command to disable them.

After the excluded-ip-address command is executed to disable an IP address in an address pool, an address pool alarm is generated when the number of IP addresses in the address pool reaches the alarm threshold.

A remote address pool supports disabling of only the Giaddr addresses configured in the DHCP server group or the addresses that have been disabled on a remote server.

Precautions

InVSmode,thiscommandissupportedonlybytheadminVS.

Example

# Disable the IP addresses between 10.1.1.2 and 10.1.1.200 in the local IP address pool pool1.
<HUAWEI> system-view
[~HUAWEI] ip pool pool1 bas local
Info: It's successful to create an IP address pool
[*HUAWEI-ip-pool-pool1] commit
[~HUAWEI-ip-pool-pool1] gateway 10.1.1.1 255.255.255.0
[*HUAWEI-ip-pool-pool1] section 0 10.1.1.2 10.1.1.254
[*HUAWEI-ip-pool-pool1] commit
[~HUAWEI-ip-pool-pool1] excluded-ip-address 10.1.1.2 10.1.1.200
# Disable the IP addresses between 10.1.1.2 and 10.1.1.200 in the remote IP address pool pool1.
<HUAWEI> system-view
[~HUAWEI] ip pool pool1 bas remote
Info: It's successful to create an IP address pool
[*HUAWEI-ip-pool-pool1] commit
[~HUAWEI-ip-pool-pool1] gateway 10.1.1.1 255.255.255.0
[*HUAWEI-ip-pool-pool1] excluded-ip-address 10.1.1.2 10.1.1.200
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >