![Cisco Catalyst Blade 3032 Software Configuration Manual Download Page 573](http://html.mh-extra.com/html/cisco/catalyst-blade-3032/catalyst-blade-3032_software-configuration-manual_67665573.webp)
22-25
Cisco Catalyst Blade Switch 3130 and 3032 for Dell Software Configuration Guide
OL-13270-06
Chapter 22 Configuring DHCP Features and IP Source Guard
Configuring IP Source Guard
This example shows how to enable IPSG for static hosts with IP filters on a private VLAN host port:
Switch(config)#
vlan 200
Switch(config-vlan)#
private-vlan primary
Switch(config-vlan)#
exit
Switch(config)#
vlan 201
Switch(config-vlan)#
private-vlan isolated
Switch(config-vlan)#
exit
Switch(config)#
vlan 200
Switch(config-vlan)#
private-vlan association 201
Switch(config-vlan)#
exit
Switch(config)#
int gigabitethernet1/0/3
Switch(config-if)#
switchport mode private-vlan host
Switch(config-if)#
switchport private-vlan host-association 200 201
Switch(config-if)#
ip device tracking maximum 8
Switch(config-if)#
ip verify source tracking
Switch#
show ip device tracking all
IP Device Tracking = Enabled
IP Device Tracking Probe Count = 3
IP Device Tracking Probe Interval = 30
---------------------------------------------------------------------
IP Address MAC Address Vlan Interface STATE
---------------------------------------------------------------------
40.1.1.24 0000.0000.0304 200 GigabitEthernet1/0/3 ACTIVE
40.1.1.20 0000.0000.0305 200 GigabitEthernet1/0/3 ACTIVE
40.1.1.21 0000.0000.0306 200 GigabitEthernet1/0/3 ACTIVE
40.1.1.22 0000.0000.0307 200 GigabitEthernet1/0/3 ACTIVE
40.1.1.23 0000.0000.0308 200 GigabitEthernet1/0/3 ACTIVE
Step 10
exit
Exit VLAN configuration mode.
Step 11
interface fastEthernet
interface-id
Enter interface configuration mode.
Step 12
switchport mode private-vlan host
(Optional) Establish a port as a private VLAN host.
Step 13
switchport private-vlan host-association
vlan-id1
vlan-id2
(Optional) Associate this port with the corresponding
private VLAN.
Step 14
ip device tracking maximum
number
Establish a maximum for the number of static IPs that
the IP device tracking table allows on the port.
The maximum is 10.
Note
You must globally configure the
ip device
tracking
maximum
number
interface command
for IPSG for static hosts to work.
Step 15
ip verify source tracking [port-security]
Activate IPSG for static hosts with MAC address
filtering on this port.
Step 16
end
Exit configuration interface mode.
Step 17
show ip device tracking all
Verify the configuration.
Step 18
show ip verify source interface
interface-id
Verify the IP source guard configuration. Display IPSG
permit ACLs for static hosts.
Command
Purpose