![D-Link DGS-3700 Series Reference Manual Download Page 490](http://html.mh-extra.com/html/d-link/dgs-3700-series/dgs-3700-series_reference-manual_76575490.webp)
DGS-3700 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
Page | 490
DGS-3700-12:5#config dhcp_relay option_61 default drop
Command: config dhcp_relay option_61 default drop
Success.
DGS-3700-12:5#
config dhcp_relay option_61 delete
Purpose
This command is used to delete an option 61 rule.
Syntax
config dhcp_relay option_61 delete [mac_address <macaddr> | string <desc
255>|all]
Description
This command is used to delete an option 61 rule.
Parameters
mac_address
– The entry with the specified MAC address will be deleted.
string
– The entry with the specified string will be deleted.
all
– All rules excluding the default rule will be deleted.
Restrictions
Only Administrator-level users can issue this command.
Example usage:
To delete the DHCP relay option 61 rules:
DGS-3700-12:5# config dhcp_relay option_61 delete mac_address 00-11-22-33-44-55
Command: config dhcp_relay option_61 delete mac_address 00-11-22-33-44-55
Success
DGS-3700-12:5#
show dhcp_relay option_61
Purpose
This command displays DHCP relay option 61.
Syntax
show dhcp_relay option_61
Description
This command displays DHCP relay option 61.
Parameters
None.
Restrictions
None.
Example usage:
To display the DHCP relay option 61:
DGS-3700-12:5#show dhcp_relay option_61
Command: show dhcp_relay option_61
Default Relay Rule:Drop
Matching Rules:
Client-ID Type Relay Rule
----------- ---- ---------
00-01-22-33-44-55 MAC Address Drop
Total Entries : 1
DGS-3700-12:5#
config dhcp_relay option_82 state