show agent sensors
Syntax
show agent sensors
Description
Display information about sensors configured for Junos Telemetry Interface.
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.
Field Name |
Field Description |
|---|---|
|
Information about sensors configured to monitor system resources and stream data. |
|
Name of configured sensor. Note:
Junos OS Evolved Release 19.1R1 and later does not show output for generated child sensors. |
|
Resource string used to configure and identify the system resource enabled to monitor and stream data. |
|
Numerical identifier of the sensor. |
|
Information about servers configured to collect sensor data. |
|
Name of server. |
|
Numerical identifier of a scope. |
|
Destination IP address for exported packets. |
|
Destination port for exported packets. |
|
Information about export profiles for sensors. |
|
Name of export profile. |
|
Interval, in seconds, at which the sensor generates data to export. |
|
Source address of exported packets. |
|
Source port of exported packets. |
|
Format of exported data message: |
|
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. |
|
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. |
|
Configured loss priority for packets streamed through UDP (MX
Series only): Note:
This field is not included with gRPC-based streaming. |
Sample Output
- show agent sensors (DDOS sensor)
- show agent sensors (firewall filter sensor)
- show agent sensors (CPU memory sensor)
- show agent sensors (packet forwarding engine statistics)
- show agent sensors (QFX10008 or QFX10016 switches with Junos OS Release 17.3R1 and later)
- show agent sensors (Junos OS Evolved Release 19.1R1 and later)
- show agent sensors (packet capture sensor)
show agent sensors (DDOS sensor)
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 :0show agent sensors (firewall filter sensor)
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)
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 : highshow agent sensors (packet forwarding engine statistics)
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 : 255show agent sensors (QFX10008 or QFX10016 switches with Junos OS Release 17.3R1 and later)
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)
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 show agent sensors (packet capture sensor)
user@host> show agent sensors
Sensor Information :
Name : sensor_1000
Resource : /junos/system/linecard/packet-capture/
Version : 1.0
Sensor-id : 539528115
Subscription-ID : 1000
Parent-Sensor-Name : Not applicable
Component(s) : PFE
Profile Information :
Name : export_1000
Reporting-interval : 2
Payload-size : 5000
Format : GPB
Release Information
Statement introduced in Junos OS Release 15.1F3