traceoptions bfd and monitor traffic
http://batdosi.blogspot.com/2015/06/packet-capture-on-juniper-devices.html
traceoptions Configuration: set protocols bfd traceoptions file spineXbfd.log set protocols bfd traceoptions file world-readable set protocols bfd traceoptions flag all look at the traceoptions file: show log spineXbfd.log show log spineXbfd.log | last to see the file or transfer it: file list /var/log/spineXbfd.log detail file show /var/log/spineXbfd.log | |
monitor traffic | http://batdosi.blogspot.com/2015/06/packet-capture-on-juniper-devices.html monitoring traffic {master:0} root@Spine2> show bfd session Detect Transmit Address State Interface Time Interval Multiplier 10.1.23.2 Up xe-0/0/0.0 1.050 0.350 3 10.1.24.2 Up xe-0/0/1.0 1.050 0.350 3 2 sessions, 2 clients Cumulative transmit rate 5.7 pps, cumulative receive rate 5.7 pps |
monitor traffic interface xe-0/0/0.0 matching "port 3784 or port 4784" detail | |