182
Configuring the DHCP server when an HTTP file server is used
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable DHCP.
dhcp enable
By default, DHCP is disabled.
3.
Create a DHCP address
pool and enter its view.
dhcp server ip-pool pool-name
By default, no DHCP address pool is
created.
4.
Configure the address
pool.
•
(Method 1.) Specify the
primary subnet for the
address pool:
network
network-address
[
mask-length
|
mask
mask
]
•
(Method 2.) Configure a
static binding:
static-bind ip-address
ip-address
[
mask-length
|
mask mask
]
{
client-identifier
client-identifier
|
hardware-address
hardware-address
[
ethernet
|
token-ring
]
}
Use either or both methods.
By default, no primary subnet or static
binding is configured.
You can add multiple static bindings.
One IP address can be bound to only
one client. To change the binding for a
DHCP client, you must remove the
binding and reconfigure a binding.
5.
Specify the URL of the
configuration file or
script file.
bootfile-name
url
By default, no configuration file URL is
specified.
Configuring the DHCP server when a TFTP file server is used
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable DHCP.
dhcp enable
By default, DHCP is disabled.
3.
Create a DHCP address
pool and enter its view.
dhcp server ip-pool pool-name
By default, no DHCP address
pool is created.
4.
Configure the address
pool.
•
(Method 1.) Specify the primary
subnet for the address pool:
network
network-address
[
mask-length
|
mask
mask
]
•
(Method 2.) Configure a static
binding:
static-bind ip-address
ip-address
[
mask-length
|
mask mask
]
{
client-identifier client-identifier
|
hardware-address
hardware-address
[
ethernet
|
token-ring
]
}
Use either or both methods.
By default, no primary subnet
or static binding is configured.
You can add multiple static
bindings.
One IP address can be bound
to only one client. To change
the binding for a DHCP client,
you must remove the binding
and reconfigure a binding.
5.
Specify a TFTP server.
•
(Method 1.) Specify the IP address of
the TFTP server:
tftp-server ip-address ip-address
•
(Method 2.) Specify the name of the
TFTP server:
tftp-server domain-name
domain-name
Use either or both methods.
By default, no TFTP server is
specified.
If you specify a TFTP server by
its name, a DNS server is
required on the network.
6.
Specify the name of the
configuration file or
script file.
bootfile-name
bootfile-name
By default, no configuration or
script file name is specified.
Summary of Contents for FlexNetwork 10500 Series
Page 139: ...130 Sysname display version ...