Command Line Reference
Visibility and Monitoring
AsterNOS Exporter
7 min
exporter view exporter view table 1 exporter view table 1 exporter view command purpose show exporter display exporter configuration 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 command purpose exporter cache duration {bgp|device|evpn|sag|mclag|ntp|roce stats|interface} time configure the cache duration of each module in the exporter exporter capture interval {bgp|device|evpn|sag|mclag|ntp} time configure the capture time interval for each module of the exporter exporter millisecond level monitoring enable activate exporter millisecond data collection function 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] parameter description time cache duration, range 1 60 s \[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] parameter description time capture time interval, range 1 60 s \[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
