IP Source Guard Commands
4-229
4
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 enables IP source guard on port 5.
Related Commands
ip source-guard binding (4-229)
ip dhcp snooping (4-231)
ip dhcp snooping vlan (4-233)
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 binding
mac-address
vlan
vlan-id ip-address
interface ethernet
unit/port
no
ip source-guard
binding
mac-address
vlan
vlan-id
•
mac-address
- A valid unicast MAC address.
•
vlan-id
- ID of a configured VLAN (Range: 1-4094)
•
ip-address
- A valid unicast IP address, including classful types A, B or C.
•
unit
- Stack unit. (Range: Unit 1)
•
port
- Port number. (Range: 1-26)
Default Setting
No configured entries
Command Mode
Global Configuration
Command Usage
• 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.
• All static entries are configured with an infinite lease time, which is indicated
with a value of zero by the
show ip source-guard
command (page 4-230).
• When source guard is enabled, traffic is filtered based upon dynamic entries
learned via DHCP snooping, static entries configured in the DHCP snooping
Console(config)#interface ethernet 1/5
Console(config-if)#ip source-guard sip
Console(config-if)#
Summary of Contents for TL-SG5426 -
Page 1: ...TL SG5426 26 Port Gigabit Managed Switch Rev 1 0 0 1910010105...
Page 17: ...Contents xiv...
Page 21: ...Tables xviii...
Page 25: ...Figures xxii...
Page 42: ...Initial Configuration 2 10 2...
Page 107: ...Configuring the Switch 3 64 3 Figure 3 41 802 1X Port Configuration...
Page 486: ...Software Specifications A 4 A...