Command Manual - Network Protocol
Quidway S3500 Series Ethernet Switches Chapter 6 DHCP Configuration Commands
Huawei Technologies Proprietary
6-11
Following is the command for configuring in system view a DHCP option for the DHCP
address pools on multiple VLAN interfaces:
dhcp server option code { ascii ascii-string | hex hex-string | ip-address ip-address
[ ip-address ] } { interface vlan-interface vlan_id [ to vlan-interface vlan_id ] | all }
undo dhcp server option code { interface vlan-interface vlan_id [ to vlan-interface
vlan_id ] | all }
View
VLAN interface view, system view
Parameter
code: User-defined option value, in the range of 2 to 254.
ascii ascii-string: ASCII string comprising 1 to 63 characters.
hex hex-string: 2-digit or 4-digit hexadecimal string, such as hh or hhhh.
ip-address ip-address [ ip-address ]: Up to eight IP addresses separated by spaces.
interface vlan-interface vlan_id [ to vlan-interface vlan_id ]: Specifies VLAN
interfaces.
all: All VLAN interfaces.
Description
Using the dhcp server option command, you can configure a DHCP option for the
specified VLAN interface DHCP address pool(s). Using the undo dhcp server option
command, you can delete the DHCP option configured for the VLAN interface DHCP
address pool(s).
If you configure a DHCP option for multiple times, the latest one replaces the previous
one.
For the related command, see option.
Example
# Define the hexadecimal strings 0x11 and 0x22 with the code 100 in the DHCP
address pool on VLAN interface 1.
[Quidway] interface vlan-interface 1
[Quidway-Vlan-interface1] dhcp server option 100 hex 11 22
6.2.10 dhcp server ping
Syntax
dhcp server ping { packets number | timeout milliseconds }
undo dhcp server ping { packets | timeout }