
DHCP Commands
4-133
4
default-router
This command specifies default routers for a DHCP pool. Use the
no
form to
remove the default routers.
Syntax
default-router
address1
[
address2
]
no default-router
•
address1
- Specifies the IP address of the primary router.
•
address2
- Specifies the IP address of an alternate router.
Default Setting
None
Command Mode
DHCP Pool Configuration
Usage Guidelines
The IP address of the router should be on the same subnet as the client. You
can specify up to two routers. Routers are listed in order of preference
(starting with
address1
as the most preferred router).
Example
domain-name
This command specifies the domain name for a DHCP client. Use the
no
form to
remove the domain name.
Syntax
domain-name
domain
no domain-name
domain
- Specifies the domain name of the client.
(Range: 1-32 characters)
Default Setting
None
Command Mode
DHCP Pool Configuration
Example
Console(config-dhcp)#default-router 10.1.0.54 10.1.0.64
Console(config-dhcp)#
Console(config-dhcp)#domain-name sample.com
Console(config-dhcp)#
Содержание ES4612
Страница 2: ......
Страница 4: ...ES4612 F1 0 2 5 E092004 R01 150000046400A ...
Страница 38: ...Introduction 1 10 1 ...
Страница 48: ...Initial Configuration 2 10 2 ...
Страница 269: ...IP Routing 3 221 3 Web Click Routing Protocol RIP Statistics Figure 3 130 RIP Statistics ...
Страница 314: ...Configuring the Switch 3 266 3 ...
Страница 644: ...Command Line Interface 4 330 4 ...
Страница 658: ...Glossary Glossary 8 ...
Страница 664: ...Index 6 Index ...
Страница 665: ......
Страница 666: ...ES4612 E092004 R01 150000046400A ...