A SERVICE OF

logo

Configuring the Switch
3-170
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.
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-102 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-149
Console(config-if)#dhcp relay server 10.1.0.99 4-129
Console(config-if)#ip dhcp relay 4-128
Console(config-if)#