
DHCP Server Commands
295
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide
12
12.7 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.
If the
command is configured then the DHCP server returns
an
IP address defined on the input interface as a default router when an default router is not configured in
the following case:
Default router is not configurable.
DHCP client is directly connected.
IP Routing is enabled.
Default router was required by the client.
Example
The following example specifies 10.12.1.99 as the default router IP address.
switchxxxxxx(config-dhcp)#
default-router
10.12.1.99
Summary of Contents for Sx350
Page 1: ...Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide CLI GUIDE ...
Page 26: ...25 Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 1 ...
Page 237: ...CDP Commands Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 236 8 ...
Page 975: ...RADIUS Commands Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 974 48 ...