D-Link DGS-3600 User Manual

Page of 757
xStack
®
 DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 
 
199 
config dhcp_relay option_61 add 
Description 
This command adds a rule to determine the relay server based on option 61. 
The match rule can base on either MAC address or a user-specified string. 
Only one relay server can be specified for a MAC-address or a string, 
If relay servers are determined based on option 60, and one relay server is determined based 
on option 61, the final relay servers will be the union of these two sets of the servers. 
Parameters 
mac_address - The client’s client-ID which is the hardware address of client. 
string - The client’s client-ID,which is specified by administrator. 
relay - Specify to relay the packet to a IP address. 
drop - Specify to drop the packet. 
Restrictions 
Only Administrator and Operator-level users can issue this command. 
 
Example usage: 
To add a rule for DHCP Relay option 61: 
DGS-3627: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 
 
DGS-3627:admin#  
 
config dhcp_relay option_61 default 
Purpose 
This command is used to configure the default ruler for option 61. 
Syntax 
config dhcp_relay option_61 default [relay <ipaddr> | drop] 
Description 
Up to 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 default ruler for option 61: 
DGS-3627:admin# config dhcp_relay option_61 default drop 
Command: config dhcp_relay option_61 default drop 
 
Success 
 
DGS-3627: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 <mutiword 255> 
| all]