![H3C S9500E Series Security Configuration Manual Download Page 167](http://html1.mh-extra.com/html/h3c/s9500e-series/s9500e-series_security-configuration-manual_3156952167.webp)
167
As you see, port GigabitEthernet 3/0/1 has obtained the dynamic entries generated by DHCP
snooping after it is configured with dynamic binding function.
Dynamic IP source guard binding function configuration
example II
Network requirements
As shown in Figure 58, Switch A connects to Client A and the DHCP server through VLAN-
interface 100 and VLAN-interface 200 respectively. DHCP Relay is enabled on Switch A.
Detailed requirements are as follows:
•
Client A (with the MAC address of 00-01-02-03-04-06) obtains an IP address from the DHCP
server through the DHCP relay agent.
•
On VLAN-interface 100 of Switch A, enable dynamic binding function to filter packets by
using the generated DHCP Relay entries.
For detailed configuration of a DHCP relay agent, see
DHCP
in the
Layer 3 – IP Services Configuration
Guide.
Figure 58
Network diagram for configuring dynamic binding function
Configuration procedure
1.
Configure Switch A
Configure the IP addresses of the interfaces. (Omitted)
Configure the dynamic binding function on VLAN-interface 100 to filter packets based on both the
source IP address and MAC address.
<SwitchA> system-view
[SwitchA] vlan 100
[SwitchA-Vlan100] quit
[SwitchA] interface vlan-interface 100
[SwitchA-Vlan-interface100] ip check source ip-address mac-address
[SwitchA-Vlan-interface100] quit
Enable DHCP Relay.
[SwitchA] dhcp enable
Configure the IP address of the DHCP server.
[SwitchA] dhcp relay server-group 1 ip 10.1.1.1
Configure VLAN-interface 100 to work in DHCP relay mode.
[SwitchA] interface vlan-interface 100