DGS-3700 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
Page | 486
DGS-3700-12:5#config dhcp_relay delete ipif System 10.58.44.6
Command: config dhcp_relay delete ipif System 10.58.44.6
Success.
DGS-3700-12:5#
config dhcp_relay option_60 state
Purpose
This command is used to configure the state of DHCP relay agent information option
60 of the switch.
Syntax
config dhcp_relay option_60 state [enable |disable]
Description
This command decides whether dhcp_relay will process the DHCP option 60 or not.
When option_60 is enabled, if the packet does not have option 60, then the relay
servers cannot be determined based on option 60. The relay servers will be
determined based on either option 61 or per IPIF configured servers. If the relay
servers are determined based on option 60 or option 61, then per IPIF configured
servers will be ignored. If the relay servers are not determined either by option 60
or option 61, then per IPIF configured servers will be used to determine the relay
servers.
Parameters
enable
– Enables the fuction.
disable
– Disables the fuction.
Restrictions
Only Administrator-level users can issue this command.
Example usage:
To configure DHCP relay option
60
state:
DGS-3700-12:5#config dhcp_relay option_60 state enable
Command: config dhcp_relay option_60 state enable
Success.
DGS-3700-12:5#
config dhcp_relay option_60 add
Purpose
This command is used to add a entry for dhcp_relay option_60
Syntax
config dhcp_relay option_60 add string <mutiword 255> relay <ipaddr> [exact-
match|partial-match]
Description
This command configures the option 60 relay rules. Note that different strings can be
specified with the same relay server, and the same string can be specified with
multiple relay servers. The system will relay the packet to all the matching servers.
Parameters
exact-match
– The option 60 string in the packet must fully match the specified string.
partial-match
– The option 60 string in the packet only need partial match with the
specified string.
string
– The specified string.
ipaddress
– Specify a relay server IP address.
Restrictions
Only Administrator can issue this command.
Example usage:
To configure a new dhcp relay with option 60: