Command Guide of WGSW-28040
105
switch(config)#
interface gi1
switch(config-if)#
ip dhcp snooping verify mac-address
switch(config-if)#
do show ip dhcp snooping interface gi1
Interfaces|Trust State|Rate (pps)|hwaddr Check|Insert Option82|
----------+-----------+----------+------------+---------------+
gi1 | Untrusted | None | enabled | disabled |
4.6.5 ip dhcp snooping limit rate
Command:
ip dhcp snooping limit rate <1-300>
no ip dhcp snooping limit rate
Parameter:
<1-300>
Set 1 to 300 PPS of DHCP packet rate limitation
Default:
Default is un-limited of DHCP packet
Mode:
Interface Configuration
Usage Guide:
Use the
ip dhcp snooping limit rate
command to set rate limitation on interface. The switch drop DHCP packets
after receives more than configured rate of packets per second. Use the
no
form of this command to return to default
settings.
Example:
The example shows how to set rate limit to 30 pps on interface gi1. You can verify settings by the following
show ip
dhcp snooping interface
command.
switch(config)#
interface gi1
switch(config-if)#
ip dhcp snooping rate-limit 30
switch(config-if)#
do show ip dhcp snooping interfaces gi1
Interfaces|Trust State|Rate (pps)|hwaddr Check|Insert Option82|
----------+-----------+----------+------------+---------------+
gi1 | Untrusted | 30 | disabled | disabled |