D
YNAMIC
H
OST
C
ONFIGURATION
P
ROTOCOL
3-243
Command Usage
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.
Command Attributes
• VLAN ID – ID of configured VLAN.
• VLAN Name – Name of the VLAN.
• Server IP Address – Addresses of DHCP servers to be used by the
switch’s DHCP relay agent in order of preference.
• Restart DHCP Relay – Use this button to enable or re-initialize DHCP
relay service.
Web – Click DHCP, Relay Configuration. Enter up to five IP addresses for
any VLAN, then click Restart DHCP Relay to start the relay service.
Figure 3-106 DHCP Relay Configuration
CLI – This example specifies one DHCP relay server for VLAN 1, and
enables the relay service.
Console(config)#interface vlan 1 4-187
Console(config-if)#dhcp relay server 10.1.0.99 4-160
Console(config-if)#ip dhcp relay 4-159
Console(config-if)#