D-Link xStack DGS-3420 Series Reference Manual page 288

Layer 2 managed stackable gigabit switch cli
Hide thumbs Also See for xStack DGS-3420 Series:
Table of Contents

Advertisement

xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
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.
283

Advertisement

Table of Contents
loading

Table of Contents