Example: Configuring Dhcp Snooping Support For Option 82 - H3C SR8800-F Configuration Manual

Comware 7 user access
Hide thumbs Also See for SR8800-F:
Table of Contents

Advertisement

Example: Configuring DHCP snooping support for Option 82

Network configuration
As shown in
Configure the handling strategy for DHCP requests that contain Option 82 as replace.
On GigabitEthernet 1/0/2, configure the padding content for the Circuit ID sub-option as
company001 and for the Remote ID sub-option as device001.
On GigabitEthernet 1/0/3, configure the padding mode for the Circuit ID sub-option as verbose,
access node identifier as sysname, and padding format as ascii. Configure the padding
content for the Remote ID sub-option as device001.
Figure 48 Network diagram
Procedure
# Enable DHCP snooping.
<SwitchB> system-view
[SwitchB] dhcp snooping enable
# Configure GigabitEthernet 1/0/1 as a trusted port.
[SwitchB] interface gigabitethernet 1/0/1
[SwitchB-GigabitEthernet1/0/1] dhcp snooping trust
[SwitchB-GigabitEthernet1/0/1] quit
# Configure Option 82 on GigabitEthernet 1/0/2.
[SwitchB] interface gigabitethernet 1/0/2
[SwitchB-GigabitEthernet1/0/2] dhcp snooping information enable
[SwitchB-GigabitEthernet1/0/2] dhcp snooping information strategy replace
[SwitchB-GigabitEthernet1/0/2] dhcp snooping information circuit-id string company001
[SwitchB-GigabitEthernet1/0/2] dhcp snooping information remote-id string device001
[SwitchB-GigabitEthernet1/0/2] quit
# Configure Option 82 on GigabitEthernet 1/0/3.
[SwitchB] interface gigabitethernet 1/0/3
[SwitchB-GigabitEthernet1/0/3] dhcp snooping information enable
[SwitchB-GigabitEthernet1/0/3] dhcp snooping information strategy replace
[SwitchB-GigabitEthernet1/0/3] dhcp snooping information circuit-id verbose
node-identifier sysname format ascii
[SwitchB-GigabitEthernet1/0/3] dhcp snooping information remote-id string device001
Figure
48, enable DHCP snooping and configure Option 82 on Switch B as follows:
166

Advertisement

Table of Contents
loading

Table of Contents