
DHCP Commands
4-123
4
DHCP Relay
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.
Related Commands
ip dhcp relay server (4-124)
Table 4-44 DHCP Relay Commands
Command
Function
Mode Page
ip dhcp restart relay
Enables DHCP relay agent
IC
4-123
ip dhcp relay server
Specifies DHCP server addresses for relay
IC
4-124
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#
Содержание ES4625
Страница 1: ...Powered by Accton Management Guide ES4625 ES4649 24 48 Port Gigabit Ethernet Stackable Layer 3 Switch...
Страница 2: ......
Страница 4: ...ES4625 ES4649 F3 1 1 21 E042005 R01 149100022900A...
Страница 22: ...Contents xxii...
Страница 40: ...Introduction 1 10 1...
Страница 284: ...Configuring the Switch 3 232 3 Web Click Routing Protocol RIP Statistics Figure 3 134 RIP Statistics...
Страница 652: ...Command Line Interface 4 324 4...
Страница 666: ...Glossary Glossary 8...
Страница 672: ...Index 6 Index...
Страница 673: ......
Страница 674: ...ES4625 ES4649 E042005 R01 149100022900A...