DGS-6604
ip dhcp relay address
CLI Reference Guide
254
ip dhcp relay address
Use this command to specify the DHCP relay server IP address. Use the no form
of the command to delete a DHCP server. When using the no form of the
command if no IP address is specified, all DHCP servers will be deleted.
ip dhcp relay address
IP-ADDRESS
no ip dhcp relay address [
IP-ADDRESS
]
Default
None
Command Mode
VLAN Interface configuration
Usage Guideline
Use this command to specify the DHCP server IP address. The DHCP request
packets received by the device will be relayed to the specified DHCP servers.
Only VLAN interfaces are valid interfaces for this command.
Multiple DHCP server addresses can be specified on the same IP interface.
The specified DHCP servers are only effective when the interface is an IP
interface.
For layer 2 devices, the DHCP servers need to be specified on the system IP
interface. All the DHCP request packets received by a device will be relayed to
these DHCP servers.
For layer 3 devices, all the DHCP request packets received by the IP interfaces
will be relayed to the DHCP servers configured on this interface. If there are no
DHCP servers configured on an IP interface, then the DHCP request packets will
not be relayed. DHCP request packets received by the non-IP interfaces, will be
relayed to the first IP interface that has DHCP servers configured.
Example
Enable DHCP relay function and set interface VLAN 100 with DHCP server ip
address 10.1.1.1, the DHCP packet received on VLAN 100 will relay to DHCP
server 10.1.1.1:
Verify the settings by entering the
show ip dhcp relay
command.
Syntax Description
IP-ADDRESS
DHCP server IP address
Switch# configure terminal
Switch(config)# interface vlan100
Switch(config-if)# ip dhcp relay address 10.1.1.1
Summary of Contents for DGS-6600 Series
Page 1: ...0 9 3 ...