IP DHCP Snooping Commands
ip dhcp snooping trust
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
254
16
Syntax
ip dhcp snooping limit rate
VALUE
no ip dhcp snooping limit rate
Parameters
•
VALUE
—Number of DHCP messages that an interface can receive per
second.
Default Configuration
DHCP snooping rate limiting is disabled.
Command Mode
Interface Configuration mode
User Guidelines
The rate limit normally applies to untrusted interfaces. If you want to configure rate
limiting for trusted interfaces, trusted interfaces may aggregate DHCP traffic on
multiple VLANs (some of which may not be snooped) on the switch, and you will
need to adjust the interface rate limit to a higher value.
If the rate limit is exceeded, the interface is error-disabled. If you enable error
recovery by entering the errdisable recovery cause dhcp-rate-limit Global
Configuration mode command, the interface retries the operation again when all
causes have timed out. If the error recovery function is not enabled, the interface
stays in the error-disabled state until you enter the shutdown and no shutdown
Interface Configuration mode commands.
Example
switchxxxxxx(config)#
interface fa7
switchxxxxxx(config-if)#
ip dhcp snooping limit rate 100
ip dhcp snooping trust
To configure a port as trusted for DHCP snooping purposes, use the ip dhcp
snooping trust Interface Configuration mode command.
To revert to its default setting, use the no form of this command.