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 the topology discovery translation table for the specified peer. 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 topology discovery peer relay agent. |
|
Number of access interfaces that have completed the topology discovery process and are associated with the peer. Each interface is in the Connected state. |
|
Number of access interfaces that are configured with topology discovery but have not completed the topology discovery process. Consequently these interfaces are not yet associated with any peer. Each interface is in the Connecting state. When topology discovery completes and the interface is associated with a peer, the state moves to Connected. |
|
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 the topology discovery process.
|
|
M:N redundancy state associated with the peer or interface.
|
|
Randomly generated, temporary transaction ID for the topology discovery query sent for the local access 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 (IPv4 Peer Details)
- show dhcp relay active-leasequery (IPv6 Peer Details)
- show dhcp relay active-leasequery (Peer Details Pseudowire Interfaces)
- 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 192.0.2.2 1000 0 198.51.100.2 1000 0 10:80:3::2 2 0
show dhcp relay active-leasequery (IPv4 Peer Details)
user@host> show dhcp relay active-leasequery peer 192.0.2.2 details Local Circuit-ID Remote Circuit-ID Local Interface Address State Redundancy State xid Remote ALQ Status ge-2/1/1.1020 ge-0/0/6.1020 192.0.2.235 Done Backup 0xb9dc35 Done
show dhcp relay active-leasequery (IPv6 Peer Details)
user@host> show dhcp relay active-leasequery peer 2001:db8:1:3::20 details Local Circuit-ID Remote Circuit-ID Local Interface Address State Redundancy State xid Remote ALQ Status ps3.0 ps3.0 2001:db8:80:1::1 Done Master 0x663345 Done ps4.0 ps4.0 2001:db8:90:1::2 Done Master 0xb68623 Done
show dhcp relay active-leasequery (Peer Details Pseudowire Interfaces)
user@host> show dhcp relay active-leasequery statistics interface peer 198.51.100.1 details Local Circuit-ID Remote Circuit-ID Local Interface Address State Redundancy State xid Remote ALQ Status ps1.0 ps1.0 198.51.100.1 Done Backup 0x5da771 Done ps2.0 ps2.0 198.51.100.1 Done Backup 0x7c7859 Unknown
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 : Yes State : Done 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 : Yes State : Done 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.