H3C LS-5100-16P-SI-OVS-H3 Configuration page 21

Low-end ethernet switches
Table of Contents

Advertisement

DHCP
H3C Low-End Ethernet Switches Configuration Examples
[LAB-Vlan-interface15] dhcp select interface
[LAB-Vlan-interface15] quit
# To ensure that the lab DHCP server forwards DHCP packets normally, you need
configure a routing protocol. The following configuration uses RIP as an example. For
the configuration of other routing protocols, see the related parts in product manuals.
[LAB] rip
[LAB-rip] network 192.168.17.0
[LAB-rip] network 172.16.0.0
IV. Configuring DHCP snooping
DHCP Snooping
Eth1/0/11
Figure 2-5 Network diagram for DHCP snooping configuration
# Enable DHCP snooping and enable Option 82 support for DHCP snooping.
<Snooping> system-view
[Snooping] dhcp-snooping
[Snooping] dhcp-snooping information enable
[Snooping] dhcp-packet redirect Ethernet 0/11 to 0/13
V. Configuring the DHCP server in the HQ
# On the H3C series switches, port numbers, VLAN numbers, and the MAC addresses
of the DHCP snooping device and the DHCP relay agent are added to DHCP Option 82.
A complete piece of Option 82 information is a combination of the values of two
suboptions:
Circuit ID suboption: It identifies the VLAN to which the clients belong and the port to
which the DHCP snooping device is connected.
0
Type(1)
Figure 2-6 Packet structure of Circuit ID suboption
Eth1/0/1
Eth1/0/13
Eth1/0/12
Office
Length(6)
VLAN ID
Chapter 2 Configuration Examples
15
0
2-9
4
Port Index
31

Advertisement

Table of Contents
loading

Table of Contents