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 agent sensors

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show agent sensors

Description

Display information about sensors configured for Junos Telemetry Interface.

Note:

Junos telemetry interface was introduced in Junos OS Release 15.1F3 on MX Series routers with interfaces configured on MPC1 through MPC6E and on PTX Series routers with interfaces configured on FPC3. Starting in Junos OS Release 15.1F5, Junos Telemetry Interface is also supported on MPC7E, MPC8E, and MPC9E on MX Series routers.

Starting with Junos OS Release 16.1R3, FPC1, FPC2, and dual Routing Engines on PTX Series routers are also supported.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show agent sensors command. Output fields are listed in the approximate order in which they appear.

Table 1: show agent sensors Output Fields

Field Name

Field Description

Sensor Information

Information about sensors configured to monitor system resources and stream data.

Name

Name of configured sensor.

Note:

Junos OS Evolved Release 19.1R1 and later does not show output for generated child sensors.

Resource

Resource string used to configure and identify the system resource enabled to monitor and stream data.

Sensor-id

Numerical identifier of the sensor.

Server Information

Information about servers configured to collect sensor data.

Name

Name of server.

Scope-id

Numerical identifier of a scope.

Remote-Address

Destination IP address for exported packets.

Remote-port

Destination port for exported packets.

Profile information

Information about export profiles for sensors.

Name

Name of export profile.

Rep-interval

Interval, in seconds, at which the sensor generates data to export.

Address

Source address of exported packets.

Port

Source port of exported packets.

Format

Format of exported data message: GPB

DSCP

Configured DSCP value for exported packets.

Note:

The default value is 0. This value is displayed if you do not configure a DSCP value.

Note:

This field is not included with gRPC-based streaming.

Forwarding-class

Configured forwarding class for exported packets.

Note:

The default value is 0. This value is displayed if you do not configure a forwarding class.

Note:

This field is not included with gRPC-based streaming.

Loss-Priority

Configured loss priority for packets streamed through UDP (MX Series only): high, low, medium-high, medium-low

Note:

This field is not included with gRPC-based streaming.

Sample Output

show agent sensors (DDOS sensor)

content_copy zoom_out_map
user@host> show agent sensors
Sensor Information Sensor name     :__default_fabric_sensor__
        Resource         :/junos/system/linecard/fabric
        Object ID       :2277069355
        Sensor ID      :9288676508521003
        Polling Interval    :2000000000
Server Information Server name     :__default__snmp_server__
        Server ID :33
        Scope ID :0
        Remote-Address :0.0.0.0
        Remote-port :0
Profile Information: Profile
name     :__default_snmp_export_profile__
        profile ID :1
        Rep-interval :2000
        Local-Address :0.0.0.0
        Local-port :0
        Timestamp :0
        Format :1
        Transport :0
Sensor Information Sensor name :ddos
        Resource :/junos/system/linecard/ddos/
        Object ID :3440566888
        Sensor ID :21110626693866088
        Polling Interval :1000
        Server Information Server
            name :sserver
    Server ID :75
        Scope ID :0 Remote-
Address :10.0.0.1
Remote-port :2000
Local-Address         :10.0.0.10
        Local-port     :21111
        Timestamp         :1
        Format         :1    
        Transport         :0

show agent sensors (firewall filter sensor)

content_copy zoom_out_map
user@host> show agent sensors
Sensor Information :

  Name                                    :firewall-stats
  Resource                                :/junos/system/linecard/firewall/
  Sensor ID                               :93390914

Server Information :

   Name                                   :jvision-server
   Scope ID                               :0
   Remote-Address                         :160.1.1.1
   Remote-port                            :2001

Profile Information :

  Name                                    :export-common
  Rep-interval                            :2
  Address                                 :160.1.1.2
  Port                                    :1000
  Timestamp                               :1
  Format                                  :GPB
  Transport                               :UDP
  DSCP                                    :0
  Forwarding-class                        :0
  Loss-priority                           :high

show agent sensors (CPU memory sensor)

content_copy zoom_out_map
user@host> show agent sensors
Sensor Information : 
           
       Name                                 : se1                   
       Resource                             :/junos/system/cpu/memory/
       Version                              : 1.0                  
       Sensor-id                            : 114833               
       Subscription-ID                      : 562949953536145      
       Parent-Sensor-Name                   : Not applicable       
       Component(s)                         : PFE                  
 
 Server Information : 
           
        Name                                : ser1                  
        Scope-id                            : 0                     
        Remote-Address                      : 10.3.3.3              
        Remote-port                         : 6000                  
        Transport-protocol                  : UDP                   

 Profile Information : 
           
        Name                                : ex1                   
        Reporting-interval                  : 1                     
        Payload-size                        : 5000                  
        Address                             : 0.0.0.0               
        Port                                : 1000                  
        Timestamp                           : 1                     
        Format                              : GPB                   
        DSCP                                : 0                   
        Forwarding-class                    : assured-forwarding
        Loss-priority                       : high

