Owners manual
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
156
Parameters
none
(Optional) Specifies to disable insertion of Option 82 in the relayed
packet.
Default
None.
Command Mode
Interface Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
This command takes effect when the DHCP service is enabled.
Example
This example shows how to enable the insertion of Option 82 during the relay of DHCP request packets
and disables the insertion of Option 82 for interface VLAN 100. The insertion of Option 82 is disabled for
VLAN 100 but enabled for the remaining interfaces.
Switch# configure terminal
Switch(config)# ip dhcp relay information option
Switch(config)# interface vlan 100
Switch(config-if)# ip dhcp relay information option-insert none
switch(config-if)#
16-8 ip dhcp relay information policy
This command is used to configure the Option 82 re-forwarding policy for the DHCP relay agent. Use the
no form of the command to restore the default setting.
ip dhcp relay information policy {drop | keep | replace}
no ip dhcp relay information policy
Parameters
drop
Specifies to discard the packet that already has the relay option.
keep
Specifies that the DHCP requests packet that already has the relay
option is left unchanged and directly relayed to the DHCP server.
replace
Specifies that the DHCP request packet that already has the relay
option will be replaced by a new option.
Default
By default, this option is replace.
Command Mode
Global Configuration Mode.
Command Default Level