Dhcp Snooping Configuration Examples; Dhcp-Snooping Option 82 Support Configuration Example - H3C S5100-SI Operation Manual

Ethernet switches
Hide thumbs Also See for H3C S5100-SI:
Table of Contents

Advertisement

DHCP Snooping Configuration Examples

DHCP-Snooping Option 82 Support Configuration Example

Network requirements
As shown in
Figure 3-6
GigabitEthernet 1/0/1, GigabitEthernet 1/0/2, and GigabitEthernet 1/0/3 are respectively connected to
Client A, Client B, and Client C.
Enable DHCP snooping on the switch.
Specify GigabitEthernet 1/0/5 on the switch as a trusted port for DHCP snooping.
Enable DHCP-snooping Option 82 support on the switch and set the remote ID field in Option 82 to
the system name of the switch. Set the circuit ID sub-option to abcd in DHCP packets from VLAN 1
on GigabitEthernet 1/0/3.
Network diagram
Figure 3-6 Network diagram for DHCP-snooping Option 82 support configuration
Configuration procedure
# Enable DHCP snooping on the switch.
<Switch> system-view
[Switch] dhcp-snooping
# Specify GigabitEthernet 1/0/5 as the trusted port.
[Switch] interface GigabitEthernet1/0/5
[Switch-GigabitEthernet1/0/5] dhcp-snooping trust
[Switch-GigabitEthernet1/0/5] quit
# Enable DHCP-snooping Option 82 support.
[Switch] dhcp-snooping information enable
# Set the remote ID sub-option in Option 82 to the system name (sysname) of the DHCP snooping
device.
[Switch] dhcp-snooping information remote-id sysname
, GigabitEthernet 1/0/5 of the switch is connected to the DHCP server, and
3-11

Advertisement

Table of Contents
loading

This manual is also suitable for:

H3c s5100-ei

Table of Contents