D-Link DES-3500Series Switch User Manual


 
DES-3500 Layer 2 Fast Ethernet Switch CLI Reference Manual
168
config dhcp_relay option_61 state
Purpose Used to config dhcp_relay opton_61 state.
Syntax
config dhcp_relay option_61 state [enable|disable]
Description This decides whether dhcp_relay will process the DHCP option 61 or not.
When option_61 is enabled, if the packet does not have option 61, then the
relay servers cannot be determined based on option 61.
If the relay servers are determined based on option 60 or option 61, then
per IPIF configured servers will be ignored.
If the relay servers are not determined either by option 60 or option 61,
then per IPIF configured servers will be used to determine the relay
servers.
Parameters
state - Enable:enable the fuction dhcp_relay use option_61 ruler to relay
dhcp packet
Disable:disable the fuction dhcp_relay use option_61 ruler to relay dhcp
packet
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the state of dhcp_relay option 61 :
DES-3526:admin# config dhcp_relay option_61
state enable
Command: config dhcp_relay option_61 state
enable
Success
DES-3526:admin#
config dhcp_relay option_61 add
Purpose Used to add a rule for dhcp_relay option_61.
Syntax
config dhcp_relay option_61 add [mac_address <macaddr> |string
<desc 64>] [relay <ipaddr>| drop]
Description This command adds a rule to determine the relay server based on option
61. The match rule can be based on either MAC addresses 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 configure the DHCP relay option 61: