Dhcp Relay; Ip Dhcp Restart Relay; Table 4-45 Dhcp Relay Commands - Edge-Core ES4612 Management Manual

Gigabit ethernet switch
Table of Contents

Advertisement

4
Command Line Interface
Example
In the following example, the device is reassigned the same address.
Console(config)#interface vlan 1
Console(config-if)#ip address dhcp
Console(config-if)#exit
Console#ip dhcp restart client
Console#show ip interface
Vlan 1 is up, addressing mode is DHCP
Interface address is 192.168.1.54, mask is 255.255.255.0, Primary
MTU is 1500 bytes
Proxy ARP is disabled
Split horizon is enabled
Console#
Related Commands
ip address (4-236)

DHCP Relay

Command

ip dhcp restart relay

ip dhcp relay server
ip dhcp restart relay
This command enables DHCP relay for the specified VLAN. Use the no form to
disable it.
Syntax
[no] ip dhcp relay
Default Setting
Disabled
Command Mode
Interface Configuration (VLAN)
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.
4-128

Table 4-45 DHCP Relay Commands

Function
Enables DHCP relay agent
Specifies DHCP server addresses for relay
Mode Page
IC
4-128
IC
4-129

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents