Wednesday, October 17, 2018

Do you have a multi-gig Catalyst handy? Can you grab a .pcap?

I don't have any Catalysts with 2.5/5/25/40/50 Gb/s interfaces handy. Maybe somebody who does can help me out by snagging a pcap of the management plane?

I'm hoping to get my hands on a `traceroute mac` reply packet describing a path that traverses an interface running at one of these funny speeds. For the data to be useful, I think a `speed xxx` command needs to be applied to the interface, though my results aren't completely consistent on that front.

Here's why:

The `traceroute mac` command causes switches to talk to each other through their management interfaces. One of the parameters they share is the speed of the relevant ingress/egress interfaces. The wire format for the speed value is expressed as 10^x:

  • 10Mb/s interfaces report 0x00000001
  • 100Mb/s interfaces report 0x00000002
  • 1Gb/s interfaces report 0x00000003
  • And so on.

Copper interfaces doing autonegotiation report 0x00000000 (the `speed` command causes them to report the numbers above), while my handful 10Gb/s interfaces *don't have* a `speed` command, and always report 0x00000004.

So, 10 raised to the reported value seems to result in the interface speed in Mb/s. What value, then, would be reported by an interface where the speed can't be expressed as 10^x?

I don't have the equipment to do this test. That's why I'm looking for help. If you're worried about leaking private info by sharing the pcap, I'll be happy to walk you through the format... You can just tell me what's in the speed bytes.

Thanks!



No comments:

Post a Comment