D-Link dgs-3420 Work Light User Manual


 
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
242
Success.
DGS-3420-28SC:admin#
21-13 config dhcp_relay option_82 policy
Description
This option takes effect only when the check status is disabled. The relay agent does this
operation because the packet cannot contain two Option 82s. The default setting is replace.
Format
config dhcp_relay option_82 policy [replace | drop | keep]
Parameters
replace - Replace the existing option 82 field in the packet.
drop - Specifies to discard if the packet has the Option 82 field. If the packet, that comes from the
client side, contains an Option 82 value, then the packet will be dropped. If the packet, that
comes from the client side doesn’t contain an Option 82 value, then insert it's own Option 82
value into the packet.
keep - Specifies to retain the existing Option 82 field in the packet. The default setting is replace.
If the packet, that comes from the client side, and contains an Option 82 value, then keep the
old Option 82 value. If the packet, that comes from the client side, doesn’t contain an Option
82 value, then insert it's own Option 82 value into the packet.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To configure the policy of DHCP relay agent information Option 82:
DGS-3420-28SC:admin#config dhcp_relay option_82 policy replace
Command: config dhcp_relay option_82 policy replace
Success
DGS-3420-28SC:admin#
21-14 config dhcp_relay option_82 remote_id
Description
This command is used to configure the remote ID string of the DHCP relay agent information
Option 82 of the Switch.
Format
config dhcp_relay option_82 remote_id [default | user_define <desc 32>]