openjts icon indicating copy to clipboard operation
openjts copied to clipboard

OpenJTS support MX10K (mx10008)

Open nguyenduchoa37 opened this issue 6 months ago • 5 comments

Hi all.

Open JTS does support MX10K devices?

nguyenduchoa37 avatar Jun 23 '25 04:06 nguyenduchoa37

Hi @door7302

I already add two devices vmX and MX10008 to OpenJTS. Create full profile for two devices, with profile BGP, two devices have data normally, but with some profiles as PHYSICAL IF. INTERFACES MONITORING PROFILE, I only see data from vMX. How can I check what happens to MX10008 device or with OpenJTS ?

nguyenduchoa37 avatar Jun 24 '25 10:06 nguyenduchoa37

Could you share output of:

show network-agent statistics gnmi detail

door7302 avatar Jun 24 '25 10:06 door7302

Thanks. The output seems to be long, please be patient :) From vMX

root@TRANSIT> show network-agent statistics gnmi detail| no-more

Subscription Details : Subscription ID : 4
Type : gnmi
Client IP : ipv6:::ffff:10.98.0.177:46410 GNMI mode : STREAM
Subscription Time (UTC) : Mon Jun 23 17:05:17 2025

Sensor Statistics :
    Sensor Path                                    : /network-instances/network-instance/protocols/protocol/bgp/global/state/
    Reporting Interval                             : 60                   
    Component(s)                                   : rpd                  
    GNMI Sub Mode                                  : SAMPLE               
    Bytes Sent                                     : 731082               
    Packets Sent                                   : 1254                 
    Drops                                          : 0                    
    Average iLatency (ms)                          : 17                   
    Average Circular Buffer Used (%)               : 0                    
    Initial Sync Bytes Sent                        : 571                  
    Initial Sync Packets Sent                      : 1                    
    Initial Sync Drops                             : 0                    
    Initial Sync Average iLatency (ms)             : 21                   
    Initial Sync Average Circular Buffer Used (%)  : 0                    

Sensor Statistics :
    Sensor Path                                    : /network-instances/network-instance/protocols/protocol/bgp/peer-groups/peer-group/
    Reporting Interval                             : 60                   
    Component(s)                                   : rpd                  
    GNMI Sub Mode                                  : SAMPLE               
    Bytes Sent                                     : 4618482              
    Packets Sent                                   : 3762                 
    Drops                                          : 0                    
    Average iLatency (ms)                          : 11                   
    Average Circular Buffer Used (%)               : 0                    
    Initial Sync Bytes Sent                        : 3647                 
    Initial Sync Packets Sent                      : 3                    
    Initial Sync Drops                             : 0                    
    Initial Sync Average iLatency (ms)             : 16                   
    Initial Sync Average Circular Buffer Used (%)  : 0                    

Sensor Statistics :
    Sensor Path                                    : /network-instances/network-instance/protocols/protocol/bgp/neighbors/neighbor/afi-safis/afi-safi/
    Reporting Interval                             : 60                   
    Component(s)                                   : rpd                  
    GNMI Sub Mode                                  : SAMPLE               
    Bytes Sent                                     : 1833348              
    Packets Sent                                   : 1254                 
    Drops                                          : 0                    
    Average iLatency (ms)                          : 6                    
    Average Circular Buffer Used (%)               : 0                    
    Initial Sync Bytes Sent                        : 1450                 
    Initial Sync Packets Sent                      : 1                    
    Initial Sync Drops                             : 0                    
    Initial Sync Average iLatency (ms)             : 12                   
    Initial Sync Average Circular Buffer Used (%)  : 0                    

Sensor Statistics :
    Sensor Path                                    : /network-instances/network-instance/protocols/protocol/bgp/neighbors/neighbor/state/description/
    Reporting Interval                             : 60                   
    Component(s)                                   : rpd                  
    GNMI Sub Mode                                  : SAMPLE               
    Bytes Sent                                     : 580602               
    Packets Sent                                   : 1254                 
    Drops                                          : 0                    
    Average iLatency (ms)                          : 4                    
    Average Circular Buffer Used (%)               : 0                    
    Initial Sync Bytes Sent                        : 451                  
    Initial Sync Packets Sent                      : 1                    
    Initial Sync Drops                             : 0                    
    Initial Sync Average iLatency (ms)             : 19                   
    Initial Sync Average Circular Buffer Used (%)  : 0                    

Sensor Statistics :
    Sensor Path                                    : /network-instances/network-instance/protocols/protocol/bgp/neighbors/neighbor/state/peer-as/
    Reporting Interval                             : 60                   
    Component(s)                                   : rpd                  
    GNMI Sub Mode                                  : SAMPLE               
    Bytes Sent                                     : 559284               
    Packets Sent                                   : 1254                 
    Drops                                          : 0                    
    Average iLatency (ms)                          : 3                    
    Average Circular Buffer Used (%)               : 0                    
    Initial Sync Bytes Sent                        : 434                  
    Initial Sync Packets Sent                      : 1                    
    Initial Sync Drops                             : 0                    
    Initial Sync Average iLatency (ms)             : 18                   
    Initial Sync Average Circular Buffer Used (%)  : 0                    

Sensor Statistics :
    Sensor Path                                    : /network-instances/network-instance/protocols/protocol/bgp/neighbors/neighbor/state/queues/
    Reporting Interval                             : 60                   
    Component(s)                                   : rpd                  
    GNMI Sub Mode                                  : SAMPLE               
    Bytes Sent                                     : 611952               
    Packets Sent                                   : 1254                 
    Drops                                          : 0                    
    Average iLatency (ms)                          : 1                    
    Average Circular Buffer Used (%)               : 0                    
    Initial Sync Bytes Sent                        : 476                  
    Initial Sync Packets Sent                      : 1                    
    Initial Sync Drops                             : 0                    
    Initial Sync Average iLatency (ms)             : 16                   
    Initial Sync Average Circular Buffer Used (%)  : 0                    

