show network-agent statistics
Syntax
show network-agent statistics <brief | detail> <juniper> <gnmi> <all> <subscription-id identifier> <subscription-path path>
Description
Display details of all or specific sensor subscriptions configured for Junos telemetry interface (JTI). Subscriptions can be made using wither a Juniper API or a gRPC Network Management Interface (gNMI) API.
Options
brief | detail | (Optional) Display brief or detail level of output. |
juniper | (Optional) Displays subscriptions using the Juniper API. |
gnmi | (Optional) Displays subscriptions using the gRPC Network Management Interface (gNMI) API. |
all | (Optional) Display both Juniper and gNMI-based subscription statistics. |
subscription-id identifier | (Optional) Display subscription statistics specific to a subscription. Configure an identifier in the range from 0 through 4294967295. By default, information is displayed for all subscriptions. |
subscription-paths path | (Optional) Display subscription statistics specific
to one or more exact resource paths in a subscription; for example, |
Required Privilege Level
view
Output Fields
Table 1 lists the output fields for the show network-agent statistics
command. Output fields are listed in the approximate order in which
they appear.
Field Name |
Field Description |
---|---|
|
Numerical identifier of the sensor. |
|
Type of API used for the subscription.
Values are |
|
IP address of the client that is collecting sensor data. |
|
Time of subscription, which helps to correlate statistics information from the provisioning logs that are taken over a period of multiple subscriptions. |
|
Resource path configured for the
subscription; for example, |
|
Interval at which statistics are streamed for a subscription. |
|
Component for which statistics are provided. |
|
Average latency values per sensor, which helps to check the latency of any given sensor on the device. |
|
Approximate circular buffer usage per sensor, which provides an early alert if drops are likely for any specific sensor. |
|
Number of bytes transiting for this sensor. |
|
Number of packets transiting for this sensor. |
|
Number of drops for this sensor. |
|
Number of bytes sent for the subscription’s initial synchronization. |
|
Number of packets sent during the subscription’s initial synchronization. |
|
Number of drops during subscription’s initial synchronization. |
Sample Output
- show network-agent statistics (detailed output, no subscription present)
- show network-agent statistics (detailed output, subscription creation in progress)
- show network-agent statistics (detailed output, subscription created, system operating in a steady state)
- show network-agent statistics (detailed output, subscription deletion in progress)
show network-agent statistics (detailed output, no subscription present)
user@host> show network-agent statistics detail No sensors subscribed/available
show network-agent statistics (detailed output, subscription creation in progress)
user@host> show network-agent statistics detail Subscription not created completely, so not available for queries right now
show network-agent statistics (detailed output, subscription created, system operating in a steady state)
user@host> show network-agent statistics detail Subscription Details : Subscription ID : 1 Type : juniper Client IP : ipv6:::ffff:10.209.0.224:45888 Subscription Time : 2020-02-24 04:08:11 UTC Sensor Statistics : Sensor Path : /components/ Reporting Interval : 2 Component(s) : jkdsd,chassisd Average Latency : 5 Circular Buffer used : 12 Bytes Sent : 176530 Packets Sent : 21 Drops : 0 Child Sensor Statistics : Path : /components/ Component : chassisd Bytes Sent : 172773 Packets Sent : 14 Drops : 0 Child Sensor Statistics : Path : /components/ Component : jkdsd Bytes Sent : 3757 Packets Sent : 7 Drops : 0
show network-agent statistics (detailed output, subscription deletion in progress)
user@host> show network-agent statistics detail Unable to receive the subscription details
Release Information
Command introduced in Junos OS Release 19.2R1.