D-Link DGS-3600 Switch User Manual


 
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
196
config dhcp_relay option_60 add
The system will relay the packet to all the matching servers.
Parameters
string - The specified string.
relay - Specify a relay server IP address.
exact-match - The option 60 string in the packet must full match with the specified string.
partial-match - The option 60 string in the packet only need partial match with the specified
string.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To add a entry for DHCP Relay option 60:
DGS-3627:admin# config dhcp_relay option_60 add string "abc" relay 10.90.90.1 exact-match
Command: config dhcp_relay option_60 add string "abc" relay 10.90.90.1 exact-match
Success
DGS-3627:admin#
config dhcp_relay option_60 default
Purpose This command is used to configure the DHCP Relay option 60 as the default Relay Server.
Syntax
config dhcp_relay option_60 default [relay <ipaddr>| mode [relay | drop]
Description When there are no match servers found for the packet based on option 60, the relay servers
will be determined by the default relay server setting.
When there is no matching found for the packet, the relay servers will be determined based
on the default relay servers.
When drop is specified, the packet with no matching rules found will be dropped without
further process.
If the setting is no- drop, then the packet will be processed further based on option 61. The
final relay servers will be the union of option 60 default relay servers and the relay servers
determined by option 61.
Parameters
relay - The specified IP address for dhcp_relay forward. Specify a relay server IP for the
packet that has mathcing option 60 rules.
drop - Specify to drop the packet that has no matching option 60 rules.
relay - The packet will be relayed based on the relay rules.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the DHCP Relay option 60 as the default Relay Server:
DGS-3627:admin# config dhcp_relay option_60 default mode drop
Command: config dhcp_relay option_60 default mode drop
Success
DGS-3627:admin#