beautypg.com

Rate limit configuration example, Network requirements – H3C Technologies H3C S3600 Series Switches User Manual

Page 700

background image

5-2

To do…

Use the command…

Remarks

Enter port view

interface interface-type
interface-number

Enable the DHCP packet rate
limit function

dhcp rate-limit enable

Required

By default, DHCP packet rate
limit is disabled.

Configure the maximum DHCP
packet rate allowed on the port

dhcp rate-limit rate

Optional

By default, the maximum rate is
15 pps.

Enable the port state
auto-recovery function

dhcp protective-down
recover enable

Optional

By default, the port state
auto-recovery function is
disabled.

Set the port state
auto-recovery interval

dhcp protective-down
recover interval
interval

Optional

The port state auto-recovery
interval is 300 seconds.

z

Enable the port state auto-recovery function before setting the auto-recovery interval.

z

You are not recommended to configure DHCP packet rate limit on the ports of an aggregation

group.

Rate Limit Configuration Example

Network requirements

As shown in

Figure 5-1

, Ethernet 1/0/1 of the S3600 switch is connected to the DHCP server. Ethernet

1/0/2 is connected to client B and Ethernet 1/0/11 is connected to client A.

z

Enable DHCP snooping on the switch, and specify Ethernet 1/0/1 as the DHCP snooping trusted

port.

z

Configure DHCP packet rate limit on Ethernet 1/0/11 and set the maximum DHCP packet rate

allowed on the port to 100 pps.

z

Set the port state auto-recovery interval to 30 seconds on the switch.

This manual is related to the following products: