Specifications
Chapter 4. Configuring Special Features 83
DHCP Administration and Configuration
The DHCP administration and configuration process is divided into the following parts:
¥ Manipulating subnetworks and explicit client leases
¥ Setting option values
¥ Managing BootP
¥ Defining option types
¥ Configuring BootP/DHCP relays
¥ Other information
Note: To save the DHCP conÞguration or changes to ßash memory in the router, remember to use the command
dhcp save.
Manipulating Subnetworks and Explicit Client Leases
Enabling/Disabling a Subnetwork or a Client Lease
To enable/disable a subnetwork or a client lease, use the commands:
dhcp enable all | <net> <ipaddr>
dhcp disable all | <net> <ipaddr>
Examples:
To enable the subnetwork 192.168.254.0 if that subnetwork exists, enter:
dhcp enable 192.168.254.0
To enable the client lease 192.168.254.17 if that client lease exists, enter:
dhcp enable 192.168.254.17
To disable the client lease 192.168.254.18 if that client lease exists, enter:
dhcp disable 192.168.254.18
To check the results of these commands, use: dhcp list
If the client lease does not exist, it must be explicitly created.
Adding Subnetworks and Client Leases
¥ Adding a Subnetwork
The following commands are used to add/delete subnetworks. Only one subnetwork with one pool of IP
addresses may be defined for a subnet.
To add a subnetwork, use: