Default-router, Syntax description, Defaults – Cisco 32369 User Manual

Page 20: Command modes, Usage guidelines, Examples, Related commands

Advertising
background image

Command Reference

20

Release 12.0(1)T

default-router

To specify the default router list for a Dynamic Host Configuration Protocol (DHCP) client, use
the default-router DHCP pool configuration command. Use the no form of this command to
remove the default router list.

default-router address [address2 ... address8]

no default-router

Syntax Description

Defaults

None

Command Modes

DHCP pool configuration

Usage Guidelines

This command first appeared in Cisco IOS Release 12.0(1)T.

The IP address of the router should be on the same subnet as the client subnet. You can specify up
to eight routers in the list. Routers are listed in order of preference (address1 is the most preferred
router, address2 is the next most preferred router, and so on).

Examples

The following example specifies 10.12.1.99 as the IP address of the default router:

default-router 10.12.1.99

Related Commands

ip dhcp pool

address

Specifies the IP address of a router. One IP address is required,
although you can specify up to eight addresses in one command line.

Advertising