5-2To do… Use the command… RemarksEnter port view interface interface-typeinterface-number —Enable the DHCP packet ratelimit function dhcp rate-limit enableRequiredBy default, DHCP packet ratelimit is disabled.Configure the maximum DHCPpacket rate allowed on the port dhcp rate-limit rateOptionalBy default, the maximum rate is15 pps.Enable the port stateauto-recovery functiondhcp protective-downrecover enableOptionalBy default, the port stateauto-recovery function isdisabled.Set the port stateauto-recovery intervaldhcp protective-downrecover interval intervalOptionalThe port state auto-recoveryinterval 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 aggregationgroup.Configuring Port State Auto RecoveryFollow these steps to configure port state auto recovery:To do… Use the command… RemarksEnter system view system-view —Enable port state auto-recovery dhcp protective-downrecover enableRequiredBy default, this function isdisabled.Configure the port stateauto-recovery intervaldhcp protective-downrecover interval intervalOptionalBy default, the auto-discoveryinterval is 300 seconds.Rate Limit Configuration ExampleNetwork requirementsAs shown in Figure 5-1, GigabitEthernet 1/0/1 of the S5600 switch is connected to the DHCP server.GigabitEthernet 1/0/2 is connected to client B and GigabitEthernet 1/0/11 is connected to client A.z Enable DHCP snooping on the switch, and specify GigabitEthernet 1/0/1 as the DHCP snoopingtrusted port.