Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snmpdetect fix cisco_ios detection and add routeros #3038

Merged

Conversation

kacem-expereo
Copy link
Contributor

Hi Team,
I've found some Cisco ios devices that were not matching the regexp due to the "," not being present
Example Cisco IOS Software C881 Software will not match ".*Cisco IOS Software,.*"
So I propose ".*Cisco IOS Software.*,.*" instead.
I've run it successfully on many devices.
Additionally we can detect routeros via a very simple match.
Example of device output to snmprequest :
iso.3.6.1.2.1.1.1.0 = STRING: "RouterOS RB2011UiAS"

Let me know what you think!
Kindly,

netmiko/snmp_autodetect.py Outdated Show resolved Hide resolved
@ktbyers ktbyers merged commit af18efa into ktbyers:develop Dec 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants