![D-Link DGS-6600-48TS Скачать руководство пользователя страница 269](http://html2.mh-extra.com/html/d-link/dgs-6600-48ts/dgs-6600-48ts_manual_3541635269.webp)
DGS-6604
ip dhcp relay information policy
CLI Reference Guide
259
ip dhcp relay information policy
Use this command to configure the information re-forwarding policy for the DHCP
relay agent.
ip dhcp relay information policy {drop | keep | replace}
Default
replace
Command Mode
Global configuration
Usage Guideline
The device may receive a DHCP request packet that already has the relay
option. This packet represents a packet that is relayed by a relay agent and
already has the option inserted. The gateway address in the received DHCP
packet should not be zero since it represents the IP address of the predecessor
DHCP relay agent.
Example
This example shows how to set the policy to drop the DHCP request packet that
is relayed by other DHCP relay agent and already has option-82 inserted.
Verify the settings by entering the
show ip dhcp relay
command.
Syntax Description
drop
Discards the packet that already has the relay option. This packet represents a
packet that is relayed by a relay agent and already has the option inserted.
keep
When the DHCP request packets already have the relay option, then the relay
option is left unchanged and directly relayed to the DHCP server.
replace
When the DHCP request packets already have the relay option, then it will be
replaced by a new option.
Switch# configure terminal
Switch(config)# ip dhcp relay information policy drop