DHCP Server and Relay Agent Commands 961
Command Mode
DHCP Pool Configuration mode
User Guidelines
Use the
show ip dhcp pool
command to display pool configuration
parameters. The client name should not include the domain name as it is
specified separately by the
domain-name (IP DHCP Pool Config)
command. It
is not recommended to use embedded blanks in client names.
Example
console(config-dhcp-pool)#client-identifier 01:03:13:18:22:33:11
console(config-dhcp-pool)#host 192.168.21.34 32
console(config-dhcp-pool)#client-name Line_Printer_Hallway
default-router
Use the default-router command in DHCP Pool Configuration mode to set
the IPv4 address of one or more routers for the DHCP client to use. Use the
no form of the command to remove the default router configuration. Use the
show ip dhcp pool
command to display pool configuration parameters.
Syntax
default-router {
ip-address1
}[
ip address2
]
no default-router
Parameter Description
Default Configuration
No default router is configured.
Parameter Description
ip-address1 The IPv4 address of the first default router for the DHCP
client.
ip-address2 The IPv4 address of the second default router for the DHCP
client.
2CSPC4.X8100-SWUM102.book Page 961 Friday, March 15, 2013 8:56 AM