368
[DeviceB] ip source binding ip-address 192.168.1.2 mac-address 0001-0203-0407
Verifying the configuration
# Display static IPv4 binding entries on Device B.
[DeviceB] display ip source binding static
Total entries found: 2
MAC Address IP Address VLAN Interface Type
0001-0203-0406 192.168.0.2 N/A N/A Static
0001-0203-0407 192.168.1.2 N/A N/A Static
After the configurations, Host A and Host B can ping each other successfully.
Troubleshooting IP source guard
Symptom
Failed to configure static or dynamic IP source guard on a port.
Analysis
IP source guard is not supported on a port in an aggregation group or a service loopback group.
Solution
Remove the port from the aggregation group or service loopback group.