clear dhcp relay lockout-entries
Syntax
clear dhcp relay lockout-entries (all | index index)
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
all | Clear all client entries from the lockout database. |
index index | Number identifying a client entry to be cleared from the lockout database. You can view the index numbers associated with all clients by issuing the |
Required Privilege Level
view
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)
- clear dhcp relay lockout-entries (All Lockout Entries)
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 Index Key State Expires(s) Elapsed(s) Count 1 00:00:5E:00:53:00 Lockout 30 5200 2 2 00:00:5E:00:53:11 Grace 120 780 2 3 00:00:5E:00:53:22 Lockout 180 2300 1 user@host> clear dhcp relay lockout-entries index 2 user@host> show dhcp relay lockout-entries all Index Key State Expires(s) Elapsed(s) Count 1 00:00:5E:00:53:00 Lockout 30 5200 2 3 00:00:5E:00:53:22 Lockout 180 2300 1
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 Index Key State Expires(s) Elapsed(s) Count 1 00:00:5E:00:53:00 Lockout 30 5200 2 2 00:00:5E:00:53:11 Grace 120 780 2 3 00:00:5E:00:53:22 Lockout 180 2300 1 user@host> clear dhcp relay lockout-entries all user@host> show dhcp relay lockout-entries all
Release Information
Command introduced in Junos OS Release 18.2R1.