DHCP option 60 support


S series switches (except S1700 switches) support the Option 60 field of DHCP Request packets only when they function as DHCP clients.

Other related questions:
How is DHCP Option 43 configured on an AR
Option 43 is a vendor specific information option. If an AP and an AC are located on different network segments, the AP cannot discover the ACs through broadcast. To address this problem, configure Option 43 on the DHCP server to advertise AC's IP addresses to the AP. The AR functions as the DHCP server and the AC's IP address is The configuration of Option 43 is as follows: - Based on the global address pool: [Huawei] dhcp enable [Huawei] ip pool huawei [Huawei-ip-pool-huawei] network [Huawei-ip-pool-huawei] gateway-list [Huawei-ip-pool-huawei] option 43 sub-option 3 hex 31302E31302E31302E31 //Run the option 43 sub-option 3 ascii command. - Based on the interface address pool: [Huawei] dhcp enable [Huawei] interface gigabitethernet 1/0/0 //Enter the view of the interface connected to the AP. [Huawei-GigabitEthernet1/0/0] ip address 24 [Huawei-GigabitEthernet1/0/0] dhcp select interface [Huawei-GigabitEthernet1/0/0] dhcp server 43 sub-option 3 hex 31302E31302E31302E31 //Run the dhcp server option 43 sub-option 3 ascii command. If an Option 43 contains multiple AC IP addresses, the IP addresses are separated by commas (,). The ASCII value of commas (,) is 2C. For example, if the ACs' IP addresses are and, run the option 43 sub-option 3 hex 3139322E3136382E3130302E322C3139322E3136382E3130302E33 or option 43 sub-option 3 ascii, command.

DHCP option configuration on S series switch
For S series switches except S1700 switches, Option fields in a DHCP message carry control information and parameters that are not defined in some protocols. Options are classified into well-known and self-defined options. For more information about well-known DHCP options, see RFC 2132. Vendors can define their own options. The S2720, S2750, S5700LI, S5700S-LI, and S5710LI switches in earlier versions of V200R007 do not support the DHCP Option configuration. All switches in V200R007 and later versions support the DHCP Option configuration. For example, you can set self-defined Option 64 to 0x11 in hexadecimal notation and configure well-known Option 121 to assign a classless static route (with the destination IP address set to and gateway address set to to clients as follows: - Configuration on an interface: [HUAWEI] interface gigabitethernet1/0/1 [HUAWEI-GigabitEthernet1/0/1] dhcp server option 64 hex 11 [HUAWEI-GigabitEthernet1/0/1] dhcp server option121 ip-address 24 - Global configuration: [HUAWEI] ip pool global1 [HUAWEI-ip-pool-global1] option 64 hex 11 [HUAWEI-ip-pool-global1] option121 ip-address 24 - Configuration using a DHCP Option template (this method is used when network parameters are delivered to clients with static IP addresses): [HUAWEI] dhcp option template template1 [HUAWEI-dhcp-option-template-template1] option 64 hex 11 [HUAWEI-dhcp-option-template-template1] option121 ip-address 24

What cautions should be taken when configuring DHCP Option 60 and Option 43 on a Layer 2/Layer 3 network?
DHCP Option 43 and Option 60 must be configured on a Layer 3 network, while they are optional on a Layer 2 network.

Configuring the DHCP Option 43 field on an AC
Perform the following operations to configure the DHCP Option 43 field on an AC that functions as a DHCP server: 1. Run the system-view command to enter the system view. 2. Run the dhcp enable command to enable the DHCP function. 3. Run the ip pool ip-pool-name command to enter the global address pool view. 4. Run the option 43 sub-option 2 ip-address ip-address &<1-8> command to set the DHCP Option 43 field to the IP addresses of the active and standby ACs.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top