xStack DES-3800 Series Layer 3 Stackable Fast Ethernet Managed Switch CLI Manual
146
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.
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.
Example usage:
To configure DHCP relay option 82 check:
DES-3800:4#config dhcp_relay option_82 check enable
Command: config dhcp_relay option_82 check enable
Success.
DES-3800:4#
config dhcp_relay option_82 policy
Purpose
Used to configure the reforwarding policy of relay agent infor
mation 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.
Example usage:
To configure DHCP relay option 82 policy: