CLI Reference DHCP Snooping Configuration Commands
This command is supported on all switches.
ip dhcp snooping limit rate
Use this command to set rate limit of receiving DHCP packets on the interface. The no form of this
command removes the setting.
[no] ip dhcp snooping limit rate rate-value
Rate of receiving DHCP packets (pps).
Interface configuration mode.
This function takes effect for all the interfaces of the VLAN controlled by the
DHCP Snooping, including trust interface.
For some CPP-enabled products, CPP will restrict the rate of DHCP packets
by hardware. CCP-based rate limit takes precedence over DHCP
Snooping-based rate limit. For CPP, please refer to specific chapters.
You can view the rate limit setting on the corresponding interface by show ip
dhcp snooping command.
Note that S86 does not support rate limit of DHCP packets on an interface.
The following example sets rate limit of port 1 as 100:
Ruijie# configure terminal
Ruijie(config)# interface fastEthernet 0/1
Ruijie(config-if)# ip dhcp snooping limit rate 100
Ruijie(config-if)# end
Ruijie# show ip dhcp snooping
Switch DHCP snooping status: ENABLE
DHCP snooping Verification of hwaddr field status: DISABLE
DHCP snooping database write-delay time:0 seconds
DHCP snooping option 82 status:ENABLE
DHCP snooping Support Bootp bind status: ENABLE
Interface Trusted Rate limit (pps)
---------------------- ------- ----------------
GigabitEthernet 0/1 NO 100