suzieq
                                
                                
                                
                                    suzieq copied to clipboard
                            
                            
                            
                        Option to IGNORE domain name when looking for peers in CDP on IOS
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)