suzieq icon indicating copy to clipboard operation
suzieq copied to clipboard

Option to IGNORE domain name when looking for peers in CDP on IOS

Open cldeluna opened this issue 3 years ago • 0 comments

Is your feature request related to a problem? Please describe. In some cases, due to lack of standards or the inconsistent application of configuration standards a device may or may not show up in the IOS CDP neighbors show command with its FQDN.

Cisco Access Points in particular are notorious for sometimes showing up with their FQDN and sometimes not.

Describe the solution you'd like

In those cases it would be ideal to merely search for the name without the domain, along the lines of

re.search("some switch name w/o domain", cdp_name, re.IGNORECASE)

cldeluna avatar Dec 26 '21 16:12 cldeluna