Configuring DHCP
DHCP Relay Configuration
Configuration Guide
415
2) In the
Add DHCP Server Address
section, specify the VLAN in which the clients needs
IP addresses and the server address. Click
Add
.
VLAN ID
Specify the VLAN, in which the clients can get IP addresses from the DHCP
server.
Server Address
Enter the IP address of the DHCP server.
3.2 Using the CLI
3.2.1 Enabling DHCP Relay
Follow these steps to enable DHCP Relay:
Step 1
configure
Enter global configuration mode.
Step 2
service dhcp relay
Enable DHCP Relay.
Step 3
show ip dhcp relay
Verify the configuration of DHCP Relay.
Step 4
end
Return to Privileged EXEC Mode.
Step 5
copy running-config startup-config
Save the settings in the configuration file.
The following example shows how to enable DHCP Relay:
Switch#configure
Switch(config)#service dhcp relay
Switch(config)#show ip dhcp relay
DHCP relay is enabled.
......
Switch(config)#end
Switch#copy running-config startup-config
3.2.2 (Optional) Configuring Option 82
Follow these steps to configure Option 82: