HP 6125XLG Layer 3-Ip Services Configuration Manual page 89

Blade switch
Table of Contents

Advertisement

Configure the handling strategy for DHCP requests that contain Option 82 as replace.
On FortyGigE 1/1/2, configure the padding content for the Circuit ID sub-option as company001
and for the Remote ID sub-option as device001.
On FortyGigE 1/1/3, 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 30 Network diagram
FGE1/1/1
FGE1/1/2
DHCP client
Configuration procedure
# Enable DHCP snooping.
<SwitchB> system-view
[SwitchB] dhcp snooping enable
# Configure FortyGigE 1/1/1 as a trusted port.
[SwitchB] interface FortyGigE 1/1/1
[SwitchB-FortyGigE1/1/1] dhcp snooping trust
[SwitchB-FortyGigE1/1/1] quit
# Configure Option 82 on FortyGigE 1/1/2.
[SwitchB] interface FortyGigE 1/1/2
[SwitchB-FortyGigE1/1/2] dhcp snooping information enable
[SwitchB-FortyGigE1/1/2] dhcp snooping information strategy replace
[SwitchB-FortyGigE1/1/2] dhcp snooping information circuit-id string company001
[SwitchB-FortyGigE1/1/2] dhcp snooping information remote-id string device001
[SwitchB-FortyGigE1/1/2] quit
# Configure Option 82 on FortyGigE 1/1/3.
[SwitchB] interface FortyGigE 1/1/3
[SwitchB-FortyGigE1/1/3] dhcp snooping information enable
[SwitchB-FortyGigE1/1/3] dhcp snooping information strategy replace
[SwitchB-FortyGigE1/1/3] dhcp snooping information circuit-id verbose node-identifier
sysname format ascii
[SwitchB-FortyGigE1/1/3] dhcp snooping information remote-id string device001
Verifying the configuration
Use the display dhcp snooping information command to display Option 82 configuration information on
FortyGigE 1/1/2 and FortyGigE 1/1/3 on the DHCP snooping device.
Switch A
DHCP server
Switch B
DHCP snooping
FGE1/1/3
DHCP client
78

Advertisement

Table of Contents
loading

Table of Contents