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
Содержание Sx350
Страница 1: ...Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide CLI GUIDE ...
Страница 26: ...25 Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 1 ...
Страница 237: ...CDP Commands Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 236 8 ...
Страница 503: ...IGMP Snooping Commands Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 502 23 1000 239 255 0 7 ...
Страница 532: ...IP Routing Protocol Independent Commands 531 Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 25 ...
Страница 736: ...IPv6 Prefix List Commands 735 Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 31 ...
Страница 975: ...RADIUS Commands Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 974 48 ...
Страница 1297: ...Virtual Local Area Network VLAN Commands Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 1296 67 4086 802 1x ...