![background image](http://html.mh-extra.com/html/smc-networks/8124pl2/8124pl2_management-manual_1300682457.webp)
Command Line Interface
4-224
4
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
[
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),
Table 4-77. 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
4-224
ip source-guard binding Adds a static address to the source-guard binding table
GC
4-225
show ip source-guard
Shows whether source guard is enabled or disabled on
each interface
PE
4-227
show ip source-guard
binding
Shows the source guard binding table
PE
4-227
Summary of Contents for 8124PL2
Page 1: ...MANAGEMENT GUIDE TigerSwitchTM 10 100 1000 24 Port Managed Switch with PoE SMC8124PL2 ...
Page 2: ......
Page 20: ...xvi Contents ...
Page 27: ...xxiii Figures ...
Page 35: ...Introduction 1 8 1 ...
Page 45: ...Initial Configuration 2 10 2 ...
Page 148: ...Port Configuration 3 103 Figure 3 61 Displaying Etherlike and RMON Statistics ...
Page 473: ...Command Line Interface 4 240 4 ...
Page 477: ...Software Specifications A 4 A ...
Page 489: ...Index Index 4 menu list 3 3 panel display 3 3 ...
Page 490: ......