708CHAPTER 51: DHCP SERVER CONFIGURATION COMMANDS

dhcp server forbidden-ip

Syntax dhcp server forbidden-iplow-ip-address [ high-ip-address ] undo dhcp server forbidden-iplow-ip-address [ high-ip-address ]

View System view

Parameter low-ip-address: Start IP address of the IP address range to be excluded from dynamic allocation.

high-ip-address: End IP address of the IP address range to be excluded from dynamic allocation. The end IP address must have a higher sequence than the start one.

Description Use the dhcp server forbidden-ipcommand to exclude IP addresses from dynamic allocation.

Use the undo dhcp server forbidden-ipcommand to remove the configuration.

By default, all IP addresses in a DHCP address pool are assignable except IP addresses of the DHCP server interfaces.

Note that:

When you use the dhcp server forbidden-ipcommand to exclude an IP address that is bound to a user from dynamic assignment, the address can be still assigned to the user.

When you use the undo dhcp server forbidden-ipcommand to remove the configuration, the specified address/address range must be consistent with the one specified in the dhcp server forbidden-ipcommand. If you have configured to exclude an address range from dynamic assignment, you need to specify an address range in the undo dhcp server forbidden-ipcommand instead of specifying one IP address.

Related command: dhcp server ip-pool,network, and static-bindip-address.

Example # Exclude the IP address range 10.110.1.1 to 10.110.1.63 from dynamic allocation.

<Sysname> system-view

[Sysname] dhcp server forbidden-ip 10.110.1.1 10.110.1.63

dhcp server ip-pool

Syntax dhcp server ip-pool pool-name

undo dhcp server ip-pool pool-name

Page 708
Image 708
3Com MSR 30, MSR 50 manual Dhcp server forbidden-ip, Dhcp server ip-pool