r3985 Cisco Catalyst 2960-48PST-L
authorAlexey Andriyanov <alan@al-an.info>
Tue, 19 Oct 2010 17:51:54 +0000 (17:51 +0000)
committerAlexey Andriyanov <alan@al-an.info>
Tue, 19 Oct 2010 17:51:54 +0000 (17:51 +0000)
inc/config.php
inc/dictionary.php
inc/snmp.php

index 675bdf5..0336c66 100644 (file)
@@ -34,7 +34,7 @@ $max_dict_key = array
        '0.18.2' => 1352,
        '0.18.3' => 1356,
        '0.18.4' => 1364,
-       '0.18.5' => 1369,
+       '0.18.5' => 1370,
 );
 
 define ('TAGNAME_REGEXP', '/^[\p{L}0-9]([. _~-]?[\p{L}0-9])*$/u');
index 35074f2..e644e11 100644 (file)
@@ -1447,6 +1447,7 @@ $dictionary = array
        1367 => array ('chapter_id' => 14, 'dict_value' => 'JunOS 10'),
        1368 => array ('chapter_id' => 17, 'dict_value' => '[[Juniper%GPASS%MX80 | http://www.juniper.net/products_and_services/mx_series/index.html]]'),
        1369 => array ('chapter_id' => 14, 'dict_value' => 'Huawei VRP 5.7'),
+       1370 => array ('chapter_id' => 12, 'dict_value' => 'Cisco%GPASS%Catalyst 2960-48PST-L'),
 );
 
 ?>
index cede44f..030d1e2 100644 (file)
@@ -83,6 +83,15 @@ $iftable_processors['catalyst-chassis-1-to-2-combo-1000SFP'] = array
        'try_next_proc' => TRUE,
 );
 
+$iftable_processors['catalyst-chassis-1-to-2-1000SFP'] = array
+(
+       'pattern' => '@^GigabitEthernet([[:digit:]]+/)?(1|2)$@',
+       'replacement' => 'gi\\1\\2',
+       'dict_key' => '4-1077',
+       'label' => '\\2',
+       'try_next_proc' => FALSE,
+);
+
 $iftable_processors['catalyst-chassis-8-combo-1000SFP'] = array
 (
        'pattern' => '@^GigabitEthernet([[:digit:]]+/)?(8)$@',
@@ -707,6 +716,17 @@ $known_switches = array // key is system OID w/o "enterprises" prefix
                        'catalyst-chassis-mgmt',
                ),
        ),
+       '9.1.1016' => array
+       (
+               'dict_key' => 1370,
+               'text' => 'WS-C2960-48PST-L: 48 RJ-45/10-100TX PoE + 2 SFP/1000 + 2 RJ-45/10-100-1000T(X)',
+               'processors' => array
+               (
+                       'catalyst-chassis-any-100TX',
+                       'catalyst-chassis-1-to-2-1000SFP',
+                       'catalyst-chassis-uplinks-1000T',
+               ),
+       ),
        '9.12.3.1.3.719' => array
        (
                'dict_key' => 960,