Implementing IP Source Guard (IPSG) on Huawei Switches.
- June 12, 2024
- Posted by: James Majani
- Categories: Huawei, Networking

Basic Concepts
Some attackers forge IP addresses of authorized users to obtain network access rights and access networks. As a result authorized users are unable to access networks or sensitive information may be intercepted. IP source guard provides a mechanism to effectively defend against IP address spoofing attacks.
IPSG checks IP packets on Layer 2 interfaces against a binding table that contains the binding of source IP addresses, source MAC addresses, VLAN IDs and inbound interfaces. Binding tables include static and dynamic DHCP snooping binding tables.
Networking Description
As shown in the figure PCs are configured with static IP addresses for unified management. IPSG is configured on the access switch to prevent hosts from changing their own IP addresses to access the network.
.Configure a static binding table.
.Enable IPSG and configure the alarm function.
Step 1: Configure a static binding table on the access switch.
*******************************************ACC_1
system-view
sysname ACC_1
vlan 10
interface Ethernet 0/0/1
port link-type access
port default vlan 10
#
interface Ethernet 0/0/2
port link-type access
port default vlan 10
#
user-bind static mac-address 5489-98DB-29BD ip-address 10.1.1.1
user-bind static ip-address 10.1.1.10 mac-address 5489-9896-2D5B vlan 10
Step 2: Enable IPSG and configure the alarm function of IP Packet check on the interfaces.
*******************************************ACC_1
interface Ethernet0/0/1
ip source check user-bind enable
ip source check user-bind alarm enable
ip source check user-bind alarm threshold 120
#
interface Ethernet0/0/2
ip source check user-bind enable
ip source check user-bind alarm enable
ip source check user-bind alarm threshold 120
Step 2: Check the static binding table on the switch.

PC1 and PC2 can access the internet using the statically configured IP addresses, and cannot access the internet after changing their IP addresses.
cheapest pharmacy to get prescriptions filled: Pharm Express 24 – viagra online pharmacy no prescription
buying sildenafil citrate online female viagra online purchase in india viagra online purchase in usa
viagra without presc: where can i get viagra online – viagra price uk
where to buy generic viagra online: VGR Sources – where can i buy over the counter sildenafil
soft tabs viagra: VGR Sources – buy brand viagra 100mg
https://vgrsources.com/# sildenafil tablets 100mg online
generic viagra online pharmacy uk VGR Sources viagra mastercard online pharmacy
online generic viagra india: VGR Sources – viagra tablet buy online
sildenafil online united states: buy real viagra online usa – buy generic viagra online usa
fast delivery viagra uk: VGR Sources – how to purchase viagra pills
viagra without a rx: how much is viagra in usa – can you buy viagra in australia over the counter
buy viagra in usa online VGR Sources 30 mg sildenafil
where to buy viagra in canada online: VGR Sources – buy generic sildenafil online
sildenafil online pharmacy india: VGR Sources – viagra 200mg pills
https://vgrsources.com/# viagra in mexico cost
sildenafil drug prices: viagra fast delivery usa – viagra gel online