Operation Manual – DHCP
H3C S5100-SI/EI Series Ethernet Switches
Chapter 2 DHCP Snooping Configuration
2-6
number of the port through which a client is connected to the DHCP-snooping-enabled
device, and the number of the VLAN to which the port belongs to. These records are
saved as entries in the DHCP-snooping table.
II. IP static binding table
The DHCP-snooping table only records information about clients that obtains IP
address dynamically through DHCP. If a fixed IP address is configured for a client, the
IP address and MAC address of the client cannot be recorded in the DHCP-snooping
table. Consequently, this client cannot pass the IP filtering of the DHCP-snooping table,
thus it cannot access external networks.
To solve this problem, the switch supports the configuration of static binding table
entries, that is, the binding relationship between IP address, MAC address, and the port
connecting to the client, so that packets of the client can be correctly forwarded.
III. IP filtering
The switch can filter IP packets in the following two modes:
z
Filtering the source IP address in a packet. If the source IP address and the
number of the port that receives the packet are consistent with entries in the
DHCP-snooping table or static binding table, the switch regards the packet as a
valid packet and forwards it; otherwise, the switch drops it directly.
z
Filtering the source IP address and the source MAC address in a packet. If the
source IP address and source MAC address in the packet, and the number of the
port that receives the packet are consistent with entries in the DHCP-snooping
table or static binding table, the switch regards the packet as a valid packet and
forwards it; otherwise, the switch drops it directly.
2.2 Configuring DHCP Snooping
2.2.1 Configuring DHCP Snooping
Follow these steps to configure DHCP snooping:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable DHCP snooping
dhcp-snooping
Required
By default, the DHCP
snooping function is
disabled.
Enter Ethernet port view
interface
interface-type
interface-number
—