Forbidden-Ip-Range - H3C S6550X-HI Series Command Reference Manual

Table of Contents

Advertisement

Default
No IP addresses are excluded from dynamic allocation in an address pool.
Views
DHCP address pool view
Predefined user roles
network-admin
Parameters
ip-address&<1-8>
Usage guidelines
The excluded IP addresses in an address pool are still assignable in other address pools.
You can exclude a maximum of 4096 IP addresses in an address pool by executing this command
multiple times.
If you do not specify any parameters, the
addresses.
Examples
# Exclude IP addresses 192.168.1.3 and 192.168.1.10 from dynamic allocation in DHCP address
pool 0.
<Sysname> system-view
[Sysname] dhcp server ip-pool 0
[Sysname-dhcp-pool-0] forbidden-ip 192.168.1.3 192.168.1.10
Related commands
dhcp server forbidden-ip
display dhcp server pool

forbidden-ip-range

Use
forbidden-ip-range
pool.
Use
undo forbidden-ip-range
Syntax
forbidden-ip-range start-ip-address [ end-ip-address ]
undo forbidden-ip-range [ start-ip-address [ end-ip-address ] ]
Default
No IP address ranges are excluded from DHCP allocation in an address pool.
Views
IP address pool view
Predefined user roles
network-admin
Parameters
-
start
ip-address
: Specifies a space-separated list of up to eight excluded IP addresses.
undo forbidden-ip
to exclude an IP address range from DHCP allocation in an address
to remove an IP address range from the forbidden IP range list.
: Specifies a start IP address.
39
command removes all excluded IP

Advertisement

Table of Contents
loading

Table of Contents