Command Line Interface
4-172
4
IP Source Guard Commands
IP Source Guard is a security feature that filters IP traffic on network interfaces
based on manually configured entries in the IP Source Guard table, or static and
dynamic entries in the DHCP Snooping table when enabled (see “DHCP Snooping
Commands” on page 4-164). IP source guard can be used to prevent traffic attacks
caused when a host tries to use the IP address of a neighbor to access the network.
This section describes commands used to configure IP Source Guard.
ip source-guard
This command configures the switch to filter inbound traffic based source IP
address, or source IP address and corresponding MAC address. Use the
no
form to
disable this function.
Syntax
ip source-guard
{
sip
|
sip-mac
}
no
ip source-guard
•
sip
-
Filters traffic based on IP addresses stored in the binding table.
•
sip-mac
-
Filters traffic based on IP addresses and corresponding MAC
addresses stored in the binding table.
Default Setting
Disabled
Command Mode
Interface Configuration (Ethernet)
Command Usage
• Source guard is used to filter traffic on an unsecure port which receives
messages from outside the network or firewall, and therefore may be subject
to traffic attacks caused by a host trying to use the IP address of a neighbor.
• Setting source guard mode to “sip” or “sip-mac” enables this function on the
selected port. Use the “sip” option to check the VLAN ID, source IP address,
and port number against all entries in the binding table. Use the “sip-mac”
option to check these same parameters, plus the source MAC address. Use
the
no source guard
command to disable this function on the selected port.
Table 4-46 IP Source Guard Commands
Command
Function
Mode
Page
ip source-guard
Configures the switch to filter inbound traffic based on source IP
address, or source IP address and corresponding MAC address
IC
ip source-guard
binding
Adds a static address to the source-guard binding table
GC
show ip
source-guard
Shows whether source guard is enabled or disabled on each
interface
PE
show ip
source-guard
binding
Shows the source guard binding table
PE
Summary of Contents for iES4028F
Page 1: ...iES4028F 4028FP 4024GP ...
Page 4: ...iv This page is intentionally left blank ...
Page 10: ...x This page is intentionally left blank ...
Page 28: ...Contents xxviii This page is intentionally left blank ...
Page 32: ...Tables xxxii This page is intentionally left blank ...
Page 46: ...Introduction 1 10 1 This page is intentionally left blank ...
Page 336: ...Configuring the Switch 3 280 3 This page is intentionally left blank ...
Page 688: ...Command Line Interface 4 352 4 This page is intentionally left blank ...
Page 702: ...Glossary Glossary 8 This page is intentionally left blank ...
Page 710: ...Index 8 Index This page is intentionally left blank ...
Page 711: ...This page is intentionally left blank ...
Page 712: ...iES4028F 4028FP 4024GP ...