![SNR S2940-8G-v2 Configuration Manual Download Page 237](http://html1.mh-extra.com/html/snr/s2940-8g-v2/s2940-8g-v2_configuration-manual_1310630237.webp)
SNR S2940-8G-v2 Switch Configuration Guide
DHCP option 82 Configuration
36.2
DHCP option 82 Configuration Task List
1. Enabling the DHCP option 82 of the Relay Agent
2. Configure the DHCP option 82 attributes of the interface
3. Enable the DHCP option 82 of server
4. Configure DHCP option 82 default format of Relay Agent
5. Configure delimiter
6. Configure creation method of option82
7. Diagnose and maintain DHCP option 82
1. Enabling the DHCP option 82 of the Relay Agent.
Command
Explanation
Global Mode
ip dhcp relay information option
no ip dhcp relay information op-
tion
Set this command to enable the option 82 function of the
switch Relay Agent. The 'no ip dhcp relay information option'
is used to disable the option 82 function of the switch Relay
Agent.
2. Configure the DHCP option 82 attributes of the interface
Command
Explanation
Interface configuration mode
ip dhcp relay information policy {
drop | keep | replace }
no ip dhcp relay information pol-
icy
This command is used to set the retransmitting policy of the
system for the received DHCP request message which con-
tains option 82. The drop mode means that if the message
has option82, then the system will drop it without process-
ing; keep mode means that the system will keep the original
option 82 segment in the message, and forward it to the
server to process; replace mode means that the system will
replace the option 82 segment in the existing message with
its own option 82, and forward the message to the server
to process. The 'no ip dhcp relay information policy' will set
the retransmitting policy of the option 82 DCHP message as
'replace'.
ip dhcp relay information op-
tion subscriber-id { standard |
<circuit-id> }
no ip dhcp relay information op-
tion subscriber-id
This command is used to set the format of option 82
sub-option1(Circuit ID option) added to the DHCP re-
quest messages from interface, standard means the stan-
dard VLAN name and physical port name format, like
'Vlan2+Ethernet1/0/12', <circuit-id> is the circuit-id contents
of option 82 specified by users, which is a string no longer
than 64characters. The 'no ip dhcp relay information option
subscriber-id' command will set the format of added option
82 sub-option1 (Circuit ID option) as standard format.
237
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...