dhcp flood-protection aging-time

Use dhcp flood-protection aging-time to set the DHCP flood attack entry aging time.

Use undo dhcp flood-protection aging-time to restore the default.

Syntax

dhcp flood-protection aging-time time

undo dhcp flood-protection aging-time

Default

The DHCP flood attack entry aging time is 300 seconds.

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

time: Specifies the DHCP flood attack entry aging time in seconds. The value range is 30 to 600.

Usage guidelines

The device deletes a DHCP flood attack entry if the entry's aging time is reached. If a DHCP packet from the MAC address arrives later, the DHCP server will create a flood attack entry and count the number of incoming DHCP packets for that client again.

This command takes effect only after you execute the dhcp flood-protection enable command.

If you execute the command multiple times, the most recent configuration takes effect.

Examples

# Set the DHCP flood attack entry aging time to 90 seconds.

<Sysname> system-view
[Sysname] dhcp flood-protection aging-time 90

Related commands

dhcp flood-protection enable

dhcp flood-protection threshold