![D-Link DGS-510 Скачать руководство пользователя страница 164](http://html.mh-extra.com/html/d-link/dgs-510/dgs-510_reference-manual_78049164.webp)
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
161
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
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
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)#
Содержание DGS-510
Страница 1: ...1 ...
Страница 287: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 284 ...
Страница 321: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 318 ...
Страница 493: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 490 ...
Страница 733: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 730 ...