Configuration procedure – H3C Technologies H3C S12500 Series Switches User Manual
Page 98

84
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] dhcp-snooping
# Specify GigabitEthernet 3/0/1 as trusted.
[SwitchB] interface GigabitEthernet 3/0/1
[SwitchB-GigabitEthernet3/0/1] dhcp-snooping trust
[SwitchB-GigabitEthernet3/0/1] quit
# Configure GigabitEthernet 3/0/2 to support Option 82.
[SwitchB] interface GigabitEthernet 3/0/2
[SwitchB-GigabitEthernet3/0/2] dhcp-snooping information enable
[SwitchB-GigabitEthernet3/0/2] dhcp-snooping information strategy replace
[SwitchB-GigabitEthernet3/0/2] dhcp-snooping information circuit-id string company001
[SwitchB-GigabitEthernet3/0/2] dhcp-snooping information remote-id string device001
[SwitchB-GigabitEthernet3/0/2] quit
# Configure GigabitEthernet 3/0/3 to support Option 82.
[SwitchB] interface GigabitEthernet 3/0/3
[SwitchB-GigabitEthernet3/0/3] dhcp-snooping information enable
[SwitchB-GigabitEthernet3/0/3] dhcp-snooping information strategy replace
[SwitchB-GigabitEthernet3/0/3] dhcp-snooping information format verbose node-identifier
sysname
[SwitchB-GigabitEthernet3/0/3] dhcp-snooping information circuit-id format-type ascii
[SwitchB-GigabitEthernet3/0/3] dhcp-snooping information remote-id format-type ascii