D-Link DGS-510 Reference Manual page 164

Gigabit ethernet smartpro switch
Table of Contents

Advertisement

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
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)#
17-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 this command to revert to the default setting.
ip dhcp relay information policy {drop | keep | replace}
no ip dhcp relay information policy
Parameters
drop
keep
replace
Default
By default, this option is replace.
Command Mode
Global 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. If the ip
dhcp relay information relay command is configured in the global configuration mode but not
configured in the interface configuration mode, the global configuration is applied to all interfaces.
Switch# configure terminal
Switch(config)# ip dhcp relay information policy keep
Switch(config)#
Specifies to discard the packet that already has the relay option.
Specifies that the DHCP requests 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.
161

Advertisement

Table of Contents
loading

Table of Contents