Junos Telemetry Interface
- OpenConfig sensor support for ZR and ZR+ optical transceivers on
MPC10 line cards (MX2010 and MX2020)—Junos OS supports data streaming new leaves for
ZR and ZR+ optics. You can create a subscription in INITIAL_SYNC or TARGET_DEFINED mode
using Juniper's proprietary Remote Procedure Call (gRPC) service or gRPC Network Management
Interface (gNMI). Use these resource paths in a subscription to stream data:
- /components/component/transceiver/state/ new leaves
fec-mode
,fec-status
,module-functional-type
,fault-condition
,fec-uncorrectable-blocks
, andfec-corrected-bits
- /components/component/transceiver/physical-channels/channel/state/
new leaves
output-frequency
andassociated-optical-channel
- /components/component/optical-channel/state/ leaves
frequency
andline-port
[For sensors, see Junos YANG Data Model Explorer. For CLI operational mode commands, see show interfaces diagnostics optics (Gigabit Ethernet, 10-Gigabit Ethernet, 40-Gigabit Ethernet, 100-Gigabit Ethernet, and Virtual Chassis Port) and show interfaces extensive.]
- /components/component/transceiver/state/ new leaves
-
Backup next-hop group sensor support (MX960)—You can use this feature to send telemetry data for the backup next-hop group from your device to the collector. The feature supports streaming and ON_CHANGE subscriptions through Juniper's proprietary Remote Procedure Call (gRPC) or gRPC Network Management Interface (gNMI). Enable the feature by adding the
backup-next-hop-group
configuration statement at the[edit system fib-streaming model ocaft]
hierarchy level.Removing this configuration disables the feature:
delete system fib-streaming model ocaft backup-next-hop-group
[See Configuring Prefix Filtering, prefix-list, show fib-streaming state, and Junos YANG Data Model Explorer.]
-
Stream data from a device to a collector using basic Junos Telemetry Interface infra sensors and new component environment sensors— Junos OS supports these new sensors:
Relative humidity sensor-
/components/component[name='FPC0']/properties/property[name='moisture']/
Two input and one output dry contact sensors-
/components/component[name='FPC0']/properties/property[name='alarm-port-output0'] /components/component[name='FPC0']/properties/property[name='alarm-port-input0'] /components/component[name='FPC0']/properties/property[name='alarm-port-input1']
You can also display the dry contact and relative humidity information using the operational mode commands
show chassis environment
andshow chassis craft-interface
.[For state sensors, see Junos YANG Data Model Explorer.