beautypg.com

Ip source-guard max-binding – Brocade 6910 Ethernet Access Switch Configuration Guide (Supporting R2.2.0.0) User Manual

Page 279

background image

Brocade 6910 Ethernet Access Switch Configuration Guide

223

53-1002651-02

10

IP Source Guard

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 DHCP snooping is disabled (see

“ip dhcp snooping”

on page 212), 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, 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.

Only unicast addresses are accepted for static bindings.

Example
This example enables IP source guard on port 5.

Console(config)#interface ethernet 1/5

Console(config-if)#ip source-guard sip

Console(config-if)#

Related Commands

“ip source-guard binding”

on page 221

“ip dhcp snooping”

on page 212

“ip dhcp snooping vlan”

on page 216

ip source-guard max-binding

This command sets the maximum number of entries that can be bound to an interface. Use the no
form to restore the default setting.

Syntax

ip source-guard max-binding number

no ip source-guard max-binding

number - The maximum number of IP addresses that can be mapped to an interface in the
binding table. (Range: 1-5)

Default Setting
5

Command Mode
Interface Configuration (Ethernet)