Other network elements are not required.
DHCP is a basic feature of a switch and is not under license control.
All models of S2720, S5700, and S6700 series switches support DHCP.
For details about software mappings, visit Hardware Query Tool and search for the desired product model.
Table 1 lists DHCP specifications.
Function |
Description |
Specifications |
---|---|---|
DHCP server |
Maximum number of IP addresses that can be allocated by the switch |
16384 |
Maximum number of IP address pools that can be configured on the switch |
128 (including global and interface address pools). The number of address pools of each type is not limited. |
|
Maximum number of egress gateway addresses that can be configured in the global address pool view |
8 |
|
Maximum number of DNS server or NetBIOS server IP addresses configured in an address pool |
8 |
|
Maximum number of IP addresses in each address pool |
|
|
Maximum number of fixed IP addresses that can be allocated to specified clients |
4096 |
|
Number of customized options in each address pool |
8 |
|
DHCP relay |
Maximum number of DHCP server groups that can be configured on the switch |
32 |
Maximum number of DHCP servers in a DHCP server group |
20 |
|
Maximum number of DHCP server groups that can be applied to an interface |
1 |
|
Maximum number of DHCP server addresses that can be configured on an interface |
20 |
|
DHCP client/BOOTP client |
Maximum number of IP addresses that a DHCP client or BOOTP client can apply for (each interface can only apply for one IP address) |
|
Minimum version supporting the DHCP client function: V100R006.
Wireless interfaces cannot function as DHCP clients or BOOTP clients.
The DHCP relay or DHCP server function can be configured on the VLANIF interface of a super-VLAN on the switch in any version.
The DHCP relay function can be configured on a sub-interface on the switch in V100R006 or a later version. The DHCP server function can be configured on a sub-interface on a switch in V200R005 or a later version.
The switch in V100R006 or a later version supports gateway failover when working as a DHCP relay agent.
In V100R003 or a later version, VRRP can be configured on a switch working as a DHCP relay agent. It is necessary to specify the virtual IP address of the VRRP group as the gateway of DHCP clients, and add the virtual IP address to a DHCP server group.
In V100R006 or a later version, VRRP can be configured on a switch working as a DHCP server. The master device in the VRRP group assigns IP addresses to DHCP clients. Information about the address pool on the master DHCP server cannot be backed up to the backup DHCP server in real time. To prevent IP address conflicts after a master/backup switchover, the address pool ranges on the master and backup DHCP servers must be mutually exclusive.
In V200R013C02 or a later version, after 1 to 1 VLAN mapping is configured on a device, DHCP relay can be enabled on the VLANIF interface corresponding to the mapped VLAN.