D-Link DES-3500Series Switch User Manual


 
DES-3500 Layer 2 Fast Ethernet Switch CLI Reference Manual
169
DES-3526:admin# config dhcp_relay option_61
add mac_address 00-11-22-33-44-55 drop
Command: config dhcp_relay option_61 add
mac_address 00-11-22-33-44-55 drop
Success
DES-3526:admin#
config dhcp_relay option_61 default
Purpose Used to configure the default ruler for option 61.
Syntax
config dhcp_relay option_61 default [relay <ipaddr>|drop]
Description The default server IP address can be specified.This setting will be used to
determine the rule to process those packets that have no option 61
matching rules.
The default default-rule is drop.
Parameters
relay - Specify to relay the packet that has no option matching 61 matching
rules to an IP address.
drop - Specify to drop the packet that have no option 61 matching rules.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the DHCP realy option 61 default:
DES-3526:admin# config dhcp_relay option_61
default drop
Command: config dhcp_relay option_61 default
drop
Success
DES-3526:admin#
config dhcp_relay option_61 delete
Purpose Used to delete an option 61 rule.
Syntax
config dhcp_relay option_61 delete [mac_address <macaddr> | string
<desc 64>|all]
Description This function is used to delete option 61 rules.
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-level users can issue this command.
Example usage:
To configure DHCP relay option 61 delete: