Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

show dhcp relay lockout-entries

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show dhcp relay lockout-entries (all | index index)

Description

Display information about all client entries or detailed information about a specific client entry in the DHCPv4 relay agent lockout database.

Options

all

Display all client entries in the lockout database.

index

Number identifying a client entry to be displayed.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show dhcp relay lockout-entries command. Output fields are listed in the approximate order in which they appear.

Table 1: show dhcp relay lockout-entries Output Fields

Field Name

Field Description

Level of Output

Index

Number identifying a specific entry in the lockout database.

all and index

Key

Client identifier for the client in the lockout database.

all and index

State

Type of lockout period for the entry:

  • Grace—A previously locked out client enters the grace period when the lockout expires. If the client attempts to establish a session within in this period, the next lockout time is increased. If the grace time passes without a log in, the entry is removed from the lockout database.

  • Lockout—Client is currently locked out; attempts to establish a session are rejected.

all and index

Expires (s)

Number of seconds until the current lockout period expires.

all only

Elapsed (s)

Number of seconds since the current lockout or grace timer started.

all only

Count

Number of consecutive times the client has been locked out.

all only

Expires

Date and time when the current lockout period ends.

index only

Expires in

Number of seconds until the current period expires.

index only

Lockout count

Number of consecutive times client has been locked out.

index only

Next lockout time

Duration of the next lockout period for this client.

index only

Min lockout time

Minimum duration for a lockout period; the initial lockout time.

index only

Lockout reason

Reason for the current lockout. The possible values are internal jdhcpd error codes. These values are provided for debugging by Juniper Networks technical support.

index only

Sample Output

show dhcp relay lockout-entries (All Entries)

content_copy zoom_out_map
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

show dhcp relay lockout-entries (Specific Entry)

content_copy zoom_out_map
user@host> show dhcp relay lockout-entries index 2
     Index:                                 2
     Key:                                   default/00 01 00 01 5a bc e1 7b 00 10 94 00 00 06/
     State:                                 Lockout
     Expires:                               2018-03-29 19:06:17 IST
     Expires in:                            87
     Lockout count:                         1
     Next lockout time:                     200
     Min lockout time:                      100
     Lockout reason:                        181

Release Information

Command introduced in Junos OS Release 18.2R1.

footer-navigation