Ip Verify Source Vlan Dhcp-Snooping - Cisco 4500M Command Reference Manual

Command reference
Hide thumbs Also See for 4500M:
Table of Contents

Advertisement

Chapter2
Cisco IOS Commands for the Catalyst 4500 Series Switches

ip verify source vlan dhcp-snooping

To enable IP source guard on DHCP snooping untrusted Layer 2 interfaces, use the ip verify source vlan
dhcp-snooping command. Use the no form of this command to disable IP source guard on DHCP
snooping untrusted Layer 2 interfaces.
Syntax Description
port-security
Defaults
IP source guard is disabled.
Command Modes
Global configuration
Command History
Release
12.1(19)EW
Usage Guidelines
Interface configuration
Examples
This example shows how to enable DHCP snooping security on VLANs 10 through 20:
Switch# config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# ip dhcp snooping
Switch(config)# ip dhcp snooping vlan 10 20
Switch(config)# configure interface fastethernet6/1
Switch(config-if)# switchport trunk encapsulation dot1q
Switch(config-if)# switchport mode trunk
Switch(config-if)# switchport access vlan 10
Switch(config-if)# no ip dhcp snooping trust
Switch(config-if)# ip verify source vlan dhcp-snooping
Switch(config)# end
Switch# show ip dhcp snooping security interface fastethernet6/1
Interface
---------
fa6/1
fa6/1
Switch#
The output shows that there is one valid DHCP binding to VLAN 10.
78-16201-01
ip verify source vlan dhcp-snooping [port-security]
no ip verify source vlan dhcp-snooping [port-security]
(Optional) Filters both source IP and MAC addresses using the port
securityfeature.
Modification
Support for this command was introduced on the Catalyst 4500 series switch.
Filter-type
Filter-mode
-----------
-----------
ip
active
ip
active
Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW
IP-address
Mac-address
---------------
--------------
10.0.0.2
deny-all
ip verify source vlan dhcp-snooping
Vlan
---------
10
11-20
2-155

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ws-c4507r4500 series

Table of Contents