Sensor Statistics :
    Sensor Path                                    : /network-instances/network-instance/protocols/protocol/bgp/neighbors/neighbor/state/session-state/
    Reporting Interval                             : 0                    
    Component(s)                                   : rpd                  
    GNMI Sub Mode                                  : ON_CHANGE            
    Bytes Sent                                     : 1044465              
    Packets Sent                                   : 1525                 
    Drops                                          : 0                    
    Average iLatency (ms)                          : 2                    
    Average Circular Buffer Used (%)               : 0                    
    Initial Sync Bytes Sent                        : 457                  
    Initial Sync Packets Sent                      : 1                    
    Initial Sync Drops                             : 0                    
    Initial Sync Average iLatency (ms)             : 12                   
    Initial Sync Average Circular Buffer Used (%)  : 0                    

Sensor Statistics :
    Sensor Path                                    : /components/component/
    Reporting Interval                             : 60                   
    Component(s)                                   : PFE,chassisd,jkdsd   
    GNMI Sub Mode                                  : SAMPLE               
    Bytes Sent                                     : 20272164             
    Packets Sent                                   : 55176                
    Drops                                          : 0                    
    Average iLatency (ms)                          : 10                   
    Average Circular Buffer Used (%)               : 0                    
    Initial Sync Bytes Sent                        : 15594                
    Initial Sync Packets Sent                      : 44                   
    Initial Sync Drops                             : 0                    
    Initial Sync Average iLatency (ms)             : 42                   
    Initial Sync Average Circular Buffer Used (%)  : 0                    

    Child Sensor Statistics :
        Path                               : /components/component/
        Node-name                          : TRANSIT              
        Component                          : chassisd             
        GNMI-SubMode                       : SAMPLE               
        Bytes Sent                         : 19532305             
        Packets Sent                       : 53922                
        Drops                              : 0                    
        Average iLatency (ms)              : 9                    
        Initial Sync Bytes Sent            : 15017                
        Initial Sync Packets Sent          : 43                   
        Initial Sync Drops                 : 0                    
        Initial Sync Average iLatency (ms) : 42                   

    Child Sensor Statistics :
        Path                               : /components/component/
        Node-name                          : TRANSIT              
        Component                          : jkdsd                
        GNMI-SubMode                       : SAMPLE               
        Bytes Sent                         : 739859               
        Packets Sent                       : 1254                 
        Drops                              : 0                    
        Average iLatency (ms)              : 31                   
        Initial Sync Bytes Sent            : 577                  
        Initial Sync Packets Sent          : 1                    
        Initial Sync Drops                 : 0                    
        Initial Sync Average iLatency (ms) : 0                    

Sensor Statistics :
    Sensor Path                                    : /system/processes/process/state/
    Reporting Interval                             : 60                   
    Component(s)                                   : jkdsd                
    GNMI Sub Mode                                  : SAMPLE               
    Bytes Sent                                     : 140799713            
    Packets Sent                                   : 274501               
    Drops                                          : 0                    
    Average iLatency (ms)                          : 21                   
    Average Circular Buffer Used (%)               : 0                    
    Initial Sync Bytes Sent                        : 112306               
    Initial Sync Packets Sent                      : 226                  
    Initial Sync Drops                             : 0                    
    Initial Sync Average iLatency (ms)             : 20                   
    Initial Sync Average Circular Buffer Used (%)  : 0                    

Sensor Statistics :
    Sensor Path                                    : /junos/events/event/ 
    Reporting Interval                             : 0                    
    Component(s)                                   : eventd               
    GNMI Sub Mode                                  : ON_CHANGE            
    Bytes Sent                                     : 894416329            
    Packets Sent                                   : 2341518              
    Drops                                          : 0                    
    Average iLatency (ms)                          : 6                    
    Average Circular Buffer Used (%)               : 0                    
    Initial Sync Bytes Sent                        : 0                    
    Initial Sync Packets Sent                      : 0                    
    Initial Sync Drops                             : 0                    
    Initial Sync Average iLatency (ms)             : 0                    
    Initial Sync Average Circular Buffer Used (%)  : 0                    

Sensor Statistics :
    Sensor Path                                    : /interfaces/interface/subinterfaces/subinterface/state/counters/
    Reporting Interval                             : 60                   
    Component(s)                                   : PFE,xmlproxyd        
    GNMI Sub Mode                                  : SAMPLE               
    Bytes Sent                                     : 12000301             
    Packets Sent                                   : 26034                
    Drops                                          : 0                    
    Average iLatency (ms)                          : 20                   
    Average Circular Buffer Used (%)               : 0                    
    Initial Sync Bytes Sent                        : 1431                 
    Initial Sync Packets Sent                      : 3                    
    Initial Sync Drops                             : 0                    
    Initial Sync Average iLatency (ms)             : 21                   
    Initial Sync Average Circular Buffer Used (%)  : 0                    

    Child Sensor Statistics :
        Path                               : /junos/system/linecard/interface/logical/usage/
        Node-name                          : TRANSIT              
        Component                          : PFE                  
        Component-ID                       : 0                    
        SubComponent-ID                    : 0                    
        GNMI-SubMode                       : SAMPLE               
        Bytes Sent                         : 10164211             
        Packets Sent                       : 22284                
        Drops                              : 0                    
        Average iLatency (ms)              : 0                    
        Initial Sync Bytes Sent            : 0                    
        Initial Sync Packets Sent          : 0                    
        Initial Sync Drops                 : 0                    
        Initial Sync Average iLatency (ms) : 0                    

    Child Sensor Statistics :
        Path                               : /interfaces/interface/subinterfaces/subinterface/state/counters/
        Node-name                          : TRANSIT              
        Component                          : xmlproxyd            
        GNMI-SubMode                       : SAMPLE               
        Bytes Sent                         : 1836090              
        Packets Sent                       : 3750                 
        Drops                              : 0                    
        Average iLatency (ms)              : 20                   
        Initial Sync Bytes Sent            : 0                    
        Initial Sync Packets Sent          : 0                    
        Initial Sync Drops                 : 0                    
        Initial Sync Average iLatency (ms) : 0                    

