R3303-HP HSR6800 Routers Layer 3 - IP Services Configuration Guide

79
Figure 34 Network diagram
Configuration procedure
# Enable DHCP snooping.
<Router> system-view
[Router] dhcp-snooping
# Specify GigabitEthernet 3/0/1 as trusted.
[Router] interface gigabitethernet 3/0/1
[Router-GigabitEthernet3/0/1] dhcp-snooping trust
[Router-GigabitEthernet3/0/1] quit
DHCP snooping Option 82 support configuration
example
Network requirements
As shown in Figure 34, Switch B replaces Option 82 in DHCP requests before forwarding them to the
DHCP server (Switch).
The circuit ID sub-option is company001.
The remote ID sub-option is device001.
On GigabitEthernet 3/0/3, configure the padding format as verbose, access node identifier as
sysname, and code type as ascii for Option 82.
Configuration procedure
# Enable DHCP snooping.
<Router> system-view
[Router] dhcp-snooping
# Specify GigabitEthernet 3/0/1 as trusted.