show agent sensors (packet forwarding engine statistics)

content_copy zoom_out_map
user@host> show agent sensors
Sensor Information :

    Name                                    : packet_stats
    Resource                                : /junos/system/linecard/packet/usage/
    Version                                 : 1.0
    Sensor-id                               : 3699
    Subscription-ID                         : 562949953425011
    Parent-Sensor-Name                      : Not applicable
    Component(s)                            : PFE

    Server Information :
        Name                                : s1
        Scope-id                            : 0
        Remote-Address                      : 10.1.1.2
        Remote-port                         : 1000
        Transport-protocol                  : UDP

    Profile Information :
        Name                                : ep1
        Reporting-interval                  : 1
        Payload-size                        : 5000
        Address                             : 10.1.1.1
        Port                                : 1000
        Timestamp                           : 1
        Format                              : GPB
        DSCP                                : 255
        Forwarding-class                    : 255

show agent sensors (QFX10008 or QFX10016 switches with Junos OS Release 17.3R1 and later)

content_copy zoom_out_map
user@host> show agent sensors
 Sensor Information : 
            
     Name                                    : sensor_1000           
     Resource                                : /interfaces/interface/subinterfaces/ 
     Version                                 : 1.0                  
     Sensor-id                               : 539528115             
     Subscription-ID                         : 1000                 
     Parent-Sensor-Name                      : Not applicable       
     Component(s)                            : PFE,mib2d,xmlproxyd   
 
     Profile Information : 
            
         Name                                : export_1000           
         Reporting-interval                  : 6                     
         Payload-size                        : 5000                  
         Format                              : GPB                   
 
 Sensor Information : 
            
     Name                                    : sensor_1000_1_1       
     Resource                                : /junos/system/linecard/interface/logical/usage/ 
     Version                                 : 1.1                  
     Sensor-id                               : 3139259737            
     Subscription-ID                         : 1000                 
     Parent-Sensor-Name                      : sensor_1000          
     Component(s)                            : PFE                   
 
     Profile Information : 
            
         Name                                : export_1000           
         Reporting-interval                  : 6                     
         Payload-size                        : 5000                  
         Format                              : GPB                   
 
 Sensor Information : 
            
     Name                                    : sensor_1000_2_1       
     Resource                                : /interfaces/interface/subinterfaces/ 
     Version                                 : 1.0                  
     Sensor-id                               : 3139256665            
     Subscription-ID                         : 1000                 
     Parent-Sensor-Name                      : sensor_1000          
     Component(s)                            : mib2d                 
 
     Profile Information : 
            
         Name                                : export_1000           
         Reporting-interval                  : 6                     
         Payload-size                        : 5000                  
         Format                              : GPB                   
 
 Sensor Information : 
            
     Name                                    : sensor_1000_4_1       
     Resource                                : /interfaces/interface/subinterfaces/ 
     Version                                 : 1.0                  
     Sensor-id                               : 3139262809            
     Subscription-ID                         : 1000                 
     Parent-Sensor-Name                      : sensor_1000          
     Component(s)                            : xmlproxyd             
 
     Profile Information : 
            
         Name                                : export_1000           
         Reporting-interval                  : 6                     
         Payload-size                        : 5000                  
         Format                              : GPB

show agent sensors (Junos OS Evolved Release 19.1R1 and later)

content_copy zoom_out_map
user@host> show agent sensors
Sensor Information : 
           
    Name                                    : sensor_1000           
    Resource                                : /interfaces/interface[name='re0:mgmt-0']/ 
    Version                                 : 1.0                  
    Sensor-id                               : 562949953421313       
    Subscription-ID                         : 1000                 
    Component(s)                            : mib2d, mgmt-ethd                 
 
    Profile Information : 
           
        Name                                : export_1000           
        Reporting-interval                  : 2                     
        Payload-size                        : 5000                  
        Address                             : 0.0.0.0               
        Port                                : 1000                  
        Timestamp                           : ntp                   
        Format                              : GPB                   
        DSCP                                : 0                     
        Forwarding-class                    : 0  

Release Information

Statement introduced in Junos OS Release 15.1F3

footer-navigation