![D-Link xStack DGS-3420 Series Reference Manual Download Page 288](http://html.mh-extra.com/html/d-link/xstack-dgs-3420-series/xstack-dgs-3420-series_reference-manual_78239288.webp)
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
283
Format
config dhcp_relay {hops <int 1-16> | time <sec 0-65535>}(1)
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.
Summary of Contents for xStack DGS-3420 Series
Page 1: ...xStack DGS 3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide I ...
Page 188: ...xStack DGS 3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 183 ...
Page 713: ...xStack DGS 3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 708 ...
Page 902: ...xStack DGS 3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 897 ...