DHCP Server Commands
OL-32830-01 Command Line Interface Reference Guide
284
12
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
default-router
ip-address
[
ip-address2
...
ip-address8
]
no default-router
Parameters
•
ip-address
[
ip-address2
...
ip-address8
]—Specifies the IP addresses of
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)#
default-router
10.12.1.99
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
Содержание 300 Series
Страница 2: ......