22. DHCP Relay Commands
22.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:
Zxxx0:admin#config dhcp_relay option_82 policy replace
Command: config dhcp_relay option_82 policy replace
Success
Zxxx0:admin#
280