![SNR S2940-8G-v2 Configuration Manual Download Page 239](http://html1.mh-extra.com/html/snr/s2940-8g-v2/s2940-8g-v2_configuration-manual_1310630239.webp)
SNR S2940-8G-v2 Switch Configuration Guide
DHCP option 82 Configuration
ip dhcp relay information op-
tion self-defined remote-id for-
mat [ascii | hex]
Set self-defined format of remote-id for relay option82.
ip dhcp relay information op-
tion self-defined subscriber-id {
vlan | port | id (switch-id (mac |
hostname) | remote-mac) | string
WORD }
no ip dhcp relay information op-
tion self-defined subscriber-id
Set creation method for option82, users can define the pa-
rameters of circute-id suboption by themselves.
ip dhcp relay information option
self-defined subscriber-id format
[ascii | hex]
Set self-defined format of circuit-id for relay option82.
7. Diagnose and maintain DHCP option 82
Command
Explanation
Admin mode
show ip dhcp relay information
option
This command will display the state information of the DHCP
option 82 in the system, including option82 enabling switch,
the interface retransmitting policy, the circuit ID mode and
the DHCP server option82 enabling switch.
debug ip dhcp relay packet
This command is used to display the information of data
packets processing in DHCP Relay Agent, including the
'add' and 'peel' action of option 82.
36.3
DHCP option 82 Application Examples
DHCP Relay Agent
DHCP Client PC1
DHCP Server
DHCP Client PC2
Switch 1
Switch 2
Switch 3
Vlan 2: E1/0/3
Vlan 2: E1/0/2
Vlan 3
Figure 36.2: A DHCP option 82 typical application example
In the above example, layer 2 switches Switch1 and Switch2 are both connected to layer 3
switch Switch3, Switch 3 will transmit the request message from DHCP client to DHCP serer as
DHCP Relay Agent. It will also transmit the reply message from the server to DHCP client to finish
the DHCP protocol procedure. If the DHCP option 82 is disabled, DHCP server cannot distinguish
239
Summary of Contents for S2940-8G-v2
Page 11: ...SNR S2940 8G v2 Switch Configuration Guide Part I Basic Management Configuration 11...
Page 46: ...SNR S2940 8G v2 Switch Configuration Guide Part II Port Configuration 46...
Page 123: ...SNR S2940 8G v2 Switch Configuration Guide Part III VLAN and MAC Table Configuration 123...
Page 164: ...SNR S2940 8G v2 Switch Configuration Guide Part IV MSTP Configuration 164...
Page 198: ...SNR S2940 8G v2 Switch Configuration Guide Part VI L3 Forward and ARP Configuration 198...
Page 218: ...SNR S2940 8G v2 Switch Configuration Guide Part VII DHCP Configuration 218...
Page 257: ...SNR S2940 8G v2 Switch Configuration Guide Part VIII Multicast Protocol 257...
Page 278: ...SNR S2940 8G v2 Switch Configuration Guide Part IX Security Function Configuration 278...
Page 376: ...SNR S2940 8G v2 Switch Configuration Guide Part X Reliability Configuration 376...
Page 395: ...SNR S2940 8G v2 Switch Configuration Guide Part XI Flow Monitor Configuration 395...
Page 403: ...SNR S2940 8G v2 Switch Configuration Guide Part XII Network Time Management Configuration 403...
Page 411: ...SNR S2940 8G v2 Switch Configuration Guide Part XIII Debugging and Diagnosis 411...