...
When reloading a switch or inserting a DOM supported QSFP, the DOM stats on the leaf are delayed by a time-period of 5 minutes and won’t be available until the DOM statistic MOs are created and fetched. Can be checked by reloading the leaf and then checking the DOM stats instantly from "show interface ethernet transceiver details" The output of vsh_lc -c "show platform internal tah event-history trace" | egrep -B 2 dom_poll |egrep -B 1 eth tells the event-history of the DOM POLL and it isn't available until 5-6 minutes have passed by the reboot.
Conditions: Software Configuration: Suspect All the ACI software versions are prone to this. Manually tested on 15.1(4c) Hardware Configuration: requirement of a DOM supported QSFP inserted into the port Problem Frequency: Always
The DOM stats on vsh_lc are instantaneously updated and can be readily fetched from there and converted into meaningful values. Use the command LEAF# vsh_lc -c "show platform internal usd xcvr dom port " to fetch the realtime DOM stats.
When trying to get the DOM stats, the user needs to wait for a couple of minutes before he can get any output in the console. The event-history trace for the DOM polling occurs every 5 minutes. So basically, the DOM stats are updated in every 5 minutes. This means that in case any leaf reset/reload situation or reinsertion of the transceiver occurs, then the DOM results will be polled after 5 minutes of the activity. Moreover, after a reload of the switch, the first time a user requests for the DOM stats, it takes a little more than 5 minutes, this is because, after the DOM polling, the DOM MOs need to be created which shall fill the DOM statistics and thus provide the output when requested. This can be bypassed by manually checking the MOs just after the SW DOM poll (period of 5 minutes) through Moquery or API and then trying to get the DOM stats using show interface eth port_no transceiver details on the leaf. However, one thing to note here is that the statistics and info of the DOM can be fetched anytime through vsh. The command vsh_lc -c ?show platform internal usd xcvr dom port port_no? provides the unformatted DOM details in realtime.