Command Line Interface
9851553-KDU 137 365 Uen D 2006-06-16
Example
7.23.9 default-router
This command specifies default routers for a DHCP pool. Use the no form to
remove the default routers.
Syntax
default-router <address1> [address2]
no default-router
• address1 - Specifies the IP address of the primary router.
• address2 - Specifies the IP address of an alternate router.
Default Setting
None
Command Mode
DHCP Pool Configuration
Command Usage
The IP address of the router should be on the same subnet as the client. Up
to two routers can be specified. Routers are listed in order of preference
(starting with address1 as the most preferred router).
Example
Console(config-dhcp)#network 10.1.0.0 255.255.255.0
Console(config-dhcp)#
Console(config-dhcp)#default-router 10.1.0.54 10.1.0.64
Console(config-dhcp)#