Sensor Statistics :
    Sensor Path                                    : /interfaces/interface/state/
    Reporting Interval                             : 30                   
    Component(s)                                   : PFE,PFE,mib2d,chassisd,xmlproxyd
    GNMI Sub Mode                                  : SAMPLE               
    Bytes Sent                                     : 75178058             
    Packets Sent                                   : 157653               
    Drops                                          : 0                    
    Average iLatency (ms)                          : 12                   
    Average Circular Buffer Used (%)               : 0                    
    Initial Sync Bytes Sent                        : 24750                
    Initial Sync Packets Sent                      : 53                   
    Initial Sync Drops                             : 0                    
    Initial Sync Average iLatency (ms)             : 14                   
    Initial Sync Average Circular Buffer Used (%)  : 0                    

    Child Sensor Statistics :
        Path                               : /junos/system/linecard/interface/queue/
        Node-name                          : TRANSIT              
        Component                          : PFE                  
        Component-ID                       : 0                    
        SubComponent-ID                    : 0                    
        GNMI-SubMode                       : SAMPLE               
        Bytes Sent                         : 3703846              
        Packets Sent                       : 12380                
        Drops                              : 0                    
        Average iLatency (ms)              : 0                    
        Initial Sync Bytes Sent            : 72214                
        Initial Sync Packets Sent          : 10                   
        Initial Sync Drops                 : 0                    
        Initial Sync Average iLatency (ms) : 0                    

    Child Sensor Statistics :
        Path                               : /junos/system/linecard/interface/traffic/
        Node-name                          : TRANSIT              
        Component                          : PFE                  
        Component-ID                       : 0                    
        SubComponent-ID                    : 0                    
        GNMI-SubMode                       : SAMPLE               
        Bytes Sent                         : 7539420              
        Packets Sent                       : 12380                
        Drops                              : 0                    
        Average iLatency (ms)              : 0                    
        Initial Sync Bytes Sent            : 12260                
        Initial Sync Packets Sent          : 10                   
        Initial Sync Drops                 : 0                    
        Initial Sync Average iLatency (ms) : 0                    

    Child Sensor Statistics :
        Path                               : /interfaces/interface/state/
        Node-name                          : TRANSIT              
        Component                          : chassisd             
        GNMI-SubMode                       : SAMPLE               
        Bytes Sent                         : 3902482              
        Packets Sent                       : 17549                
        Drops                              : 0                    
        Average iLatency (ms)              : 2                    
        Initial Sync Bytes Sent            : 1456                 
        Initial Sync Packets Sent          : 7                    
        Initial Sync Drops                 : 0                    
        Initial Sync Average iLatency (ms) : 0                    

    Child Sensor Statistics :
        Path                               : /interfaces/interface/state/
        Node-name                          : TRANSIT              
        Component                          : mib2d                
        GNMI-SubMode                       : SAMPLE               
        Bytes Sent                         : 57255132             
        Packets Sent                       : 107844               
        Drops                              : 0                    
        Average iLatency (ms)              : 14                   
        Initial Sync Bytes Sent            : 22227                
        Initial Sync Packets Sent          : 43                   
        Initial Sync Drops                 : 0                    
        Initial Sync Average iLatency (ms) : 12                   

    Child Sensor Statistics :
        Path                               : /interfaces/interface/state/
        Node-name                          : TRANSIT              
        Component                          : xmlproxyd            
        GNMI-SubMode                       : SAMPLE               
        Bytes Sent                         : 2777178              
        Packets Sent                       : 7500                 
        Drops                              : 0                    
        Average iLatency (ms)              : 3                    
        Initial Sync Bytes Sent            : 1067                 
        Initial Sync Packets Sent          : 3                    
        Initial Sync Drops                 : 0                    
        Initial Sync Average iLatency (ms) : 3                    

root@TRANSIT> exit

From MX10K Last login: Tue Jun 24 13:45:23 2025 from 10.101.1.5 --- JUNOS 24.2R2.18 Kernel 64-bit JNPR-15.0-20241123.ec94286_buil {master} juniper@MX10K_PE> show network-agent statistics gnmi detail| no-more

Subscription Details : Subscription ID : 8
Type : gnmi
Client IP : ipv6:::ffff:10.98.0.177:60988 GNMI mode : STREAM
Subscription Time (UTC) : Tue Jun 24 10:31:47 2025

Sensor Statistics :
    Sensor Path                                    : /network-instances/network-instance/protocols/protocol/bgp/global/state/
    Reporting Interval                             : 60                   
    Node-name                                      : MX10K_PE             
    Component(s)                                   : rpd                  
    GNMI Sub Mode                                  : SAMPLE               
    Bytes Sent                                     : 35109416             
    Packets Sent                                   : 61910                
    Drops                                          : 0                    
    Average iLatency (ms)                          : 9                    
    Average Circular Buffer Used (%)               : 0                    
    Initial Sync Bytes Sent                        : 166297               
    Initial Sync Packets Sent                      : 301                  
    Initial Sync Drops                             : 0                    
    Initial Sync Average iLatency (ms)             : 8                    
    Initial Sync Average Circular Buffer Used (%)  : 0                    

