
Chapter 44: DHCP Commands
DHCP Relay
– 1337 –
DHCP R
ELAY
This section describes commands used to the switch to relay DHCP
requests from local hosts to a remote DHCP server.
ip dhcp relay server
This command specifies the DHCP server or relay server addresses to use.
Use the
no
form to clear all addresses.
S
YNTAX
ip dhcp relay server
address1
[
address2
[
address3 ...
]]
no ip dhcp relay server
address
- IP address of DHCP server. (Range: 1-5 addresses)
D
EFAULT
S
ETTING
None
C
OMMAND
M
ODE
Interface Configuration (VLAN)
U
SAGE
G
UIDELINES
•
DHCP relay service applies to DHCP client requests received on the
specified VLAN.
•
This command is used to configure DHCP relay for host devices
attached to the switch. If DHCP relay service is enabled, and this switch
sees a DHCP client request, it inserts its own IP address into the
request so that the DHCP server will know the subnet where the client
is located. Then, the switch forwards the 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 DHCP server.
Otherwise, the switch’s DHCP relay agent will not 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
or
command to specify the default router through
which this switch can reach other IP subnetworks.
Table 44-5: DHCP Relay Commands
Command
Function
Mode
Specifies DHCP server addresses for relay
IC
Enables DHCP relay agent
PE
Содержание SSE-G2252
Страница 42: ...44 General IP Routing on page 627...
Страница 174: ...Chapter 6 VLAN Configuration Configuring VLAN Mirroring 178 Figure 6 27 Showing the VLANs to Mirror...
Страница 511: ...Chapter 14 Basic Administration Protocols UDLD Configuration 518 Figure 14 100 Displaying UDLD Neighbor Information...
Страница 603: ...Chapter 16 IP Configuration Setting the Switch s IP Address IP Version 6 609...
Страница 883: ...Chapter 24 General Security Measures Port based Traffic Segmentation 894...
Страница 989: ...Chapter 30 Congestion Control Commands Automatic Traffic Control Commands 1000 Console...
Страница 1007: ...Chapter 33 Address Table Commands 1019...
Страница 1137: ...Chapter 38 Quality of Service Commands 1150...
Страница 1366: ...Chapter 46 IP Routing Commands Global Routing Configuration 1381 Connected 2 Total 2 FIB 0 Console...