Manual
5-26
Cisco IOS Software Configuration Guide for Cisco Aironet Access Points
OL-30644-01
Chapter 5 Administering the Access Point
Configuring the Access Point to Provide DHCP Service
Use the no form of these commands to return to default settings.
This example shows how to configure the wireless device as a DHCP server, exclude a range of IP
address, and assign a default router:
AP# configure terminal
AP(config)# ip dhcp excluded-address 172.16.1.1 172.16.1.20
AP(config)# ip dhcp pool wishbone
AP(dhcp-config)# network 172.16.1.0 255.255.255.0
AP(dhcp-config)# lease 10
AP(dhcp-config)# default-router 172.16.1.1
AP(dhcp-config)# end
Monitoring and Maintaining the DHCP Server Access Point
These sections describe commands you can use to monitor and maintain the DHCP server access point:
• Show Commands, page 5-26
• Clear Commands, page 5-27
• Debug Command, page 5-27
Show Commands
In Exec mode, enter the commands in Table 5-2 to display information about the wireless device as
DHCP server.
Step 5
lease { days [ hours ] [ minutes ] |
infinite }
Configure the duration of the lease for IP addresses assigned by the
wireless device.
• days—configure the lease duration in number of days
• (optional) hours—configure the lease duration in number of hours
• (optional) minutes—configure the lease duration in number of
minutes
• infinite—set the lease duration to infinite
Step 6
default-router address [address2 ...
address 8]
Specify the IP address of the default router for DHCP clients on the
subnet. One IP address is required; however, you can specify up to eight
addresses in one command line.
Step 7
end Return to privileged EXEC mode.
Step 8
show running-config Verify your entries.
Step 9
copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose