H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – DHCP
H3C S7500 Series Ethernet Switches Chapter 1
DHCP Server Configuration Commands
1-27
1.1.27 network
Syntax
network ip-address [ mask mask ]
undo network
View
DHCP address pool view
Parameters
ip-address: IP address of a network segment, used to specify an IP address range.
mask mask: Specifies a subnet mask in dotted decimal notation. If you do not specify
the mask argument, the default subnet mask is used.
Description
Use the network command to configure a dynamically assigned IP address range
(where IP addresses will be dynamically assigned to DHCP clients).
Use the undo network command to remove a dynamically assigned IP address range.
By default, no such IP address range is configured for a DHCP address pool.
Note that you can configure only one such IP address range for a DHCP address pool.
If you execute the network command repeatedly, the new configuration overwrites the
previous one.
Related commands: dhcp server ip-pool, dhcp server forbidden-ip.
Examples
# Configure the dynamically assigned IP address range 192.168.8.0/24 for the global
DHCP address pool 0.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] dhcp server ip-pool 0
[H3C-dhcp-pool-0] network 192.168.8.0 mask 255.255.255.0
1.1.28 option
Syntax
option code { ascii ascii-string | hex hex-string&<1-10> | ip-address
ip-address&<1-8> }
undo option code