Specifications
xStack DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
config dhcp_relay option_82 state
Restrictions Only administrator-level users can issue this command.
Example usage:
To configure DHCP relay option 82 state:
DGS-3400:4#config dhcp_relay option_82 state enable
Command: config dhcp_relay option_82 state enable
Success.
DGS-3400:4#
config dhcp_relay option_82 check
Used to configure the checking mechanism of DHCP relay agent
information option 82 of the switch.
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.
Parameters enable – When the field is toggled to enable, 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.
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.
Purpose
Syntax
Example usage:
To configure DHCP relay option 82 check:
DGS-3400:4#config dhcp_relay option_82 check enable
Command: config dhcp_relay option_82 check enable
Success.
DGS-3400:4#
config dhcp_relay option_82 policy
Purpose Used to configure the reforwarding policy of relay agent information option
82 of the switch.
Syntax
config dhcp_relay option_82 policy [replace | drop | keep]
Description This command is used to configure the reforwarding policy of DHCP relay
agent information option 82 of the switch.
Parameters replace - The option 82 field will be replaced if the option 82 field already
exists in the packet received from the DHCP client.
drop - The packet will be dropped if the option 82 field already exists in the
packet received from the DHCP client.
keep - The option 82 field will be retained if the option 82 field already exists
in the packet received from the DHCP client.
Restrictions Only administrator-level users can issue this command.
214