Sensor Statistics :
    Sensor Path                                    : /network-instances/network-instance/protocols/protocol/bgp/peer-groups/peer-group/
    Reporting Interval                             : 60                   
    Node-name                                      : MX10K_PE             
    Component(s)                                   : rpd                  
    GNMI Sub Mode                                  : SAMPLE               
    Bytes Sent                                     : 10553475             
    Packets Sent                                   : 7380                 
    Drops                                          : 0                    
    Average iLatency (ms)                          : 8                    
    Average Circular Buffer Used (%)               : 0                    
    Initial Sync Bytes Sent                        : 50704                
    Initial Sync Packets Sent                      : 35                   
    Initial Sync Drops                             : 0                    
    Initial Sync Average iLatency (ms)             : 11                   
    Initial Sync Average Circular Buffer Used (%)  : 0                    

Sensor Statistics :
    Sensor Path                                    : /network-instances/network-instance/protocols/protocol/bgp/neighbors/neighbor/afi-safis/afi-safi/
    Reporting Interval                             : 60                   
    Node-name                                      : MX10K_PE             
    Component(s)                                   : rpd                  
    GNMI Sub Mode                                  : SAMPLE               
    Bytes Sent                                     : 12158625             
    Packets Sent                                   : 6355                 
    Drops                                          : 0                    
    Average iLatency (ms)                          : 8                    
    Average Circular Buffer Used (%)               : 0                    
    Initial Sync Bytes Sent                        : 58579                
    Initial Sync Packets Sent                      : 30                   
    Initial Sync Drops                             : 0                    
    Initial Sync Average iLatency (ms)             : 14                   
    Initial Sync Average Circular Buffer Used (%)  : 0                    

Sensor Statistics :
    Sensor Path                                    : /network-instances/network-instance/protocols/protocol/bgp/neighbors/neighbor/state/description/
    Reporting Interval                             : 60                   
    Node-name                                      : MX10K_PE             
    Component(s)                                   : rpd                  
    GNMI Sub Mode                                  : SAMPLE               
    Bytes Sent                                     : 998835               
    Packets Sent                                   : 2050                 
    Drops                                          : 0                    
    Average iLatency (ms)                          : 7                    
    Average Circular Buffer Used (%)               : 0                    
    Initial Sync Bytes Sent                        : 4458                 
    Initial Sync Packets Sent                      : 9                    
    Initial Sync Drops                             : 0                    
    Initial Sync Average iLatency (ms)             : 9                    
    Initial Sync Average Circular Buffer Used (%)  : 0                    

Sensor Statistics :
    Sensor Path                                    : /network-instances/network-instance/protocols/protocol/bgp/neighbors/neighbor/state/peer-as/
    Reporting Interval                             : 60                   
    Node-name                                      : MX10K_PE             
    Component(s)                                   : rpd                  
    GNMI Sub Mode                                  : SAMPLE               
    Bytes Sent                                     : 957220               
    Packets Sent                                   : 2050                 
    Drops                                          : 0                    
    Average iLatency (ms)                          : 7                    
    Average Circular Buffer Used (%)               : 0                    
    Initial Sync Bytes Sent                        : 4263                 
    Initial Sync Packets Sent                      : 9                    
    Initial Sync Drops                             : 0                    
    Initial Sync Average iLatency (ms)             : 9                    
    Initial Sync Average Circular Buffer Used (%)  : 0                    

Sensor Statistics :
    Sensor Path                                    : /network-instances/network-instance/protocols/protocol/bgp/neighbors/neighbor/state/queues/
    Reporting Interval                             : 60                   
    Node-name                                      : MX10K_PE             
    Component(s)                                   : rpd                  
    GNMI Sub Mode                                  : SAMPLE               
    Bytes Sent                                     : 1033890              
    Packets Sent                                   : 2050                 
    Drops                                          : 0                    
    Average iLatency (ms)                          : 7                    
    Average Circular Buffer Used (%)               : 0                    
    Initial Sync Bytes Sent                        : 4639                 
    Initial Sync Packets Sent                      : 9                    
    Initial Sync Drops                             : 0                    
    Initial Sync Average iLatency (ms)             : 9                    
    Initial Sync Average Circular Buffer Used (%)  : 0                    

Sensor Statistics :
    Sensor Path                                    : /network-instances/network-instance/protocols/protocol/bgp/neighbors/neighbor/state/session-state/
    Reporting Interval                             : 0                    
    Node-name                                      : MX10K_PE             
    Component(s)                                   : rpd                  
    GNMI Sub Mode                                  : ON_CHANGE            
    Bytes Sent                                     : 2357436              
    Packets Sent                                   : 4527                 
    Drops                                          : 0                    
    Average iLatency (ms)                          : 1                    
    Average Circular Buffer Used (%)               : 0                    
    Initial Sync Bytes Sent                        : 4473                 
    Initial Sync Packets Sent                      : 9                    
    Initial Sync Drops                             : 0                    
    Initial Sync Average iLatency (ms)             : 9                    
    Initial Sync Average Circular Buffer Used (%)  : 0                    

