H3C s3600 series Command Manual page 685

Hide thumbs Also See for s3600 series:
Table of Contents

Advertisement

Related commands: dhcp server ip-pool, dhcp server forbidden-ip.
Examples
# Enter system view.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
# Configure the dynamically assigned IP address range 192.168.8.0/24 for the DHCP global address
pool 0.
[Sysname] dhcp server ip-pool 0
[Sysname-dhcp-pool-0] network 192.168.8.0 mask 255.255.255.0
option
Syntax
option code { ascii ascii-string | hex hex-string&<1-10> | ip-address ip-address&<1-8> }
undo option code
View
DHCP address pool view
Parameters
code: Customized option number ranging from 2 to 254. Note that this argument cannot be 3, 6, 15, 44,
46, 50 through 55, 57 through 61, 66, 67, 82, 150, 184, or 217.
ascii ascii-string: Specifies a string that is of 1 to 63 characters. Note that each character of the string
needs to be an ASCII character.
hex hex-string&<1-10>: Specifies strings, each of which comprises of 1 to 8 hexadecimal digits. The
&<1-10> means that you can provide up to 10 such strings. When entering more than one strings,
separate two neighboring strings with a space. The device currently supports total 64 hex digits, not
including spaces.
ip-address ip-address&<1-8>: Specifies IP addresses. The &<1-8> string means that you can provide
up to eight IP addresses. When entering more than one IP addresses, separate two neighboring IP
addresses with a space.
Description
Use the option command to customize DHCP options for a DHCP global address pool.
Use the undo option command to remove the customized DHCP options.
If you execute the option command repeatedly, the new configuration overwrites the previous one.
For commands related to Option 184, refer to voice-config.
Related commands: dhcp server ip-pool, dhcp server option.
Examples
# Enter system view.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
1-35

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents