H3C S7500E Series Ethernet Switches Operation Manual

Operation Manual – DHCP
H3C S7500E Series Ethernet Switches Chapter 5 DHCP Snooping Configuration
5-7
II. Network diagram
Figure 5-3 Network diagram for DHCP snooping configuration
III. Configuration procedure
# Enable DHCP snooping.
<SwitchB> system-view
[SwitchB] dhcp-snooping
# Specify GigabitEthernet 2/0/1 as trusted port.
[SwitchB] interface gigabitethernet 2/0/1
[SwitchB-GigabitEthernet2/0/1] dhcp-snooping trust
[SwitchB-GigabitEthernet2/0/1] quit
# Configure DHCP Snooping to support Option 82 on GigabitEthernet 2/0/2.
[SwitchB] interface gigabitethernet 2/0/2
[SwitchB-GigabitEthernet2/0/2] dhcp-snooping information enable
# Configure the padding format to verbose for Option 82 on GigabitEthernet 2/0/2.
[SwitchB-GigabitEthernet2/0/2] dhcp-snooping information format verbose
node-identifier sysname
[SwitchB-GigabitEthernet2/0/2] quit
# Configure DHCP Snooping to support Option 82 on GigabitEthernet 2/0/3.
[SwitchB] interface gigabitethernet 2/0/3
[SwitchB-GigabitEthernet2/0/3] dhcp-snooping information enable
# Configure the padding format to verbose for Option 82 on GigabitEthernet 2/0/3.
[SwitchB-GigabitEthernet2/0/3] dhcp-snooping information format verbose
node-identifier sysname