2-312
Catalyst 3750-X and 3560-X Switch Command Reference
OL-29704-01
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
ip verify source
Interface Filter-type Filter-mode IP-address Mac-address Vlan
--------- ----------- ----------- --------------- ----------------- ----------
Gi1/0/1 ip-mac active 10.0.0.1 10
Gi1/0/1 ip-mac active deny-all 11-20
Switch#
This example shows how to enable IP port security with IP-MAC filters on a Layer 2 access port:
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# ip device tracking
Switch(config)# interface gigabitethernet1/0/3
Switch(config-if)# switchport mode access
Switch(config-if)# switchport access vlan 1
Switch(config-if)# ip device tracking maximum 5
Switch(config-if)# switchport port-security
Switch(config-if)# switchport port-security maximum 5
Switch(config-if)# ip verify source tracking port-security
Switch(config-if)# end
Verify your settings by entering the show ip verify source privileged EXEC command.
Related Commands Command Description
ip device tracking maximum Enable IP port security binding tracking on a Layer 2 port.
ip dhcp snooping Globally enable DHCP snooping.
ip dhcp snooping limit rate Configure the number of the DHCP messages that an interface
can receive per second.
ip dhcp snooping information
option
Enable DHCP option-82 data insertion.
ip dhcp snooping trust Enable DHCP snooping on a trusted VLAN.
ip source binding Configure static bindings on the switch.
show ip dhcp snooping Display the DHCP snooping configuration.
show ip dhcp snooping binding Display the DHCP snooping binding entries.
show ip verify source Display the IP source guard configuration on the switch or on a
specific interface.