418
C
HAPTER
5: N
ETWORK
P
ROTOCOL
■
ascii ascii-string: ASCII string.
■
hex hex-string: 2-digit or 4-digit hexadecimal string, such as hh or hhhh.
■
ip-address ip-address: IP address.
Description
Using the dhcp server option command in interface view, you can configure a
DHCP self-defined option for the DHCP address pool of the current interface.
Using the undo dhcp server option command in interface view, you can delete the
configuration.
For the related commands, see option and dhcp server option (in system view).
Example
Define the hexadecimal strings of the option code 100 to 0x11 and 0x22 for the
DHCP address pool of the interface Ethernet1/0/0.
[3Com] interface ethernet 1/0/0
[3Com-Ethernet 1/0/0] dhcp server option 100 hex 11 22
dhcp server option (in
System View)
Syntax
dhcp server option code { ascii ascii-string | hex hex-string | ip-address ip-address }
{ interface ethernet-subinterface-range | all }
undo dhcp server option code { interface ethernet-subinterface-range | all }
View
System view
Parameter
■
code: Option value that needs to be assigned by the user.
■
ascii ascii-string: ASCII string.
■
hex hex-string: 2-digit or 4-digit hexadecimal string, such as hh or hhhh.
■
ip-address ip-address: IP address.
■
ethernet-subinterface-range: Includes all the subinterfaces between two
subinterfaces (including these two subinterfaces) by inserting the keyword “to”
between these two interfaces.
■
all: All the interfaces.
Description
Using the dhcp server option command in system view, you can configure a DHCP
self-defined option for the interfaces in a specified range. Using the undo dhcp
server option command in system view, you can delete the configuration.
After configuring this command, you cannot view the configuration by executing
the display current-configuration command. By calling dhcp server option
respectively on the specified interfaces, you can fulfill the batch configurations of
the command.
For the related commands, see dhcp server option (in interface view) and option.
Summary of Contents for Router 3031
Page 6: ......
Page 686: ...686 CHAPTER 6 ROUTING PROTOCOL...
Page 758: ...758 CHAPTER 7 MULTICAST COMMON CONFIGURATION COMMANDS...