R211x-HP Flexfabric 11900 Layer 3 - IP Services Command Reference

31
<Sysname> system-view
[Sysname] interface vlan-interface 2
[Sysname-Vlan-interface2] dhcp select relay
Related commands
reset dhcp server ip-in-use
DHCP server commands
The term "interface" in this section collectively refers to Layer 3 interfaces, including VLAN interfaces and
Layer 3 Ethernet interfaces. You can set an Ethernet port as a Layer 3 interface by using the port
link-mode route command (see Layer 2—LAN Switching Configuration Guide).
address range
Use address range to configure an IP address range in a DHCP address pool for dynamic allocation.
Use undo address range to remove the IP address range in the address pool.
Syntax
address range start-ip-address end-ip-address
undo address range
Default
No IP address range is configured.
Views
DHCP address pool view
Predefined user roles
network-admin
mdc-admin
Parameters
start-ip-address: Specifies the start IP address.
end-ip-address: Specifies the end IP address.
Usage guidelines
If no IP address range is specified, all IP addresses in the subnet specified by the network command in
address pool view are assignable. If an IP address range is specified, only the IP addresses in the IP
address range are assignable.
After you use the address range command, you cannot use the network secondary command to specify
a secondary subnet in the address pool.
If you use the command multiple times, the most recent configuration takes effect.
The address range specified by the address range command must be within the subnet specified by the
network command, and the addresses out of the address range cannot be assigned.
Examples
# Specify an address range of 192.168.8.1 through 192.168.8.150 in address pool 1.