DGS-6604
ip dhcp relay information option
ip dhcp relay information option
no ip dhcp relay information option
Syntax
Default
Command Mode
Usage Guideline
Circuit ID
suboption
format:
Byte
Sub-option
Field
Type
Value
Remote ID
suboption
format:
Byte
1
Sub-option
Field
Type
Value
2
CLI Reference Guide
Use this command to enable the insertion of the relay agent information option
(option 82). Use the no form of the command to disable this function.
None
Disabled
Global configuration
Use this command to enable insertion of DHCP option 82.
When the DHCP 82 option is enabled, a DHCP packet received from a client will
have the option 82 field inserted before being relayed to the server. The DHCP
option 82 contains 2 suboptions: circuit ID and remote ID sub-options.
If the switch is standalone then the module field, within the circuit ID suboption, is
always set to zero. The following describes the format of the Circuit and Remote
ID suboption formats:
1
2
Circuit
Length
IDType
1
6
VLAN ID - The incoming VLAN ID of DHCP client packet.
Module # - For a standalone switch, Module # is always 0; For a stackable
switch, Module is Unit ID.
Port # - The receiving port number of DHCP client packet, port number starts
from 1.
2
3
Remote
Length
ID Type
8
0
MAC address: the switch's system MAC address.
3
4
Length
0
4
4
5
6
Length
6
M1
M2
ip dhcp relay information option
5
6
7
VLAN ID
Module # Port #
X
X
7
8
9
MAC Address
M3
M4
M5
8
X
10
M6
247