![D-Link DES-3528 - xStack Switch - Stackable Скачать руководство пользователя страница 240](http://html.mh-extra.com/html/d-link/des-3528-xstack-switch-stackable/des-3528-xstack-switch-stackable_cli-reference-manual_76439240.webp)
xStack® DES-3528/DES-3552 Series Layer 2 Managed Stackable Fast Ethernet Switch CLI Reference Guide
240
config dhcp_relay option_61 default
Purpose
Used to determine the default action for option 61.
Syntax
config dhcp_relay option_61 default [relay <ipaddr> | drop]
Description
This command is used to determine the rule to process those packets that have no option 61
matching rules. The default default-rule is drop.
Parameters
relay
– Specifies to relay the packet that has no option 61 matching rules to an IP address.
drop
– Specifies to drop the packet that has no option 61 matching rules.
Restrictions
Only Administrator and Operator and Power-User-level users can issue this command.
Example usage:
To configure the DHCP relay option 61 default:
DES-3528:admin# config dhcp_relay option_61 default drop
Command: config dhcp_relay option_61 default drop
Success.
DES-3528:admin#
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_long
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 and Operator and Power-User-level users can issue this command.
Example usage:
To delete the DHCP relay option 61 rules:
DES-3528:admin# 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
DES-3528:admin#
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:
DES-3528:admin# show dhcp_relay option_61
Command: show dhcp_relay option_61
Default Relay Rule:Drop