Sensor Statistics :
    Sensor Path                                    : /junos/system/linecard/ddos/
    Reporting Interval                             : 60                   
    Node-name                                      : MX10K_PE             
    Component(s)                                   : aftd-trio            
    Component ID                                   : 1                    
    GNMI Sub Mode                                  : SAMPLE               
    Bytes Sent                                     : 69518168             
    Packets Sent                                   : 219025               
    Drops                                          : 0                    
    Average iLatency (ms)                          : 59                   
    Average Circular Buffer Used (%)               : 0                    
    Initial Sync Bytes Sent                        : 0                    
    Initial Sync Packets Sent                      : 0                    
    Initial Sync Drops                             : 0                    
    Initial Sync Average iLatency (ms)             : 0                    
    Initial Sync Average Circular Buffer Used (%)  : 0                    

Sensor Statistics :
    Sensor Path                                    : /junos/system/linecard/firewall/
    Reporting Interval                             : 60                   
    Node-name                                      : MX10K_PE             
    Component(s)                                   : aftd-trio            
    Component ID                                   : 1                    
    GNMI Sub Mode                                  : SAMPLE               
    Bytes Sent                                     : 1014080              
    Packets Sent                                   : 4060                 
    Drops                                          : 0                    
    Average iLatency (ms)                          : 15                   
    Average Circular Buffer Used (%)               : 0                    
    Initial Sync Bytes Sent                        : 0                    
    Initial Sync Packets Sent                      : 0                    
    Initial Sync Drops                             : 0                    
    Initial Sync Average iLatency (ms)             : 0                    
    Initial Sync Average Circular Buffer Used (%)  : 0                    

Sensor Statistics :
    Sensor Path                                    : /junos/system/linecard/packet/usage/
    Reporting Interval                             : 60                   
    Node-name                                      : MX10K_PE             
    Component(s)                                   : picd,aftd-trio       
    GNMI Sub Mode                                  : SAMPLE               
    Bytes Sent                                     : 12769998             
    Packets Sent                                   : 46252                
    Drops                                          : 0                    
    Average iLatency (ms)                          : 18                   
    Average Circular Buffer Used (%)               : 0                    
    Initial Sync Bytes Sent                        : 0                    
    Initial Sync Packets Sent                      : 0                    
    Initial Sync Drops                             : 0                    
    Initial Sync Average iLatency (ms)             : 0                    
    Initial Sync Average Circular Buffer Used (%)  : 0                    

    Child Sensor Statistics :
        Path                               : /junos/system/linecard/packet/usage/
        Node-name                          : MX10K_PE             
        Component                          : aftd-trio            
        Component-ID                       : 1                    
        GNMI-SubMode                       : SAMPLE               
        Bytes Sent                         : 2441392              
        Packets Sent                       : 7917                 
        Drops                              : 0                    
        Average iLatency (ms)              : 19                   
        Initial Sync Bytes Sent            : 0                    
        Initial Sync Packets Sent          : 0                    
        Initial Sync Drops                 : 0                    
        Initial Sync Average iLatency (ms) : 0                    

    Child Sensor Statistics :
        Path                               : /junos/system/linecard/packet/usage/
        Node-name                          : MX10K_PE             
        Component                          : picd                 
        Component-ID                       : 1                    
        GNMI-SubMode                       : SAMPLE               
        Bytes Sent                         : 10328606             
        Packets Sent                       : 38335                
        Drops                              : 0                    
        Average iLatency (ms)              : 18                   
        Initial Sync Bytes Sent            : 0                    
        Initial Sync Packets Sent          : 0                    
        Initial Sync Drops                 : 0                    
        Initial Sync Average iLatency (ms) : 0                    

Sensor Statistics :
    Sensor Path                                    : /junos/system/cmerror/counters/
    Reporting Interval                             : 30                   
    Node-name                                      : MX10K                
    Component(s)                                   : fpc1/resiliencyd     
    Component ID                                   : 1                    
    GNMI Sub Mode                                  : SAMPLE               
    Bytes Sent                                     : 64650                
    Packets Sent                                   : 410                  
    Drops                                          : 0                    
    Average iLatency (ms)                          : 1                    
    Average Circular Buffer Used (%)               : 0                    
    Initial Sync Bytes Sent                        : 0                    
    Initial Sync Packets Sent                      : 0                    
    Initial Sync Drops                             : 0                    
    Initial Sync Average iLatency (ms)             : 0                    
    Initial Sync Average Circular Buffer Used (%)  : 0                    

Sensor Statistics :
    Sensor Path                                    : /system/processes/process/state/
    Reporting Interval                             : 60                   
    Node-name                                      : MX10K_PE             
    Component(s)                                   : jkdsd                
    GNMI Sub Mode                                  : SAMPLE               
    Bytes Sent                                     : 31711723             
    Packets Sent                                   : 61666                
    Drops                                          : 0                    
    Average iLatency (ms)                          : 8                    
    Average Circular Buffer Used (%)               : 0                    
    Initial Sync Bytes Sent                        : 151983               
    Initial Sync Packets Sent                      : 306                  
    Initial Sync Drops                             : 0                    
    Initial Sync Average iLatency (ms)             : 10                   
    Initial Sync Average Circular Buffer Used (%)  : 0                    

Sensor Statistics :
    Sensor Path                                    : /junos/events/event/ 
    Reporting Interval                             : 0                    
    Node-name                                      : MX10K_PE             
    Component(s)                                   : eventd               
    GNMI Sub Mode                                  : ON_CHANGE            
    Bytes Sent                                     : 11535154             
    Packets Sent                                   : 25253                
    Drops                                          : 0                    
    Average iLatency (ms)                          : 0                    
    Average Circular Buffer Used (%)               : 0                    
    Initial Sync Bytes Sent                        : 0                    
    Initial Sync Packets Sent                      : 0                    
    Initial Sync Drops                             : 0                    
    Initial Sync Average iLatency (ms)             : 0                    
    Initial Sync Average Circular Buffer Used (%)  : 0                    

