Ip Verify Source - Cisco Catalyst 3560X-24P Command Reference Manual

Cisco ios release 12.2(55)se
Hide thumbs Also See for Catalyst 3560X-24P:
Table of Contents

Advertisement

ip verify source

ip verify source
Use the ip verify source interface configuration command on the switch stack or on a standalone switch
to enable IP source guard on an interface. Use the no form of this command to disable IP source guard.
Syntax Description
vlan dhcp-snooping
tracking
port-security
Defaults
IP source guard is disabled.
Command Modes
Interface configuration
Command History
Release
12.2(53)SE2
Usage Guidelines
To enable IP source guard with source IP address filtering, use the ip verify source interface
configuration command.
To enable IP source guard with source IP and MAC address filtering, use the ip verify source
port-security interface configuration command.
To enable IP source guard with source IP and MAC address filtering, you must enable port security on
the interface.
Examples
This example shows how to enable IP source guard on VLANs 10 through 20 on a per-port basis:
Switch# configure terminal
Enter configuration commands, one per line.
Switch(config)# ip dhcp snooping
Switch(config)# ip dhcp snooping vlan 10 20
Switch(config)# interface gigabitethernet1/0/1
Switch(config-if)# switchport trunk encapsulation dot1q
Switch(config-if)# switchport mode trunk
Switch(config-if)# switchport trunk native vlan 10
Switch(config-if)# switchport trunk allowed vlan 11-20
Switch(config-if)# no ip dhcp snooping trust
Switch(config-if)# ip verify source vlan dhcp-snooping
Switch(config)# end
Switch# show ip verify source interface fastethernet0/1
Catalyst 3750-X and 3560-X Switch Command Reference
2-286
ip verify source {vlan dhcp-snooping | tracking} [port-security]
no ip verify source {vlan dhcp-snooping | tracking} [port-security]
Enable IP source guard on an untrusted Layer 2 DHCP snooping interfaces.
Enable IP port security to learn static IP address learning on a port.
(Optional) Enable IP source guard with IP and MAC address filtering.
If you do not enter the port-security keyword, IP source guard with IP
address filtering is enabled.
Modification
This command was introduced.
Chapter 2
Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
End with CNTL/Z.
OL-21522-02

Advertisement

Table of Contents
loading

Table of Contents