Tuesday, March 6, 2018

[Cisco] Why is Show CDP neighbors not sorted by interface?

This is something that has always bugged me a bit. When you do a show cdp neighbors, the output seems random. I'm sure there's a logic behind it and I tried looking it up, but haven't really found anything on the subject.

Can any of you network wizards here explain the logic behind the sorting?

And is there actually a way to sort it by interface? This would be quite useful imo when comparing a cdp output vs a interface status output on an adjacent console window, or a interface description output, etc...



No comments:

Post a Comment