Configuring the Switch
3-188
3
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.
Figure3-107 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-143
Console(config-if)#dhcp relay server 10.1.0.99 4-124
Console(config-if)#ip dhcp relay 4-123
Console(config-if)#