DHCP Server Commands
OL-32830-01 Command Line Interface Reference Guide
12.6 default-router
To configure the default router list for a DHCP client, use the default-router
command in DHCP Pool Network Configuration mode or in DHCP Pool Host
Configuration mode. To remove the default router list, use the no form of this
command.
Syntax
ip-address
default-router
no default-router
Parameters
•
ip-address
ip-address2
[
default routers. Up to eight addresses can be specified in one command
line.
Command Mode
DHCP Pool Network Configuration mode
DHCP Pool Host Configuration mode
Default Configuration
No default router is defined.
User Guidelines
The router IP address should be on the same subnet as the client subnet.
Example
The following example specifies 10.12.1.99 as the default router IP address.
switchxxxxxx(config-dhcp)#
12.7 dns-server
To configure the Domain Name System (DNS) IP server list available to a DHCP
client, use the dns-server command in DHCP Pool Network Configuration mode or
ip-address2
ip-address8
[
...
ip-address8
...
]—Specifies the IP addresses of
10.12.1.99
default-router
12
]
284