Option 82 Configuration Example - HP 6125XLG Configuration Manual

Blade switch layer 3 - ip services
Table of Contents

Advertisement

[SwitchB-Ten-GigabitEthernet1/1/5] dhcp snooping trust
[SwitchB-Ten-GigabitEthernet1/1/5] quit
# Enable DHCP snooping to record clients' IP-MAC bindings on Ten-GigabitEthernet 1/1/6.
[SwitchB] interface Ten-GigabitEthernet 1/1/6
[SwitchB-Ten-GigabitEthernet1/1/6] dhcp snooping binding record
[SwitchB-Ten-GigabitEthernet1/1/6] 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 containing Option 82 as replace.
On Ten-GigabitEthernet 1/1/6, configure the padding content for the Circuit ID sub-option as
company001 and for the Remote ID sub-option as device001.
On Ten-GigabitEthernet 1/1/7, for the Circuit ID sub-option, configure the padding format as
verbose, access node identifier as sysname, and code type as ascii. For the Remote ID sub-option,
configure the padding content as device001.
Figure 29 Network diagram
Configuration procedure
# Enable DHCP snooping.
<SwitchB> system-view
[SwitchB] dhcp snooping enable
# Configure Ten-GigabitEthernet 1/1/5 as a trusted port.
[SwitchB] interface Ten-GigabitEthernet 1/1/5
[SwitchB-Ten-GigabitEthernet1/1/5] dhcp snooping trust
[SwitchB-Ten-GigabitEthernet1/1/5] quit
# Configure Option 82 on Ten-GigabitEthernet 1/1/6.
[SwitchB] interface Ten-GigabitEthernet 1/1/6
[SwitchB-Ten-GigabitEthernet1/1/6] dhcp snooping information enable
Figure
29, enable DHCP snooping and configure Option 82 on Switch B as follows:
72

Advertisement

Table of Contents
loading

Table of Contents