AT-9000 Switch Command Line User’s Guide
325
Configuring the DHCP Server
To configure the DHCP server:
Enable DHCP service on the switch as described in “Enabling Port-
Based IP Assignment”.
Create a DHCP pool as described in “Creating a DHCP Pool”.
Define a network as described in “Defining a Network” on page 326.
Define a range as described in “Defining a Range” on page 327.
Set a lease time as described in “Setting a Lease Time” on page 327.
Set the options as described in “Setting the Options” on page 328.
Define which ports’ IP addresses will be offered DHCP service as
described in “Defining Ports’ IP Addresses Offered DHCP Service” on
page 330.
For an example of configuring a DHCP server, refer to “DHCP Server
Configuration Example” on page 331.
Enabling Port-
Based IP
Assignment
Use the SERVICE DHCP-SERVER command in Global Configuration
mode to enable DHCP service on the switch:
awplus# configure terminal
awplus(config)# service dhcp-server
To disable DHCP service on the switch, use the NO SERVICE DHCP-
SERVER command in Global Configuration mode:
awplus# configure terminal
awplus(config)# no service dhcp-server
Creating a DHCP
Pool
The command to create a DHCP address pool is the IP DHCP POOL
command.
Here is the format of the command:
ip dhcp pool <
pool-name
>
The POOL-NAME parameter is used to identify a DHCP pool. Valid
characters are any printable character. Spaces are not accepted.