C613-50170-01 Rev B
Command Reference for x510 Series
1999
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
DHCP S
NOOPING
C
OMMANDS
IP
DHCP
SNOOPING
ip dhcp snooping
Overview
Use this command to enable DHCP snooping on one or more VLANs.
Use the
no
variant of this command to disable DHCP snooping on the VLANs.
Syntax
ip dhcp snooping
no ip dhcp snooping
Default
DHCP snooping is disabled on VLANs by default.
Mode
Interface Configuration (VLANs)
Usage
For DHCP snooping to operate on a VLAN, it must:
•
be enabled on the particular VLAN by using this command
•
be enabled globally on the switch by using the
•
have at least one port connected to a DHCP server configured as a trusted
port by using the
Any ACLs on a port that permit traffic matching DHCP snooping entries and block
other traffic, will block all traffic if DHCP snooping is disabled on the port. If you
disable DHCP snooping on particular VLANs using this command, you must also
remove any DHCP snooping ACLs from the ports to maintain connectivity (no
Examples
To enable DHCP snooping on VLANs 2 to 4, use the commands:
awplus#
configure terminal
awplus(config)#
interface vlan2-vlan4
awplus(config-if)#
ip dhcp snooping
To disable DHCP snooping on the switch, use the command:
awplus#
configure terminal
awplus(config)#
interface vlan2-vlan4
awplus(config-if)#
no ip dhcp snooping
Related
Commands