Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

clear dhcp relay lockout-entries

 

Syntax

Release Information

Command introduced in Junos OS Release 18.2R1 on MX Series routers.

Description

Clear all client entries from the DHCPv4 relay agent lockout database or only the specified entries. The lockout is terminated for all affected client sessions. The lockout history for these clients is also cleared. The clients that were locked out are allowed to attempt to log in. Any subsequent short-cycle event results in a new lockout, with the initial lockout period at the low end of the range.

Options

allClear all client entries from the lockout database.
index indexNumber identifying a client entry to be cleared from the lockout database. You can view the index numbers associated with all clients by issuing the show dhcp-relay lockout-entries command.

Required Privilege Level

view

Related Documentation

List of Sample Output

clear dhcp relay lockout-entries (Specific Lockout Entry)

clear dhcp relay lockout-entries (All Lockout Entries)

Output Fields

See show dhcp relay lockout-entries for an explanation of the output fields.

Sample Output

clear dhcp relay lockout-entries (Specific Lockout Entry)

The following sample output displays the lockout entries in the database before and after clear dhcp relay lockout-entries command is issued for a specific entry.

user@host> show dhcp relay lockout-entries all
user@host> clear dhcp relay lockout-entries index 2
user@host> show dhcp relay lockout-entries all

clear dhcp relay lockout-entries (All Lockout Entries)

The following sample output displays the lockout entries in the database before and after clear dhcp relay lockout-entries command is issued for all entries.

user@host> show dhcp relay lockout-entries all
user@host> clear dhcp relay lockout-entries all
user@host> show dhcp relay lockout-entries all