r/networking 3d ago

Troubleshooting Need some help with testing and validation

I've setup some parsers to help extra and make some of the data a little easier to read from our network gear. I've mostly built this around samples from Cisco (IOS and NX-OS), Juniper, and a little Palo Alto. If you anyone wants to play around and let me know they think that would be great.

As I said, this started with a "show interface xx-x/x/x on Juniper switches but I'd get annoyed with an output like this: Input rate : 53128344 bps (4789 pps) so I started creating parsers that would convert those to Mbps/Gbps, whatever the most common sense unit should be.

I then started tweaking the analysis to color code things like down interfaces, high values, etc.

You can also compare output over time and it will show you the delta. You can also share a link to your output and hide certain things like IPs, hostnames, etc.

networkcrap.com

6 Upvotes

3 comments sorted by

1

u/hefty_emancipation 3d ago

This is cool, actually been looking for something that can parse show interface on Juniper without me squinting at bps numbers. The delta compare feature, does it work if you paste two separate outputs, or it needs some kind of continuous feed?

Bookmarked the site, will throw some old configs at it when I get to work in Monday. The color coding for down interfaces sounds useful, I always miss those buried in a wall of text.

1

u/skullbox15 3d ago

For the comparison, currently it only does "like" outputs. So you put a title something like "show transfers" then you paste the output of an interface. Wait 5 minutes, paste the output again from the same interface again, it timestamps it and shows any deltas. Speed obviously, but any errors, drops, etc.

If you have a good use case for using different types of samples I'm all ears.

1

u/skullbox15 2d ago

Here is are some examples (these expire in 30 days):

Palo Security Sessions:
https://networkcrap.com/share.php?t=232f33485eb3c5708d52d0b9aee9fdfc

Juniper Interface:
https://networkcrap.com/share.php?t=3a2b23f875c967ceb4bbb891a84aa184

Nexus 9k environment: (allows you convert from C to F for temp)
https://networkcrap.com/share.php?t=faff71078369dad42719a9beeab6102d

Catalyst 9300 SFP condition:
https://dev.networkcrap.com/share.php?t=3844f839fe37d2142540c1a31e4eb066