reserved-only
reserved-only
Use the reserved-only DHCP pool configuration mode command to allocate only reserved addresses in
the Dynamic Host Configuration Protocol (DHCP) address pool. Use the no form of the command to
return to the default.
Syntax Description
This command has no arguments or keywords.
Defaults
The default is to not restrict pool addresses
Command Modes
Privileged EXEC
Command History
Release
12.2(50)SE
Usage Guidelines
Entering the reserved-only command restricts assignments from the DHCP pool to preconfigured
reservations. Unreserved addresses that are part of the network or on pool ranges are not offered to the
client, and other clients are not served by the pool.
By entering this command, users can configure a group of switches with DHCP pools that share a
common IP subnet and that ignore requests from clients of other switches.
To access DHCP pool configuration mode, enter the ip dhcp pool name global configuration command.
Examples
This example shows how to configure the DHCP pool to allocate only reserved addresses:
Switch# config t
Enter configuration commands, one per line.
Switch(config)# ip dhcp pool test1
Switch(dhcp-config)# reserved-only
You can verify your settings by entering the show ip dhcp pool privileged EXEC command.
Catalyst 3750 Switch Command Reference
2-462
reserved-only
no reserved-only
Modification
This command was introduced.
Chapter 2
Catalyst 3750 Switch Cisco IOS Commands
End with CNTL/Z.
OL-8552-07