beautypg.com

Ip source guard commands, Ip source-guard, Table 4-84 – Accton Technology Edge-corE Fast Ethernet Switch ES3528M-SFP User Manual

Page 609

background image

IP Source Guard Commands

4-313

4

Example

Related Commands

interface (4-166)

IP Source Guard Commands

IP Source Guard is a security feature that filters IP traffic on network interfaces
based on manually configured entries in the IP Source Guard table, or static and
dynamic entries in the DHCP Snooping table when enabled (see “DHCP Snooping
Commands” on page 4-317)
. IP source guard can be used to 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

ip source-guard {sip | sip-mac}
no ip source-guard

sip - Filters traffic based on IP addresses stored in the binding table.

Console#ping 10.1.0.9
Type ESC to abort.
PING to 10.1.0.9, by 5 32-byte payload ICMP packets, timeout is 5 seconds
response time: 10 ms
response time: 10 ms
response time: 10 ms
response time: 10 ms
response time: 10 ms
Ping statistics for 10.1.0.9:
5 packets transmitted, 5 packets received (100%), 0 packets lost (0%)
Approximate round trip times:
Minimum = 10 ms, Maximum = 20 ms, Average = 10 ms
Console#

Table 4-84 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-313

ip source-guard

binding

Adds a static address to the source-guard binding table

GC

4-315

show ip

source-guard

Shows whether source guard is enabled or disabled on each

interface

PE

4-316

show ip

source-guard

binding

Shows the source guard binding table

PE

4-316