show dhcp relay active-leasequery
Syntax
show dhcp relay active-leasequery <details | summary> <interface interface-name> <logical-system logical-system-name> <peer ip-address> <routing-instance routing-instance-name> <statistics>
Description
Display information about DHCPv4 active leasequery peer relay agents.
Options
| details |
(Optional)
Display
detailed information about active leasequery peers. You must also specify
the |
| summary |
(Optional) Display summary information for all active leasequery peers. The
|
| interface interface-name |
(Optional) Display active leasequery statistics for a specific access interface. You must
also specify the |
| logical-system logical-system-name |
(Optional) Perform this operation on the specified logical system. If you do not specify a logical system name, statistics are displayed for the default logical system. |
| peer ip-address |
(Optional) Display information about active leasequery peer relay agents. You must also
specify either the |
| routing-instance routing-instance-name |
(Optional) Perform this operation on the specified routing instance. If you do not specify a routing instance name, statistics are displayed for the default routing instance. |
| statistics |
(Optional) Display active leasequery statistics for a specific active leasequery peer relay
agent or a specific access interface. You must also specify either the |
Required Privilege Level
view
Output Fields
Table 1 lists the output fields for the show dhcp relay active-leasequery command. Output fields are listed in the approximate order in which they appear.
Field Name |
Field Description |
|---|---|
|
IP address of peer relay agent. |
|
The number of DHCP servers or relays with which the local relay has successfully established an active leasequery session. |
|
The number of DHCP servers or relays with which the local relay is currently establishing an active leasequery session. |
|
The local access interface for the specified peer. |
|
The remote access interface on another peer relay agent that corresponds to the specified peer’s local access interface. |
|
IP address of the local access interface. |
|
State of active leasequery connection for the specified interface. |
|
M:N redundancy state associated with the peer or interface.
|
|
State of the active leasequery process.
|
|
Name of the specified address for which statistics are displayed. |
|
|
Indicates whether topology discovery has been configured on the specified peer or
interface, |
|
Number of DHCP bindings sent based on active leasequery for the specified interface or peer. For the interface, it’s the count of all bindings sent over the interface. For the peer, it’s the count of all bindings sent over all interfaces that belong to the peer. |
|
Number of DHCP bindings received based on active leasequery for the specified interface or peer. For the interface, it’s the count of all bindings received over the interface. For the peer, it’s the count of all bindings received over all interfaces that belong to the peer. |
|
Number of DHCP bindings successfully installed based on active leasequery for the specified interface or peer. For the interface, it’s the count of all bindings successfully installed over the interface. For the peer, it’s the count of all bindings successfully installed over all interfaces that belong to the peer. |
|
Number of DHCP bindings that failed to install based on active leasequery for the specified interface or peer. For the interface, it’s the count of all bindings that failed over the interface. For the peer, it’s the count of all bindings that failed over all interfaces that belong to the peer. |
|
Time stamp for the last time synchronization for subscribers occurred for the specified interface or peer. |
|
The maximum TCP received and transmitted bytes buffer for the jdhcpd process. The value is nonconfigurable and is always 65,535 (ffff). |
|
The transmit rate of bulk leasequery replies per second. It is the maximum number of bulk leasequery replies per one-second interval. The value is nonconfigurable and is always 60. For example, if 600 leases are synchronized to the peer, it takes 10 seconds to complete. |
|
Number of local access interfaces for the specified peer or interface. For the interface, the value is always 1. |
|
Number of remote access interfaces for the specified peer or interface. For the interface, the value is always 1. |
Sample Output
- show dhcp relay active-leasequery (Summary)
- show dhcp relay active-leasequery (Peer Statistics)
- show dhcp relay active-leasequery (Interface Statistics)
show dhcp relay active-leasequery (Summary)
user@host> show dhcp relay active-leasequery summary
Active Lease-query peer List:
peer Connected Peers Connecting Peers
2001:db8:80:3::1 1 0
10.80.3.1 1 0
show dhcp relay active-leasequery (Peer Statistics)
user@host> show dhcp relay active-leasequery statistics peer 192.0.2.2 routing-instance RI-test-vrf
peer : 192.0.2.2
Topology-Discover Configured : No
State : Connected
Bindings Sent : 111
Bindings Received : 0
Bindings Installed Successfully : 0
Bindings Failed to install : 0
Last Synchronization Time : 2019-02-15 16:28:36 IST
ALQ Transmit Buffer count : ffff
Max Leasequery Transmit Rate : 60
Local Interface count : 4
Remote Interface count : 4
show dhcp relay active-leasequery (Interface Statistics)
user@host> show dhcp relay active-leasequery statistics interface ge-2/1/1.1020 routing-instance R1-test-vrf
Interface : ge-2/1/1.1020
Topology-Discover Configured : No
State : Connected
Bindings Sent : 400
Bindings Received : 0
Bindings Installed Successfully : 0
Bindings Failed to install : 0
Last Synchronization Time : 2019-02-15 16:20:05 IST
ALQ Transmit Buffer count : ffff
Max Leasequery Transmit Rate : 60
Local Interface count : 1
Remote Interface count : 1
Release Information
Command introduced in Junos OS Release 19.2R1.