cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
379
Views
0
Helpful
1
Replies

Yang module for interface statistic in l2transport mode

Hi, I'm trying to get statistics for interfaces in ios xr 7.9.21 64 bits (ASR9904) and 6.9.2 32 bits (ASR9001) in l2tranport mode through gnmi but I can't seem to find the right YANG module to query for this statisctics. I tried Cisco-IOS-XR-infra-statsd-oper:Cisco-IOS-XR-infra-statsd-oper:infra-statistics/interfaces/interface (cache, interfaces-mib-counters, generic-counters) but I get results only for routed interfaces/subinterfaces. I also looked at Cisco-IOS-XR-l2vpn-oper in Cisco Future Navigator but I can not find anything related to interaces statistics like send bytes or received bytes.

Is there anyway to acomplish this trough gnmi and yang? 

Thanks!

1 Accepted Solution

Accepted Solutions

Maybe or Cisco-IOS-XR-drivers-media-eth-oper:ethernet-interface/interfaces/interface or Cisco-IOS-XR-pfi-im-cmd-oper:interfaces/interface-xr/interface? 

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

View solution in original post

1 Reply 1

Maybe or Cisco-IOS-XR-drivers-media-eth-oper:ethernet-interface/interfaces/interface or Cisco-IOS-XR-pfi-im-cmd-oper:interfaces/interface-xr/interface? 

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io