DGS-3710 Series Layer 2 Managed Gigabit Switch CLI Reference Guide
198
Parameters
hops
- Specifies the maximum number of router hops that the DHCP/BOOTP packets can cross.
The range is 1 to 16. The default value is 4.
<value 1-16>
- Specifies the maximum number of router hops that the DHCP/BOOTP packets
can cross. The maximum number of hops value must be between 1 and 16.
time
- Specifies the minimum time in seconds within which the switch must relay the
DHCP/BOOTP request. If this time is exceeded, the switch will drop the DHCP/BOOTP
packet.The range is 0 to 65535. The default value is 0.
<sec 0-65535>
- Specifies the minimum time in seconds within which the switch must relay
the DHCP/BOOTP request. The minimum time value must be between 0 and 65535
seconds.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example
To configure the DHCP relay:
DGS-3710-12C:admin#config dhcp_relay hops 4 time 2
Command: config dhcp_relay hops 4 time 2
Success.
DGS-3710-12C:admin#
18-2
config dhcp_relay add ipif
Description
This command is used to add an IP destination address to the switch’s DHCP relay table.
Format
config dhcp_relay add ipif <ipif_name 12> <ipaddr>
Parameters
<ipif_name 12>
- Specifies the name of the IP interface which contains the IP address below.
<ipaddr>
- Specifies the DHCP/BOOTP server IP address.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example
To add an IP destination address to the switch’s DHCP relay table: