Skip to content

Instantly share code, notes, and snippets.

@francisluong
Created April 9, 2014 18:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save francisluong/10299278 to your computer and use it in GitHub Desktop.
Save francisluong/10299278 to your computer and use it in GitHub Desktop.
JUNOS: How to Collect Latency from CFM
{master}
fluong@network-router-re0> show configuration protocols oam | display set | grep inter | trim 108
Apr 09 18:13:47
router2-0/0/0-router-0/1/2 mep 2 interface xe-0/1/2
fluong@network-router-re0> monitor ethernet delay-measurement two-way maintenance-association router2-0/0/0-router-0/1/2 maintenance-domain md-WWAN
Two-way ETH-DM request to 5c:5e:ab:da:07:cb, Interface xe-0/1/2.32767
DMR received from 5c:5e:ab:da:07:cb Delay: 3791 usec Delay variation: 0 usec
DMR received from 5c:5e:ab:da:07:cb Delay: 3797 usec Delay variation: 6 usec
DMR received from 5c:5e:ab:da:07:cb Delay: 3798 usec Delay variation: 1 usec
DMR received from 5c:5e:ab:da:07:cb Delay: 3792 usec Delay variation: 6 usec
DMR received from 5c:5e:ab:da:07:cb Delay: 3785 usec Delay variation: 7 usec
DMR received from 5c:5e:ab:da:07:cb Delay: 3805 usec Delay variation: 20 usec
DMR received from 5c:5e:ab:da:07:cb Delay: 3801 usec Delay variation: 4 usec
DMR received from 5c:5e:ab:da:07:cb Delay: 3797 usec Delay variation: 4 usec
DMR received from 5c:5e:ab:da:07:cb Delay: 3796 usec Delay variation: 1 usec
--- Delay measurement statistics ---
Packets transmitted: 10, Valid packets received: 9
Average delay: 3795 usec, Average delay variation: 5 usec
Best case delay: 3785 usec, Worst case delay: 3805 usec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment