D-Link dgs-3420 Work Light User Manual


 
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
234
Parameters
hops - Specify the maximum number of router hops that the DHCP/BOOTP packets can cross.
The range is 1 to 16. The default value is 4.
<int 1-16> - Specify 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 - Specify the minimum time in seconds within which the switch must relay the
DHCP/BOOTP request. If this time is larger than the DHCP packet’s time, the switch will drop
the DHCP/BOOTP packet. The range is 0 to 65535. The default value is 0.
<sec 0-65535> - Specify 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, Operator and Power-User level users can issue this command.
Example
To configure the DHCP relay:
DGS-3420-28SC:admin#config dhcp_relay hops 4 time 2
Command: config dhcp_relay hops 4 time 2
Success.
DGS-3420-28SC:admin#
21-2 config dhcp_relay add ipif
Description
This command is used to add an IP destination address to the switch’s DHCP relay table.
Note: Adding a server, to which DHCP packets will be relayed, will cause the switch
to intercept DHCP packets on the specified VLAN, and relay them directly to the
specified server. DHCP packets will not be broadcast on the VLAN. To restore the
broadcast functionality, see the dhcp_local_relay command.
Format
config dhcp_relay add ipif <ipif_name 12> <ipaddr>
Parameters
<ipif_name 12> - Specify the name of the IP interface which contains the IP address below.
<ipaddr> - Specify the DHCP/BOOTP server IP address.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.