IP Source Guard Commands
ip source-guard (interface)
SPS208G/SPS224G4/SPS2024 Command Line Interface Reference Guide 227
16
The ip source-guard Interface Configuration (Ethernet, Port-channel) mode
command enables IP source guard on an interface. Use the no form of th is
command to disable IP source guard.
Syntax
ip source-guard
no ip source-guard
Default Configuration
IP source guard is disabled.
Command Mode
Interface Configuration (Ethernet, Port-channel) mode
User Guidelines
IP source guard must first be globally enabled before enabling IP source guard on
an interface.
IP source guard is effective only on DHCP snooping untrusted interface, although it
can be enabled (as a shadow configuration) on a trusted interface.
Example
The following example enables IP source guard on an interface.
Console(config)# interface ethernet 1
Console(config-if)# ip source-guard