Configuring IP Source Guard (IPSG) with Static and DHCP Snooping Binding on Huawei Devices
This guide demonstrates how to configure Huawei routers for IP Source Guard using static binding tables and DHCP Snooping dynamic binding, covering command-line steps to add static entries, enable IPSG on interfaces and VLANs, and set up trusted ports for DHCP snooping.
Static Binding Table Configuration
First, add a static binding entry with source IP 192.168.1.1 and MAC 0003-0003-0003, then enable IPSG on interface GE0/0/1:
system-viewuser-bind static ip-address 192.168.1.1 mac-address 0003-0003-0003interface gigabitethernet 0/0/1ip source check user-bind enableNext, add another static entry with source IP 192.168.2.1, MAC 0002-0002-0002, interface GE0/0/1 and VLAN ID 10, then enable IPSG on VLAN 10:
system-viewuser-bind static ip-address 192.168.2.1 mac-address 0002-0002-0002 interface gigabitethernet 0/0/1 vlan 10vlan 10ip source check user-bind enableDHCP Snooping Dynamic Binding Table Configuration
Configure DHCP Snooping, set GE0/0/1 as a trusted interface, and enable IPSG on GE1/0/2:
system-viewdhcp enabledhcp snooping enableinterface gigabitethernet 0/0/1dhcp snooping trustedquitinterface gigabitethernet 1/0/2dhcp snooping enableip source check user-bind enableAlternatively, enable DHCP Snooping on VLAN 10 after configuring the trunk port:
system-viewvlan batch 10interface gigabitethernet 0/0/1port link-type trunkport trunk allow-pass vlan 10quitdhcp enabledhcp snooping enablevlan 10dhcp snooping enabledhcp snooping trusted interface gigabitethernet 0/0/1ip source check user-bind enableThe above steps configure IP Source Guard using both static and dynamic (DHCP Snooping) binding tables, ensuring that only authorized IP‑MAC pairs can send traffic on the specified interfaces or VLANs.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
