Cisco 3560x-24p 参考指南

下载
页码 1188
 
2-487
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2      Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
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.
reserved-only 
no reserved-only 
Syntax Description
This command has no arguments or keywords.
Defaults
The default is to not restrict pool addresses 
Command Modes
Privileged EXEC 
Command History
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.  End with CNTL/Z.
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.
Related Commands
Release
Modification
12.2(53)SE2
This command was introduced.
Command
Description
show ip dhcp pool
Displays the DHCP address pools.