Sensor Statistics :
    Sensor Path                                    : /interfaces/interface/ethernet/state/
    Reporting Interval                             : 60                   
    Node-name                                      : MX10K_PE             
    Component(s)                                   : mib2d                
    GNMI Sub Mode                                  : SAMPLE               
    Bytes Sent                                     : 7893076              
    Packets Sent                                   : 14760                
    Drops                                          : 0                    
    Average iLatency (ms)                          : 111                  
    Average Circular Buffer Used (%)               : 0                    
    Initial Sync Bytes Sent                        : 68073                
    Initial Sync Packets Sent                      : 71                   
    Initial Sync Drops                             : 0                    
    Initial Sync Average iLatency (ms)             : 76                   
    Initial Sync Average Circular Buffer Used (%)  : 0                    

Sensor Statistics :
    Sensor Path                                    : /junos/system/linecard/optics/
    Reporting Interval                             : 30                   
    Node-name                                      : MX10K_PE             
    Component(s)                                   : picd                 
    Component ID                                   : 1                    
    GNMI Sub Mode                                  : SAMPLE               
    Bytes Sent                                     : 15411232             
    Packets Sent                                   : 12710                
    Drops                                          : 0                    
    Average iLatency (ms)                          : 6                    
    Average Circular Buffer Used (%)               : 0                    
    Initial Sync Bytes Sent                        : 0                    
    Initial Sync Packets Sent                      : 0                    
    Initial Sync Drops                             : 0                    
    Initial Sync Average iLatency (ms)             : 0                    
    Initial Sync Average Circular Buffer Used (%)  : 0                    

