Configuring DHCP Service
DHCP Relay Configuration
User Guide
407
Step 8
copy running-config startup-config
Save the settings in the configuration file.
The following example shows how to set the VLAN interface 1 (the default management
VLAN interface) as the default relay agent interface and configure the DHCP server
address as 192.168.1.8 on VLAN 10:
Switch#configure
Switch(config)#interface vlan 1
Switch(config-if)# ip dhcp relay default-interface
Switch(config-if)#exit
Switch(config)#ip dhcp relay vlan
10
helper-address
192.168.1.8
Switch(config)#show ip dhcp relay
...
DHCP VLAN relay helper address is configured on the following vlan:
vlan Helper address
---------- --------------
VLAN 10 192.168.1.8
Switch(config)#end
Switch#copy running-config startup-config
Downloaded from