27-5
Cisco IE 2000 Switch Software Configuration Guide
OL-25866-01
Chapter 27 Configuring IP Source Guard
How to Configure IP Source Guard
Configuring IP Source Guard for Static Hosts on a Private VLAN Host Port
Step 6 ip verify source tracking port-security Enables IPSG for static hosts with MAC address
filtering.
Note When you enable both IPSG and port security by
using the ip verify source port-security
interface configuration command:
The DHCP server must support option-82, or
the client is not assigned an IP address.
The MAC address in the DHCP packet is not
learned as a secure address. The MAC address
of the DHCP client is learned as a secure
address only when the switch receives
non-DHCP data traffic.
Step 7 ip device tracking maximum number Specifies a maximum limit for the number of static IPs
that the IP device tracking table allows on the port. The
range is 1to 10. The maximum number is 10.
Note You must configure the ip device tracking
maximum limit-number interface configuration
command.
Step 8 switchport port-security (Optional) Activates port security for this port.
Step 9 switchport port-security maximum value (Optional) Specifies a maximum of MAC addresses for
this port.
Step 10 end Returns to privileged EXEC mode.
Step 11 show ip verify source interface interface-id Verifies the configuration and displays IPSG permit
ACLs for static hosts.
Step 12 show ip device track all
[active | inactive] count
Verifies the configuration by displaying the IP-to-MAC
binding for a given host on the switch interface.
all active—Displays only the active IP or MAC
binding entries
all inactive—Displays only the inactive IP or MAC
binding entries
all—Displays the active and inactive IP or MAC
binding entries
Command Purpose
Step 1 configure terminal Enters global configuration mode.
Step 2 vlan vlan-id1 Enters VLAN configuration mode.
Step 3 private-vlan primary Specifies a primary VLAN on a private VLAN port.
Step 4 exit Exits VLAN configuration mode.
Step 5 vlan vlan-id2 Enters configuration VLAN mode for another VLAN.
Command Purpose