24-Port Layer 3 Switch Management Guide

C
ONFIGURING
THE
S
WITCH
3-54
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.
Web Click DHCP, Relay Configuration. Enter up to five IP addresses for
any VLAN, then click Restart DHCP Relay to start the relay service.
CLI – This example specifies one DHCP relay server for VLAN 1, and
enables the relay service.
Console(config)#interface vlan 1 4-119
Console(config-if)#dhcp relay server 10.1.0.99 4-101
Console(config-if)#ip dhcp relay 4-99
Console(config-if)#