diff --git a/netmiko/snmp_autodetect.py b/netmiko/snmp_autodetect.py index 099e1ab0f..7fc1abee9 100644 --- a/netmiko/snmp_autodetect.py +++ b/netmiko/snmp_autodetect.py @@ -56,7 +56,7 @@ }, "cisco_ios": { "oid": ".1.3.6.1.2.1.1.1.0", - "expr": re.compile(r".*Cisco IOS Software,.*", re.IGNORECASE), + "expr": re.compile(r".*Cisco IOS Software.*,.*", re.IGNORECASE), "priority": 60, }, "cisco_xe": { @@ -114,6 +114,11 @@ "expr": re.compile(r"PowerConnect.*", re.IGNORECASE), "priority": 50, }, + "mikrotik_routeros": { + "oid": ".1.3.6.1.2.1.1.1.0", + "expr": re.compile(r".*RouterOS.*", re.IGNORECASE), + "priority": 60, + }, } # Ensure all SNMP device types are supported by Netmiko