D-Link dgs-1510-28 [158/702] Command mode

D-Link dgs-1510-28 [158/702] Command mode
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
155
This example shows how to disable the global DHCP relay agent check but enables the DHCP relay
agent check for the VLAN 100. The effect state of the check function for VLAN100 is enabled.
Switch# configure terminal
Switch(config)# no ip dhcp relay information check
switch(config)# interface vlan 100
switch(config-if)# ip dhcp relay information check-reply
16-6 ip dhcp relay information option
This command is used to enable the insertion of relay agent information (Option 82) during the relay of
DHCP request packets. Use the no command to disable this insert function.
ip dhcp relay information option
no ip dhcp relay information option
Parameters
None.
Default
By default, Option 82 is not inserted.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
When DHCP Option 82 is enabled, the DHCP packet received from the client will be inserted with an
Option 82 field before being relayed to the server. The DHCP Option 82 contains two sub-options
respectively the circuit ID sub-option and remote ID sub-option.
Administrators can use the ip dhcp relay information option remote-id command to specify a user-
defined string for the remote ID sub-option.
Example
This example shows how to enable the insertion of Option 82 during the relay of DHCP request packets.
Switch# configure terminal
Switch(config)# ip dhcp relay information option
Switch(config)#
16-7 ip dhcp relay information option-insert
This command is used to enable or disable the insertion of Option 82 for an interface during the relay of
DHCP request packets. Use the no command to remove the configuration of the insert function for the
interface.
ip dhcp relay information option-insert [none]
no ip dhcp relay information option-insert [none]

Содержание

Скачать