DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
157
ip dhcp relay information policy-action {drop | keep | replace}
no ip dhcp relay information policy-action
Parameters
Specifies that the DHCP request packet that already has the relay
option is left unchanged and directly relayed to the DHCP server.
Specifies that the DHCP request packet that already has the relay
option will be replaced by a new option.
Default
None.
Command Mode
Interface Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
The command only takes effect when the DHCP service is enabled. Use this command to configure
the global policy for the insertion of Option 82 on packets that already have Option 82.
Example
This example shows how to configure the relay agent option re-forwarding policy to keep and set the
policy to drop for VLAN 100. The effective relay agent option re-forwarding policy for VLAN 100 is
drop and the effective relay agent option re-forwarding policy for the remaining interfaces are set as
keep.
Switch# configure terminal
Switch(config)# ip dhcp relay information policy keep
Switch(config)# interface vlan 100
Switch(config-if)# ip dhcp relay information policy-action drop
Switch(config-if)#
17-10 ip dhcp relay information option format remote-id
This command is used to configure the DHCP information remote ID sub-option. Use the no form of
this command to configure the default remote ID sub-option.
ip dhcp relay information option format remote-id {default | string STRING | vendor2 |
vendor3}
no ip dhcp relay information option format remote-id
Parameters