DGS-3000 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
219
Parameters
hops - (Optional) Specify the maximum number of relay hops that the DHCP/BOOTP packets
can cross. The range is 1 to 16. The default value is 4. The DHCP packet will be dropped
when the relay hop count in the received packet is equal to or greater than this setting.
<int 1-16> - Enter the maximum number of relay hops here. This value must be between 1
time - (Optional) The time field in the DHCP packet must be equal to or greater than this setting
to be relayed by the router. The default value is 0.
<sec 0-65535> - Enter the relay time here. This value must be between 0 and 65535
Restrictions
Only Administrators, Operators and Power-Users can issue this command.
Example
To configure the DHCP relay hops and time parameters:
DGS-3000-26TC:admin#config dhcp_relay hops 4 time 2
Command: config dhcp_relay hops 4 time 2
Success.
config dhcp_relay add 20-2
Description
This command is used to add an IP destination address of the DHCP server for relay of
DHCP/BOOTP packets.
Format
config dhcp_relay add ipif <ipif_name 12> <ipaddr>
Parameters
ipif_name - The name of the IP interface which contains the IP address below.
<ipif_name 12> - Enter the IP interface name used here. This name can be up to 12
<ipaddr> - The DHCP/BOOTP server IP address.
Restrictions
Only Administrators, Operators and Power-Users can issue this command.
Example
To add a DHCP/BOOTP server to the relay table: