Command Line Reference
Visibility and Monitoring
AsterNOS Exporter
7 min
exporter view exporter view table 1 exporter view table 1 exporter view true 261,345#4283c7 unhandled content type #4283c7 unhandled content type unhandled content type unhandled content type show exporter show exporter \[command] show exporter \[purpose] display exporter configuration \[view] privileged user view \[use cases] sonic# show exporter exporter cache duration \ bgp default \ device default \ evpn default \ sag default \ mclag default \ ntp default \ interface default \ roce stats default exporter capture interval \ bgp default \ device default \ evpn default \ sag default \ mclag default \ ntp default exporter config exporter config table 2 exporter config table 2 exporter config true 329,277#4283c7 unhandled content type #4283c7 unhandled content type unhandled content type unhandled content type #d8e5f5 unhandled content type #d8e5f5 unhandled content type unhandled content type unhandled content type exporter cache duration {bgp|device|evpn|sag|mclag|ntp|roce stats|interface} time exporter cache duration {bgp|device|evpn|sag|mclag|ntp|roce stats|interface} time \[command] exporter cache duration {bgp|device|evpn|sag|mclag|ntp|roce stats|interface} time \[purpose] configure the cache duration of each module in the exporter \[parameters] true 207,399#4283c7 unhandled content type #4283c7 unhandled content type unhandled content type unhandled content type \[view] global configuration view \[notes] run command no exporter cache duration {bgp|device|evpn|sag|mclag|ntp|roce stats|interface} to delete the cache duration configuration of each module and restore the default configuration the default values for each module are as follows bgp、evpn、sag :25 30s device、mclag、ntp:15s roce stats、interface:1s \[use cases] sonic# configure sonic(config)# exporter cache duration bgp 15 exporter capture interval {bgp|device|evpn|sag|mclag|ntp} time exporter capture interval {bgp|device|evpn|sag|mclag|ntp} time \[command] exporter capture interval {bgp|device|evpn|sag|mclag|ntp} time \[purpose] configure the capture time interval for each module of the exporter \[parameters] true 191,415#4283c7 unhandled content type #4283c7 unhandled content type unhandled content type unhandled content type \[view] global configuration view \[notes] run command no exporter capture interval {bgp|device|evpn|sag|mclag|ntp} to delete the capture time interval configuration of each module and restore the default configuration the default value for all modules is 30s \[use cases] sonic# configure sonic(config)# exporter capture interval bgp 15 exporter millisecond level monitoring enable exporter millisecond level monitoring enable \[command] exporter millisecond level monitoring enable \[purpose] activate exporter millisecond data collection function \[view] global configuration view \[notes] enable the millisecond level data acquisition function for the interface and roce modules only, with an interval of 500 ms run command no exporter millisecond level monitoring to turn off the millisecond level data collection function \[use cases] sonic# configure sonic(config)# exporter millisecond level monitoring enable
