Option 82 Configuration Example - H3C MSR 2600 Configuration Manual

Layer 3
Hide thumbs Also See for MSR 2600:
Table of Contents

Advertisement

[Router-Ethernet1/2] dhcp snooping binding record
[Router-Ethernet1/2] quit
Verifying the configuration
After the preceding configuration is complete, the DHCP client can obtain an IP address and other
configuration parameters only from the authorized DHCP server. You can view the DHCP snooping entry
recorded for the client with the display dhcp snooping binding command.

Option 82 configuration example

Network requirements
As shown in
Configure the handling strategy for DHCP requests that contain Option 82 as replace.
On Ethernet 1/2, configure the padding content for the circuit ID sub-option as company001 and
for the remote ID sub-option as device001.
On Ethernet 1/3, configure the padding format as verbose, access node identifier as sysname,
and code type as ascii for Option 82.
Figure 28 Network diagram
Configuration procedure
# Enable DHCP snooping.
<Router> system-view
[Router] dhcp snooping enable
# Configure Ethernet 1/1 as a trusted port.
[Router] interface ethernet 1/1
[Router-Ethernet1/1] dhcp snooping trust
[Router-Ethernet1/1] quit
# Configure Option 82 on Ethernet 1/2.
[Router] interface ethernet 1/2
[Router-Ethernet1/2] dhcp snooping information enable
[Router-Ethernet1/2] dhcp snooping information strategy replace
[Router-Ethernet1/2] dhcp snooping information circuit-id string company001
[Router-Ethernet1/2] dhcp snooping information remote-id string device001
[Router-Ethernet1/2] quit
# Configure Option 82 on Ethernet 1/3.
Figure
28, enable DHCP snooping and configure Option 82 on the Router as follows:
77

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents