3com 8807 Reference Guide

Page of 1099
846
C
HAPTER
 47: DHCP C
ONFIGURATION
 C
OMMANDS
mask-length: Length of the network mask of an IP address pool. It is an integer in 
the range of 0 to 32.
Description
Use the network command to configure an address range for dynamic IP address 
assignment.
Use the undo network command to remove the address range configured for 
dynamic IP address assignment.
By default, no IP address range is configured for dynamic IP address assignment.
Each DHCP address pool can be configured with only one address range. If you 
execute the network command multiple times, then only the last configured 
address range works.
Related command: dhcp server ip-pooldhcp server forbidden-ip.
Example
# Configure 192.168.8.0/24 as the address range for the global DHCP address 
pool 0.
<SW8800> system-view
 
System View: return to User View with Ctrl+Z.
 
[SW8800] dhcp server ip-pool 0
 
[3Com-dhcp-0] network 192.168.8.0 mask 255.255.255.0 
option
Syntax
option code { ascii ascii-string | hex hex-string | ip-address ip-address [ 
ip-address ] }
undo option code
View
DHCP address pool view
Parameter
code: Customized option value, a number ranging from 2 to 254.
ascii ascii-string: Specifies an ASCII string. The ascii-string argument is a string that 
is of 1 to 63 characters in length.
hex hex-string: Specifies a numeric string containing two or four 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.
Description
Use the option command to configure a custom DHCP option for a global DHCP 
address pool.