Sensor Statistics :
    Sensor Path                                    : /components/component/
    Reporting Interval                             : 30                   
    Node-name                                      : MX10K_PE,MX10K_PE    
    Component(s)                                   : jkdsd,aftd-trio,aftd-trio,aftd-trio,aftd-trio,picd,picd,picd,picd,chassisd,aftd-trio,aftd-trio,trio-xqss,packetio,packetio
    GNMI Sub Mode                                  : SAMPLE               
    Bytes Sent                                     : 161459901            
    Packets Sent                                   : 296807               
    Drops                                          : 0                    
    Average iLatency (ms)                          : 5                    
    Average Circular Buffer Used (%)               : 0                    
    Initial Sync Bytes Sent                        : 335095               
    Initial Sync Packets Sent                      : 589                  
    Initial Sync Drops                             : 0                    
    Initial Sync Average iLatency (ms)             : 4                    
    Initial Sync Average Circular Buffer Used (%)  : 0                    

    Child Sensor Statistics :
        Path                               : /components/component/integrated-circuit/pipeline-counters/drop/
        Node-name                          : MX10K_PE             
        Component                          : aftd-trio            
        Component-ID                       : 1                    
        GNMI-SubMode                       : SAMPLE               
        Bytes Sent                         : 1242320              
        Packets Sent                       : 2821                 
        Drops                              : 0                    
        Average iLatency (ms)              : 0                    
        Initial Sync Bytes Sent            : 0                    
        Initial Sync Packets Sent          : 0                    
        Initial Sync Drops                 : 0                    
        Initial Sync Average iLatency (ms) : 0                    

    Child Sensor Statistics :
        Path                               : /components/component/integrated-circuit/pipeline-counters/drop/
        Node-name                          : MX10K_PE             
        Component                          : packetio             
        Component-ID                       : 1                    
        GNMI-SubMode                       : SAMPLE               
        Bytes Sent                         : 700326               
        Packets Sent                       : 2849                 
        Drops                              : 0                    
        Average iLatency (ms)              : 0                    
        Initial Sync Bytes Sent            : 0                    
        Initial Sync Packets Sent          : 0                    
        Initial Sync Drops                 : 0                    
        Initial Sync Average iLatency (ms) : 0                    

    Child Sensor Statistics :
        Path                               : /components/component/integrated-circuit/pipeline-counters/drop/queueing-block/
        Node-name                          : MX10K_PE             
        Component                          : aftd-trio            
        Component-ID                       : 1                    
        GNMI-SubMode                       : SAMPLE               
        Bytes Sent                         : 743414               
        Packets Sent                       : 2821                 
        Drops                              : 0                    
        Average iLatency (ms)              : 0                    
        Initial Sync Bytes Sent            : 0                    
        Initial Sync Packets Sent          : 0                    
        Initial Sync Drops                 : 0                    
        Initial Sync Average iLatency (ms) : 0                    

    Child Sensor Statistics :
        Path                               : /components/component/integrated-circuit/pipeline-counters/drop/queueing-block/
        Node-name                          : MX10K_PE             
        Component                          : aftd-trio            
        Component-ID                       : 1                    
        GNMI-SubMode                       : SAMPLE               
        Bytes Sent                         : 999108               
        Packets Sent                       : 2822                 
        Drops                              : 0                    
        Average iLatency (ms)              : 1                    
        Initial Sync Bytes Sent            : 0                    
        Initial Sync Packets Sent          : 0                    
        Initial Sync Drops                 : 0                    
        Initial Sync Average iLatency (ms) : 0                    

    Child Sensor Statistics :
        Path                               : /components/component/integrated-circuit/pipeline-counters/packet/
        Node-name                          : MX10K_PE             
        Component                          : aftd-trio            
        Component-ID                       : 1                    
        GNMI-SubMode                       : SAMPLE               
        Bytes Sent                         : 1290803              
        Packets Sent                       : 4434                 
        Drops                              : 0                    
        Average iLatency (ms)              : 3                    
        Initial Sync Bytes Sent            : 0                    
        Initial Sync Packets Sent          : 0                    
        Initial Sync Drops                 : 0                    
        Initial Sync Average iLatency (ms) : 0                    

    Child Sensor Statistics :
        Path                               : /components/component/integrated-circuit/pipeline-counters/packet/
        Node-name                          : MX10K_PE             
        Component                          : aftd-trio            
        Component-ID                       : 1                    
        GNMI-SubMode                       : SAMPLE               
        Bytes Sent                         : 1836140              
        Packets Sent                       : 5240                 
        Drops                              : 0                    
        Average iLatency (ms)              : 4                    
        Initial Sync Bytes Sent            : 0                    
        Initial Sync Packets Sent          : 0                    
        Initial Sync Drops                 : 0                    
        Initial Sync Average iLatency (ms) : 0                    

    Child Sensor Statistics :
        Path                               : /components/component/integrated-circuit/pipeline-counters/packet/
        Node-name                          : MX10K_PE             
        Component                          : packetio             
        Component-ID                       : 1                    
        GNMI-SubMode                       : SAMPLE               
        Bytes Sent                         : 1609570              
        Packets Sent                       : 5291                 
        Drops                              : 0                    
        Average iLatency (ms)              : 2                    
        Initial Sync Bytes Sent            : 0                    
        Initial Sync Packets Sent          : 0                    
        Initial Sync Drops                 : 0                    
        Initial Sync Average iLatency (ms) : 0                    

    Child Sensor Statistics :
        Path                               : /components/component/integrated-circuit/pipeline-counters/packet/queueing-block/
        Node-name                          : MX10K_PE             
        Component                          : aftd-trio            
        Component-ID                       : 1                    
        GNMI-SubMode                       : SAMPLE               
        Bytes Sent                         : 1962962              
        Packets Sent                       : 2822                 
        Drops                              : 0                    
        Average iLatency (ms)              : 5                    
        Initial Sync Bytes Sent            : 0                    
        Initial Sync Packets Sent          : 0                    
        Initial Sync Drops                 : 0                    
        Initial Sync Average iLatency (ms) : 0                    

    Child Sensor Statistics :
        Path                               : /components/component/integrated-circuit/pipeline-counters/packet/queueing-block/
        Node-name                          : MX10K_PE             
        Component                          : trio-xqss            
        Component-ID                       : 1                    
        GNMI-SubMode                       : SAMPLE               
        Bytes Sent                         : 1294896              
        Packets Sent                       : 2856                 
        Drops                              : 0                    
        Average iLatency (ms)              : 0                    
        Initial Sync Bytes Sent            : 0                    
        Initial Sync Packets Sent          : 0                    
        Initial Sync Drops                 : 0                    
        Initial Sync Average iLatency (ms) : 0                    

    Child Sensor Statistics :
        Path                               : /junos/system/linecard/transceiver/
        Node-name                          : MX10K_PE             
        Component                          : picd                 
        Component-ID                       : 1                    
        GNMI-SubMode                       : SAMPLE               
        Bytes Sent                         : 6492220              
        Packets Sent                       : 13120                
        Drops                              : 0                    
        Average iLatency (ms)              : 7                    
        Initial Sync Bytes Sent            : 0                    
        Initial Sync Packets Sent          : 0                    
        Initial Sync Drops                 : 0                    
        Initial Sync Average iLatency (ms) : 0                    

    Child Sensor Statistics :
        Path                               : /junos/system/linecard/transceiver/
        Node-name                          : MX10K_PE             
        Component                          : picd                 
        Component-ID                       : 1                    
        GNMI-SubMode                       : SAMPLE               
        Bytes Sent                         : 62189                
        Packets Sent                       : 410                  
        Drops                              : 0                    
        Average iLatency (ms)              : 5                    
        Initial Sync Bytes Sent            : 0                    
        Initial Sync Packets Sent          : 0                    
        Initial Sync Drops                 : 0                    
        Initial Sync Average iLatency (ms) : 0                    

    Child Sensor Statistics :
        Path                               : /junos/system/linecard/transceiver/
        Node-name                          : MX10K_PE             
        Component                          : picd                 
        Component-ID                       : 1                    
        GNMI-SubMode                       : SAMPLE               
        Bytes Sent                         : 1985090              
        Packets Sent                       : 3280                 
        Drops                              : 0                    
        Average iLatency (ms)              : 5                    
        Initial Sync Bytes Sent            : 0                    
        Initial Sync Packets Sent          : 0                    
        Initial Sync Drops                 : 0                    
        Initial Sync Average iLatency (ms) : 0                    

    Child Sensor Statistics :
        Path                               : /junos/system/linecard/transceiver/
        Node-name                          : MX10K_PE             
        Component                          : picd                 
        Component-ID                       : 1                    
        GNMI-SubMode                       : SAMPLE               
        Bytes Sent                         : 3537350              
        Packets Sent                       : 5740                 
        Drops                              : 0                    
        Average iLatency (ms)              : 5                    
        Initial Sync Bytes Sent            : 0                    
        Initial Sync Packets Sent          : 0                    
        Initial Sync Drops                 : 0                    
        Initial Sync Average iLatency (ms) : 0                    

    Child Sensor Statistics :
        Path                               : /components/component/
        Node-name                          : MX10K_PE             
        Component                          : chassisd             
        GNMI-SubMode                       : SAMPLE               
        Bytes Sent                         : 135776844            
        Packets Sent                       : 238620               
        Drops                              : 0                    
        Average iLatency (ms)              : 6                    
        Initial Sync Bytes Sent            : 330639               
        Initial Sync Packets Sent          : 581                  
        Initial Sync Drops                 : 0                    
        Initial Sync Average iLatency (ms) : 4                    

    Child Sensor Statistics :
        Path                               : /components/component/
        Node-name                          : MX10K_PE             
        Component                          : jkdsd                
        GNMI-SubMode                       : SAMPLE               
        Bytes Sent                         : 1926669              
        Packets Sent                       : 3681                 
        Drops                              : 0                    
        Average iLatency (ms)              : 4                    
        Initial Sync Bytes Sent            : 4456                 
        Initial Sync Packets Sent          : 8                    
        Initial Sync Drops                 : 0                    
        Initial Sync Average iLatency (ms) : 11                   

