Configuring Ip Source Guard On The Switch - Cisco 4500M Software Manual

Software guide
Table of Contents

Advertisement

Chapter 33
Configuring DHCP Snooping and IP Source Guard
If IP Source Guard is enabled on a trunk port with a large number of VLANs that have DHCP snooping
Note
enabled, you might run out of ACL hardware resources, and some packets might be switched in software
instead.
When IP Source Guard is enabled, you might want to designate an alternative scheme for ACL hardware
Note
programming. For more information, see the "TCAM Programming and ACLs" section in the
"Configuring Network Security with ACLs" chapter.
IP Source Guard supports the Layer 2 port only, including both access and trunk. For each untrusted
Layer 2 port, there are two levels of IP traffic security filtering:
When IP source guard is enabled in IP and MAC filtering mode, the DHCP snooping option 82 must be
Note
enabled to ensure that the DHCP protocol works properly. Without option 82 data, the switch cannot
locate the client host port to forward the DHCP server reply. Instead, the DHCP server reply is dropped,
and the client cannot obtain an IP address.

Configuring IP Source Guard on the Switch

To enable IP Source Guard, perform this task:
Command
Step 1
Switch(config)# ip dhcp snooping
Step 2
Switch(config)# ip dhcp snooping vlan number
[ number ]
Step 3
Switch(config-if)# no ip dhcp snooping trust
Step 4
Switch(config-if)# ip verify source vlan
dhcp-snooping port-security
OL-6696-01
Source IP address filter
IP traffic is filtered based on its source IP address. Only IP traffic with a source IP address that
matches the IP source binding entry is permitted.
An IP source address filter is changed when a new IP source entry binding is created or deleted on
the port. The port PVACL will be recalculated and reapplied in the hardware to reflect the IP source
binding change. By default, if the IP filter is enabled without any IP source binding on the port, a
default PVACL that denies all IP traffic is installed on the port. Similarly, when the IP filter is
disabled, any IP source filter PVACL will be removed from the interface.
Source IP and MAC address filter
IP traffic is filtered based on its source IP address as well as its MAC address; only IP traffic with
source IP and MAC addresses matching the IP source binding entry are permitted.
Configuring IP Source Guard on the Switch
Purpose
Enables DHCP snooping globally.
You can use the no keyword to disable DHCP snooping.
Enables DHCP snooping on your VLANs.
Configures the interface as trusted or untrusted.
You can use the no keyword of to configure an interface
to receive only messages from within the network.
Enables IP source guard, source IP, and source MAC
address filtering on the port.
Software Configuration Guide—Release 12.2(25)EW
33-11

Advertisement

Table of Contents
loading

This manual is also suitable for:

4500 series

Table of Contents