Ip Dhcp Restart Relay - Edge-Core ECS2100-10T Reference Manual

10/28-port web-smart pro gigabit ethernet switch
Hide thumbs Also See for ECS2100-10T:
Table of Contents

Advertisement

Chapter 26
| DHCP Commands
DHCP Relay

ip dhcp restart relay

packet to a DHCP server on another network. When the server receives the
DHCP request, it allocates a free IP address for the DHCP client from its defined
scope for the DHCP client's subnet, and sends a DHCP response back to the
DHCP relay agent (i.e., this switch). This switch then passes the DHCP response
received from the server to the client.
You must specify the IP address for at least one active DHCP server. Otherwise,
the switch's DHCP relay agent will not be able to forward client requests to a
DHCP server. Up to five DHCP servers can be specified in order of preference.
If any of the specified DHCP server addresses are not located in the same
network segment with this switch, use the
gateway
command to specify the default router through which this switch can
reach other IP subnetworks.
To start DHCP relay service, enter the
Example
Console(config)#interface vlan 1
Console(config-if)#ip dhcp relay server 192.168.10.19
Console(config-if)#
Related Commands
ip dhcp restart relay (648)
This command enables DHCP relay for the specified VLAN. Use the no form to
disable it.
Default Setting
Disabled
Command Mode
Privileged Exec
Command Usage
This command is used to configure DHCP relay functions for host devices attached
to the switch. If DHCP relay service is enabled, and this switch sees a DHCP request
broadcast, it inserts its own IP address into the request so the DHCP server will
know the subnet where the client is located. Then, the switch forwards the packet
to the DHCP server on another network. When the server receives the DHCP
request, it allocates a free IP address for the DHCP client from its defined scope for
the DHCP client's subnet, and sends a DHCP response back to the DHCP relay agent
(i.e., this switch). This switch then broadcasts the DHCP response received from the
server to the client.
ip default-gateway
ip dhcp restart relay
– 648 –
or
ipv6 default-
command.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents