D-Link dgs-1510-28 [160/702] Usage guideline

D-Link dgs-1510-28 [160/702] Usage guideline
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
157
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)#
16-9 ip dhcp relay information policy-action
This command is used to configure the information re-forwarding policy for the DHCP relay agent for an
interface. Use the no form of the command to remove the configuration for the interface.
ip dhcp relay information policy-action {drop | keep | replace}
no ip dhcp relay information policy-action
Parameters
drop
Specifies to discard the packet that already has the relay option.
keep
Specifies that the DHCP request 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
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.

Содержание

Скачать