Dhcp Snooping Option 82 Support Configuration Example - HP A5120 EI Series Configuration Manual

Hide thumbs Also See for A5120 EI Series:
Table of Contents

Advertisement

Figure 32 Network diagram for DHCP snooping configuration
GE1/0/1
GE1/0/2
DHCP client
Configuration procedure
# Enable DHCP snooping.
<SwitchB> system-view
[SwitchB] dhcp-snooping
# Specify GigabitEthernet 1/0/1 as trusted.
[SwitchB] interface GigabitEthernet 1/0/1
[SwitchB-GigabitEthernet1/0/1] dhcp-snooping trust
[SwitchB-GigabitEthernet1/0/1] quit

DHCP snooping Option 82 support configuration example

Network requirements
As shown in
Configure the handling strategy for DHCP requests containing Option 82 as replace.
On GigabitEthernet 1/0/2, configure the padding content for the circuit ID sub-option as
company001 and for the remote ID sub-option as device001.
On GigabitEthernet 1/0/3, configure the padding format as verbose, access node identifier as
sysname, and code type as ascii for Option 82.
Switch B forwards DHCP requests to the DHCP server (Switch A) after replacing Option 82 in the
requests, so that the DHCP clients can obtain IP addresses.
Configuration procedure
# Enable DHCP snooping.
<SwitchB> system-view
[SwitchB] dhcp-snooping
# Specify GigabitEthernet 1/0/1 as trusted.
[SwitchB] interface GigabitEthernet 1/0/1
[SwitchB-GigabitEthernet1/0/1] dhcp-snooping trust
[SwitchB-GigabitEthernet1/0/1] quit
# Configure GigabitEthernet 1/0/2 to support Option 82.
[SwitchB] interface GigabitEthernet 1/0/2
[SwitchB-GigabitEthernet1/0/2] dhcp-snooping information enable
[SwitchB-GigabitEthernet1/0/2] dhcp-snooping information strategy replace
Switch A
DHCP server
Switch B
DHCP snooping
GE1/0/3
DHCP client
Figure
32, enable DHCP snooping and Option 82 support on Switch B.
74

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents