Networking diagram
Figure 42-1 Network diagram for DHCP packet rate limit configuratio
C
onfiguration procedure
# Enable DHCP snooping on th
<Switch> system-view
[Switch] dhcp-snooping
# Specify Ethernet 1/0/1 as the trusted port.
[Switch] interface ethernet 1/0/1
[Switch-Ethernet1/0/1] dhcp-snooping trust
[Switch-Ethernet1/0/1] quit
# Enable auto recovery.
[Sysname] dhcp protective-down recover enable
# Set the port state auto-recovery interval to 30 seconds.
[Sysname] dhcp protective-down recover interval 30
# Enter port view.
[Sysname] interface ethernet 1/0/11
# Enable DHCP packet rate limit on Ethernet 1/0/11.
[Sysname-Ethernet1/0/11] dhcp rate-limit enable
# Set the maximum DHCP packet rate allowed on Ethernet 1/0/11 to 100 pp
[
Sysname-Ethernet1/0/11] dhcp rate-limit 100
e switch.
42-3
n
s.