Command Manual – Network Protocol
Quidway S8500 Series Routing Switches
Chapter 4 DHCP Configuration Commands
Huawei Technologies Proprietary
4-12
dhcp server option code
{
ascii
ascii-string
|
hex
hex-string
|
ip-address ip-address
[
ip-address
] }
undo dhcp server option
code
In system view:
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
: Option code customized by user. This argument ranges from 2 to 254.
ascii ascii-string
: Specifies a string comprising ASCII characters. The string can be of 1
to 63 characters in length.
hex
hex-string
: Specifies a numeric string containing 2 or 4 hexadecimal digits (hh or
hhhh).
ip-address ip-address
[
ip-address
]: Specifies one or more IP addresses. You can
specify up to eight IP addresses (separated by spaces) in one command.
interface
vlan-interface
vlan-id
[
to
vlan-interface
vlan-id
]: Specifies one or more
VLAN interfaces.
all
: Specifies all VLAN interfaces.
Description
Use the
dhcp server option
command to configure a custom DHCP option for the
DHCP address pool of current VLAN interface, or for the DHCP address pool(s) of the
specified VLAN interface(s).
Use the
undo dhcp server option
command to remove a custom DHCP option
configured for the DHCP address pool of current VLAN interface, or for the DHCP
address pool(s) of the specified VLAN interface(s).
If you execute the
dhcp server option
command multiple times, the new
configurations overwrite the corresponding old ones.
Related command:
option
.
Example
# Configure a custom DHCP option for the DHCP address pool of VLAN interface 1,
with the
code
argument of 100 and the
hex-string
argument of 0x11 and 0x22.
<Quidway> system-view
Содержание Quidway S8500 Series
Страница 53: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Port Huawei Technologies Proprietary ...
Страница 145: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual VLAN QinQ Huawei Technologies Proprietary ...
Страница 184: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Network Protocol Huawei Technologies Proprietary ...
Страница 276: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Routing Protocol Huawei Technologies Proprietary ...
Страница 493: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Multicast Protocol Huawei Technologies Proprietary ...
Страница 622: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual QoS ACL Huawei Technologies Proprietary ...
Страница 706: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual MPLS Huawei Technologies Proprietary ...
Страница 816: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual STP Huawei Technologies Proprietary ...
Страница 867: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Security Huawei Technologies Proprietary ...
Страница 953: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Reliability Huawei Technologies Proprietary ...
Страница 972: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual System Management Huawei Technologies Proprietary ...
Страница 1180: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual PoE Huawei Technologies Proprietary ...
Страница 1198: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual NAT URPF VPLS Huawei Technologies Proprietary ...
Страница 1238: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Integrated Management Huawei Technologies Proprietary ...
Страница 1300: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Appendix Huawei Technologies Proprietary ...