![D-Link DGS-3700 Series Reference Manual Download Page 484](http://html.mh-extra.com/html/d-link/dgs-3700-series/dgs-3700-series_reference-manual_76575484.webp)
DGS-3700 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
Page | 484
DHCP
R
ELAY
C
OMMANDS
Back to Section Header
The DHCP relay commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
C
OMMAND
P
ARAMETERS
config dhcp_relay
{hops <value 1-16> | time <sec 0-65535>}
config dhcp_relay add ipif
<ipif_name 12> <ipaddr>
config dhcp_relay delete ipif
<ipif_name 12> <ipaddr>
config dhcp_relay option_60 add
string <mutiword 255> relay <ipaddr> [exact-match|partial-match]
config dhcp_relay option_60 delete
[string <mutiword 255> {relay <ipaddr>} |ipaddress <ipaddr>| all
|default {<ipaddr>}]
show dhcp_relay option_60
{[string<mutiword 255>| ipaddress <ipaddr>| default]}
config dhcp_relay option_60
default
[relay <ipaddr> |mode [relay|drop]]
config dhcp_relay option_60 state
[enable |disable]
config dhcp_relay option_61 add
[mac_address <macaddr> |string <desc_long 255>] [relay <ipaddr>|
drop]
show dhcp_relay option_61
config dhcp_relay option_61 delete
[mac_address <macaddr> | string <desc_long 255>|all]
config dhcp_relay option_61
default
[relay <ipaddr>|drop]
config dhcp_relay option_61 state
[enable|disable]
config dhcp_relay option_82 state
[enable | disable]
config dhcp_relay option_82 check
[enable | disable]
config dhcp_relay option_82
remote_id
[default | user_define <desc 32>]
config dhcp_relay option_82 policy
[replace | drop | keep]
show dhcp_relay
{ipif <ipif_name 12>}
enable dhcp_relay
disable dhcp_relay
config dhcpv6_relay hop_count
<value 1-32>
config dhcpv6_relay
[add | delete] ipif <ipif_name 12> <ipv6addr>
config dhcpv6_relay ipif
[<ipif_name 12> |all] state [enable | disable]
show dhcpv6_relay
{ipif <ipif_name 12>}
enable dhcpv6_relay
disable dhcpv6_relay
Each command is listed in detail in the following sections.
config dhcp_relay
Purpose
Used to configure the DHCP/BOOTP relay feature of the switch.
Syntax
config dhcp_relay {hops <value 1-16> | time <sec 0-65535>}
Description
This command is used to configure the DHCP/BOOTP relay feature.
Parameters
hops <value 1-16>
−
Specifies the maximum number of relay agent hops that the