IP Source Guard Commands
4-225
4
VLAN identifier, and port identifier.
• Static addresses entered in the source guard binding table with the
ip
source-guard binding
command (page
4-225
) 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 (page
4-228
), 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
is static IP source guard binding, static DHCP snooping binding or dynamic
DHCP snooping binding, the packet will be forwarded.
• If IP source guard if enabled on an interface for which IP source bindings
(dynamically learned via DHCP snooping or manually configured) are not
yet configured, the switch will drop all IP traffic on that port, except for
DHCP packets.
Example
This example maps enables IP source guard on port 5.
Related Command
ip source-guard binding (4-225)
ip dhcp snooping (4-228)
ip dhcp snooping vlan (4-230)
ip source-guard binding
This command adds a static address to the source-guard binding table. Use the
no
form to remove a static entry.
Syntax
ip source-guard mac-address
vlan
vlan-id ip-address
interface ethernet
unit/
port
Console(config)#interface ethernet 1/5
Console(config-if)#ip source-guard sip
Console(config-if)#
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: ......