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.
Example
In the following example, the device is reassigned the same address.
Console(config)#interface vlan 1
Console(config-if)#ip dhcp relay
Console(config-if)#end
Console#show ip interface
Vlan 1 is up, addressing mode is Dhcp
Interface address is 10.1.0.254, mask is 255.255.255.0, Primary
MTU is 1500 bytes
Proxy ARP is disabled
Split horizon is enabled
Console#
Related Commands
ip dhcp relay server (39-4)
39-3
DHCP Relay
Table 39-3 DHCP Relay Commands
Command Function
ip dhcp restart relay
Enables DHCP relay agent
ip dhcp relay server
Specifies DHCP server addresses for relay
Mode Page
IC 39-3
IC 39-4
DHCP Relay
39
Summary of Contents for IC40240-10G
Page 1: ...IntraCore 40240 40480 10G Layer 3 Gigabit Stackable Ethernet Switch User s Manual ...
Page 4: ...IC40240 10G 99 00837 IC40480 10G 99 00836 ...
Page 6: ...ii ...
Page 33: ...Getting Started ...
Page 43: ...1 1 10 Introduction ...
Page 61: ...2 2 18 Initial Configuration ...
Page 63: ...Switch Management ...
Page 75: ...3 3 12 Configuring the Switch ...
Page 117: ...4 4 42 Basic Management Tasks ...
Page 163: ...6 6 28 User Authentication ...
Page 175: ...7 7 12 Access Control Lists ...
Page 283: ...14 14 8 Quality of Service ...
Page 293: ...15 15 10 Multicast Filtering ...
Page 299: ...16 16 6 Domain Name Service ...
Page 309: ...17 17 10 Dynamic Host Configuration Protocol ...
Page 319: ...18 18 10 Configuring Router Redundancy ...
Page 343: ...19 19 24 IP Routing ...
Page 355: ...Web Click Routing Protocol RIP Statistics Figure 20 5 RIP Statistics 20 12 Unicast Routing 20 ...
Page 385: ...20 20 42 Unicast Routing ...
Page 387: ...Command Line Interface ...
Page 399: ...21 21 12 Overview of the Command Line Interface ...
Page 465: ...24 24 16 SNMP Commands ...
Page 519: ...26 26 18 Access Control List Commands ...
Page 545: ...30 30 2 Rate Limit Commands ...
Page 611: ...34 34 24 VLAN Commands ...
Page 625: ...35 35 14 Class of Service Commands ...
Page 633: ...36 7 police 36 ...
Page 670: ...39 39 16 DHCP Commands ...
Page 716: ...41 41 36 IP Interface Commands ...
Page 768: ...42 42 52 IP Routing Commands ...
Page 770: ...Appendices ...
Page 791: ......
Page 792: ...IC40240 10G IC40480 10G ...