Command Line Interface
4-228
4
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.
• 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.
• Static addresses entered in the source guard binding table with the
ip
source-guard binding
command (page 4-229) are automatically configured
with an infinite lease time. Dynamic entries learned via DHCP snooping are
configured by the DHCP server itself; static entries include a manually
configured lease time.
• If the IP source guard is enabled, an inbound packet’s IP address (sip option)
or both its IP address and corresponding MAC address (sip-mac option) will
be checked against the binding table. If no matching entry is found, the packet
will be dropped.
• Filtering rules are implemented as follows:
- If the DHCP snooping is disabled (see page 4-231), IP source guard will
check the VLAN ID, source IP address, port number, and source MAC
address (for the sip-mac option). If a matching entry is found in the binding
table and the entry type is static IP source guard binding, the packet will be
forwarded.
- If the DHCP snooping is enabled, IP source guard will check the VLAN ID,
source IP address, port number, and source MAC address (for the sip-mac
option). If a matching entry is found in the binding table and the entry type
Содержание TL-SG5426 -
Страница 1: ...TL SG5426 26 Port Gigabit Managed Switch Rev 1 0 0 1910010105...
Страница 17: ...Contents xiv...
Страница 21: ...Tables xviii...
Страница 25: ...Figures xxii...
Страница 42: ...Initial Configuration 2 10 2...
Страница 107: ...Configuring the Switch 3 64 3 Figure 3 41 802 1X Port Configuration...
Страница 486: ...Software Specifications A 4 A...