Dhcp Rate-Limit - H3C s3600 series Command Manual

Hide thumbs Also See for s3600 series:
Table of Contents

Advertisement

Parameters
interval: Interval (in seconds) for a port disabled due to the DHCP traffic exceeding the set threshold to
be brought up again. This argument ranges from 10 to 86,400.
Description
Use the dhcp protective-down recover interval command to set an auto recovery interval.
Use the undo dhcp protective-down recover interval command to restore the default interval.
With the port state auto-recovery function enabled on a switch, the auto recovery interval defaults to
300 seconds.
Note that:
Before configuring the port state auto-recovery interval, you must enable port state auto-recovery
on the switch first.
The new port state auto-recovery interval only applies to the ports that are shut down after the
dhcp protective-down recover interval command is last executed.
Examples
# Set the port state auto-recovery interval to 30 seconds.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] dhcp protective-down recover enable
[Sysname] dhcp protective-down recover interval 30

dhcp rate-limit

Syntax
dhcp rate-limit rate
undo dhcp rate-limit
View
Ethernet port view
Parameters
rate: Maximum rate of DHCP traffic in pps. This argument ranges from 10 to 150.
Description
Use the dhcp rate-limit command to configure the maximum rate of DHCP traffic for the port. When the
number of DHCP packets received on the port per second exceeds the specified threshold, the switch
will discard the exceeding DHCP packets.
Use the undo dhcp rate-limit command to restore the default.
By default, after the DHCP traffic limit is enabled, the maximum rate of DHCP traffic is 15 pps.
Note that:
You need to enable the function to limit DHCP traffic (refer to the dhcp rate-limit enable command) for
a port before executing either of these two commands for the port.
4-2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents