dhcpv4-snooping
(in
config-vlan
context)
Syntax
dhcpv4-snooping
no dhcpv4-snooping
Description
Enables DHCPv4 snooping in the
config-vlan
context. DHCPv4 snooping is disabled by default for all VLANs.
The no form of the command disables DHCPv4 snooping on the specified VLAN, flushing all the IP bindings learned for this VLAN since DHCPv4 snooping was enabled for this VLAN.
Command context
config-vlan
Authority
Administrators or local user group members with execution rights for this command.
Examples
Enabling DHCPv4 snooping on VLAN 100:
switch(config)# vlan 100 switch(config-vlan-100)# dhcpv4-snooping switch(config-vlan-100)# exit switch(config)#
Disabling DHCPv4 snooping on VLAN 100:
switch(config)# vlan 100 switch(config-vlan-100)# no dhcpv4-snooping switch(config-vlan-100)# exit switch(config)#