IP Source Guard

IP Source Guard is a layer 2 security feature that prevents IP address spoofing on untrusted interfaces. The dhcpsnoop daemon filters ingress frames based on a validated binding table; the switch forwards traffic arriving on a port with IP Source Guard enabled only if its source MAC and source IP address match an authorized entry.

Before you enable IP Source Guard on an interface, you must configure DHCP snooping for the bridge VLAN.

To enable IP Source Guard on an interface, run the nv set interface <interface-id> security ip-source-guard state enabled command:

cumulus@switch:~$ nv set interface swp1 security ip-source-guard state enabled
cumulus@switch:~$ nv set interface swp2 security ip-source-guard state enabled
cumulus@switch:~$ nv config apply

To disable IP Source Guard on an interface, run the nv set interface <interface-id> security ip-source-guard state disabled command.

To show the IP Source Guard configuration and operational status for an interface, run the nv show interface <interface-id> security command.