Default-Router - Allied Telesis x510-28GTX Command Reference Manual

Stackable gigabit edge switches x510 series
Table of Contents

Advertisement

D
H
C
YNAMIC
OST
ONFIGURATION
-
DEFAULT
ROUTER

default-router

Overview
This command adds a default router to the DHCP address pool you are configuring.
You can use this command multiple times to create a list of default routers on the
client's subnet. This sets the router details using the pre-defined option 3. Note
that if you add a user-defined option 3 using the option command, then you will
override any settings created with this command.
The no variant of this command removes either the specified default router, or all
default routers from the DHCP pool.
default-router <ip-address>
Syntax
no default-router [<ip-address>]
Mode
DHCP Configuration
Examples
To add a router with an IP address 192.168.1.2 to the DHCP pool named P2, use the
following commands:
awplus#
awplus(config)#
awplus(dhcp-config)#
To remove a router with an IP address 192.168.1.2 to the DHCP pool named P2, use
the following commands:
awplus#
awplus(config)#
awplus(dhcp-config)#
To remove all routers from the DHCP pool named P2, use the following commands:
awplus#
awplus(config)#
awplus(dhcp-config)#
C613-50170-01 Rev B
P
(DHCP) C
ROTOCOL
OMMANDS
Parameter
<ip-address>
configure terminal
ip dhcp pool P2
configure terminal
ip dhcp pool P2
configure terminal
ip dhcp pool P2
Command Reference for x510 Series
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
Description
IPv4 address of the default router, in dotted decimal notation.
default-router 192.168.1.2
no default-router 192.168.1.2
no default-router
2436

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents