From 8fb36625bc89db02e7f20272df180282b1cbbd84 Mon Sep 17 00:00:00 2001 From: Jeroen van Ingen Date: Mon, 5 Sep 2011 11:35:32 +0200 Subject: [PATCH] Add proper classing for Cisco blade switches to Layer2 section as well, for CBS devices reporting L2 capability only --- Info.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Info.pm b/Info.pm index 014e68d5..5599b5a4 100644 --- a/Info.pm +++ b/Info.pm @@ -1365,6 +1365,10 @@ sub device_type { $objtype = 'SNMP::Info::Layer3::C3550' if ( $desc =~ /(C3550|ME340x)/ ); + # Cisco blade switches, CBS30x0 and CBS31x0 models with L2 only + $objtype = 'SNMP::Info::Layer3::C6500' + if ( $desc =~ /cisco/i and $desc =~ /CBS3[0-9A-Za-z]{3}/ ); + # Cisco 2970 $objtype = 'SNMP::Info::Layer3::C6500' if ( $desc =~ /(C2970|C2960)/ );