D-Link DGS-3600 Switch User Manual


 
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
198
DGS-3627:admin# show dhcp_relay option_60
Command: show dhcp_relay option_60
Default processing Mode: drop
Default Servers:
10.90.90.100
10.90.90.101
10.90.90.102
Matching Rules:
String Match Type IP Address
--------- ----------- ----------
abc exact match 10.90.90.1
abcde partial match 10.90.90.2
abcdefg exact match 10.90.90.3
Total Entries : 3
DGS-3627:admin#
config dhcp_relay option_61 state
Purpose This command is used to configure the 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 - See below:
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:
DGS-3627:admin# config dhcp_relay option_61 state enable
Command: config dhcp_relay option_61 state enable
Success
DGS-3627:admin#
config dhcp_relay option_61 add
Purpose This command is used to add a rule for DHCP Relay option 61.
Syntax
config dhcp_relay option_61 add [mac_address <macaddr> | string <mutiword 255>]
[relay <ipaddr> | drop]