R0106-HP MSR Router Series Layer 3 - IP Services Configuration Guide(V7)
76
Figure 29 Network diagram
Configuration procedure
# Enable DHCP snooping.
<RouterB> system-view
[RouterB] dhcp snooping enable
# Configure GigabitEthernet 2/1/1 as a trusted port.
[RouterB] interface gigabitethernet 2/1/1
[RouterB-GigabitEthernet2/1/1] dhcp snooping trust
[RouterB-GigabitEthernet2/1/1] quit
# Configure Option 82 on GigabitEthernet 2/1/2.
[RouterB] interface gigabitethernet 2/1/2
[RouterB-GigabitEthernet2/1/2] dhcp snooping information enable
[RouterB-GigabitEthernet2/1/2] dhcp snooping information strategy replace
[RouterB-GigabitEthernet2/1/2] dhcp snooping information circuit-id string company001
[RouterB-GigabitEthernet2/1/2] dhcp snooping information remote-id string device001
[RouterB-GigabitEthernet2/1/2] quit
# Configure Option 82 on GigabitEthernet 2/1/3.
[RouterB] interface gigabitethernet 2/1/3
[RouterB-GigabitEthernet2/1/3] dhcp snooping information enable
[RouterB-GigabitEthernet2/1/3] dhcp snooping information strategy replace
[RouterB-GigabitEthernet2/1/3] dhcp snooping information circuit-id verbose
node-identifier sysname format ascii
[RouterB-GigabitEthernet2/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
GigabitEthernet 2/1/2 and GigabitEthernet 2/1/3 on the DHCP snooping device.