Sensor Statistics :
    Sensor Path                                    : /interfaces/interface/subinterfaces/subinterface/state/counters/
    Reporting Interval                             : 60                   
    Node-name                                      : MX10K_PE,MX10K_PE    
    Component(s)                                   : xmlproxyd_TM_Thread_1,aftd-trio,na-grpcd,aftd-trio,mib2d
    GNMI Sub Mode                                  : SAMPLE               
    Bytes Sent                                     : 11341583             
    Packets Sent                                   : 24389                
    Drops                                          : 0                    
    Average iLatency (ms)                          : 16                   
    Average Circular Buffer Used (%)               : 0                    
    Initial Sync Bytes Sent                        : 3821                 
    Initial Sync Packets Sent                      : 8                    
    Initial Sync Drops                             : 0                    
    Initial Sync Average iLatency (ms)             : 3                    
    Initial Sync Average Circular Buffer Used (%)  : 0                    

    Child Sensor Statistics :
        Path                               : /interfaces/interface/subinterfaces/subinterface/state/counters/
        Node-name                          : MX10K_PE             
        Component                          : na-grpcd,xmlproxyd_TM_Thread_1
        GNMI-SubMode                       : SAMPLE               
        Bytes Sent                         : 5217658              
        Packets Sent                       : 10962                
        Drops                              : 0                    
        Average iLatency (ms)              : 17                   
        Initial Sync Bytes Sent            : 3821                 
        Initial Sync Packets Sent          : 8                    
        Initial Sync Drops                 : 0                    
        Initial Sync Average iLatency (ms) : 3                    

    Child Sensor Statistics :
        Path                               : /junos/system/linecard/interface/logical/usage/
        Node-name                          : MX10K_PE             
        Component                          : aftd-trio            
        Component-ID                       : 1                    
        GNMI-SubMode                       : SAMPLE               
        Bytes Sent                         : 5217658              
        Packets Sent                       : 11165                
        Drops                              : 0                    
        Average iLatency (ms)              : 17                   
        Initial Sync Bytes Sent            : 0                    
        Initial Sync Packets Sent          : 0                    
        Initial Sync Drops                 : 0                    
        Initial Sync Average iLatency (ms) : 0                    

    Child Sensor Statistics :
        Path                               : /junos/system/linecard/interface/logical/usage/
        Node-name                          : MX10K_PE             
        Component                          : aftd-trio            
        Component-ID                       : 1                    
        GNMI-SubMode                       : SAMPLE               
        Bytes Sent                         : 0                    
        Packets Sent                       : 203                  
        Drops                              : 0                    
        Average iLatency (ms)              : 0                    
        Initial Sync Bytes Sent            : 0                    
        Initial Sync Packets Sent          : 0                    
        Initial Sync Drops                 : 0                    
        Initial Sync Average iLatency (ms) : 0                    

    Child Sensor Statistics :
        Path                               : /interfaces/interface/subinterfaces/subinterface/state/counters/
        Node-name                          : MX10K_PE             
        Component                          : mib2d                
        GNMI-SubMode                       : SAMPLE               
        Bytes Sent                         : 45380                
        Packets Sent                       : 205                  
        Drops                              : 0                    
        Average iLatency (ms)              : 0                    
        Initial Sync Bytes Sent            : 0                    
        Initial Sync Packets Sent          : 0                    
        Initial Sync Drops                 : 0                    
        Initial Sync Average iLatency (ms) : 0                    

    Child Sensor Statistics :
        Path                               : /interfaces/interface/subinterfaces/subinterface/state/counters/
        Node-name                          : MX10K_PE             
        Component                          : xmlproxyd_TM_Thread_1
        GNMI-SubMode                       : SAMPLE               
        Bytes Sent                         : 860887               
        Packets Sent                       : 1854                 
        Drops                              : 0                    
        Average iLatency (ms)              : 3                    
        Initial Sync Bytes Sent            : 0                    
        Initial Sync Packets Sent          : 0                    
        Initial Sync Drops                 : 0                    
        Initial Sync Average iLatency (ms) : 0                    

{master} juniper@MX10K_PE> exit

nguyenduchoa37 avatar Jun 24 '25 14:06 nguyenduchoa37

Hi @door7302 .

It seems the sensor xpath for physical MX is wrong. From gnmi I see this command will get ouput from M10K interfaces/interface[name=ae31]/subinterfaces/subinterface[index=0]/ipv4/state/counters/in-forwarded-octets" But I don't see this xpath in defined json for MX in Traffic Profile

nguyenduchoa37 avatar Jun 25 '25 01:06 nguyenduchoa37

Hi @door7302 Do you support this issue ?

nguyenduchoa37 avatar Jul 01 '25 14:07 nguyenduchoa37