CLI Reference Guide-R04

Table Of Contents
Chapter 30
| DHCP Commands
DHCP Server
– 877 –
name - A string or integer. (Range: 1-32 characters)
Default Setting
DHCP address pools are not configured.
Command Mode
Global Configuration
Usage Guidelines
After executing this command, the switch changes to DHCP Pool Configuration
mode, identified by the (config-dhcp)# prompt.
From this mode, first configure address pools for the network interfaces (using
the network command). You can also manually bind an address to a specific
client (with the host command) if required. You can configure up to 8 network
address pools, and up to 32 manually bound host address pools (i.e., listing one
host address per pool). However, note that any address specified in a host
command must fall within the range of a configured network address pool.
Example
Console(config)#ip dhcp pool R&D
Console(config-dhcp)#
Related Commands
network (884)
host (881)
service dhcp This command enables the DHCP server on this switch. Use the no form to disable
the DHCP server.
Syntax
[no] service dhcp
Default Setting
Enabled
Command Mode
Global Configuration
Command Usage
If the DHCP server is running, you must restart it to implement any configuration
changes.