D-Link DGS-1510 Series Reference Manual page 160

Gigabit ethernet smartpro switch
Hide thumbs Also See for DGS-1510 Series:
Table of Contents

Advertisement

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
ip dhcp relay information policy-action {drop | keep | replace}
no ip dhcp relay information policy-action
Parameters
drop
keep
replace
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.
Switch# configure terminal
Switch(config)# ip dhcp relay information policy keep
Switch(config)# interface vlan 100
Switch(config-if)# ip dhcp relay information policy-action drop
Switch(config-if)#
17-10
ip dhcp relay information option format remote-id
This command is used to configure the DHCP information remote ID sub-option. Use the no form of
this command to configure the default remote ID sub-option.
ip dhcp relay information option format remote-id {default | string STRING | vendor2 |
vendor3}
no ip dhcp relay information option format remote-id
Parameters
default
STRING
vendor2
Specifies to discard the packet that already has the relay option.
Specifies that the DHCP request 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.
Specifies to use the Switch's system MAC address as the remote
ID.
Specifies to use a user-defined string as the remote ID. Space
characters are allowed in the string.
Specifies to use vendor 2.
157

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents