D-Link DGS-3600 Switch User Manual


 
xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
185
config dhcp_relay option_82 state
DHCP server unicasts the reply to the back to the relay agent if the
request was relayed to the server by the relay agent. The Switch then
verifies that it originally inserted the option 82 data. Finally, the relay
agent removes the option 82 field and forwards the packet to the switch
port that is connected to the DHCP client that sent the DHCP request.
Parameters enable – Choose this parameter to enable the addition of option 82
information to a packet.
disable- Choose disable the relay agent from inserting and removing
DHCP relay information (option 82 field) in messages between DHCP
servers and clients, and the check and policy settings will have no
effect.
Restrictions Only administrator-level users can issue this command.
Example usage:
To configure DHCP relay option 82 state:
DGS-3600:4#config dhcp_relay option_82 state enable
Command: config dhcp_relay option_82 state enable
Success.
DGS-3600:4#
config dhcp_relay option_82 check
Purpose Used to configure the checking mechanism of DHCP relay agent information
option 82 of the switch.
Syntax
config dhcp_relay option_82 check [enable | disable]
Description This command is used to configure the checking mechanism of
DHCP/BOOTP relay agent information option 82 of the switch. The relay
agent will check the validity of the packet’s option 82 field. If the switch
receives a packet that contains the option 82 field from a DHCP client, the
switch drops the packet because it is invalid. In packets received from DHCP
servers, the relay agent will drop invalid messages.
Parameters
enable – Choose this parameter to enable validity checking of option 82
within packets.
disable - When the field is toggled to disable, the relay agent will not check
the validity of the packet’s option 82 field.
Restrictions Only administrator-level users can issue this command.
Example usage:
To configure DHCP relay option 82 check:
DGS-3600:4#config dhcp_relay option_82 check enable
Command: config dhcp_relay option_82 check enable
Success.
DGS-3600:4#