IP S
OURCE
G
UARD
C
OMMANDS
4-251
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
[no] ip source-guard {sip | sip-mac}
• 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.
• When enabled, traffic is filtered based upon dynamic entries learned
via DHCP snooping, static entries configured in the DHCP snooping
table, or static addresses configured in the source guard binding table.
• Table entries include a MAC address, IP address, lease time, entry type
(Static-IP-SG-Binding, Dynamic-DHCP-Binding,
Static-DHCP-Binding), VLAN identifier, and port identifier.
Summary of Contents for 6152L2
Page 2: ......
Page 18: ...TABLES xiv ...
Page 32: ...INTRODUCTION 1 10 ...
Page 46: ...INITIAL CONFIGURATION 2 14 ...
Page 185: ...PORT CONFIGURATION 3 139 Figure 3 61 Displaying Etherlike and RMON Statistics ...
Page 249: ...QUALITY OF SERVICE 3 203 Figure 3 90 Configuring Policy Maps ...
Page 290: ...CONFIGURING THE SWITCH 3 244 ...
Page 303: ...COMMAND GROUPS 4 13 VC VLAN Database Configuration ...
Page 434: ...COMMAND LINE INTERFACE 4 144 ...
Page 568: ...TROUBLESHOOTING B 4 ...
Page 581: ......