version and copyright change for 0.8 prep
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
All code from version 0.7 on
|
All code from version 0.7 on
|
||||||
Copyright (c) 2003 Max Baker
|
Copyright (c) 2003,2004 Max Baker
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
|
||||||
Original Code
|
Original Code
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ version 0.8 ()
|
|||||||
+ Added Cisco Catalyst 4000 to Layer3::C6500 class
|
+ Added Cisco Catalyst 4000 to Layer3::C6500 class
|
||||||
+ Added Cisco Catalyst 2970 to Layer3::C6500 Class
|
+ Added Cisco Catalyst 2970 to Layer3::C6500 Class
|
||||||
* Fixed warning about uninitialized value in CiscoStats line 92
|
* Fixed warning about uninitialized value in CiscoStats line 92
|
||||||
|
* Added for more serial# checking for L2 and L3
|
||||||
* Fixed warning in Layer2::Bay about non numeric port line 199
|
* Fixed warning in Layer2::Bay about non numeric port line 199
|
||||||
Contributions from Dmitry Sergienko:
|
Contributions from Dmitry Sergienko:
|
||||||
+ Added Cisco Aironet BR500 and AP1200 to L2::Aironet Class
|
+ Added Cisco Aironet BR500 and AP1200 to L2::Aironet Class
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# SNMP Device Compatibility Matrix
|
# SNMP Device Compatibility Matrix
|
||||||
# SNMP::Info - Max Baker
|
# SNMP::Info - (C) 2004 Max Baker
|
||||||
|
|
||||||
# This file is meant to detail the cababilities
|
# This file is meant to detail the cababilities
|
||||||
# of network devices to supply data via SNMP.
|
# of network devices to supply data via SNMP.
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
device-vendor: Allied Telesyn
|
device-vendor: Allied Telesyn
|
||||||
cdp:no
|
cdp:no
|
||||||
|
|
||||||
device-family: Hubs
|
device-family: Allied Hubs
|
||||||
class: Layer1::Allied
|
class: Layer1::Allied
|
||||||
ver: 1
|
ver: 1
|
||||||
arpnip: no
|
arpnip: no
|
||||||
@@ -19,7 +19,7 @@ duplex: no
|
|||||||
|
|
||||||
device: AT-3624T
|
device: AT-3624T
|
||||||
|
|
||||||
device-family: AT-80nn Switches
|
device-family: AT-8000 Switches
|
||||||
class: Layer2::Allied
|
class: Layer2::Allied
|
||||||
ver: 2
|
ver: 2
|
||||||
macsuck: yes
|
macsuck: yes
|
||||||
@@ -27,7 +27,7 @@ macsuck: yes
|
|||||||
# Asante
|
# Asante
|
||||||
device-vendor: Asante
|
device-vendor: Asante
|
||||||
|
|
||||||
device-family: Hubs
|
device-family: Asante Hubs
|
||||||
class: Layer1::Asante
|
class: Layer1::Asante
|
||||||
ver: 1
|
ver: 1
|
||||||
arpnip: no
|
arpnip: no
|
||||||
@@ -68,7 +68,7 @@ class: Layer2::Aironet
|
|||||||
device: BR500
|
device: BR500
|
||||||
note: Aironet based device
|
note: Aironet based device
|
||||||
|
|
||||||
device: AP350, AP340, AP4800-E
|
device: AP350, AP340, CAP350, CAP340, 1200, AP4800
|
||||||
note: Aironet based device
|
note: Aironet based device
|
||||||
|
|
||||||
device-family: 1000
|
device-family: 1000
|
||||||
@@ -109,20 +109,14 @@ arpnip: yes
|
|||||||
macsuck: yes
|
macsuck: yes
|
||||||
class: Layer3
|
class: Layer3
|
||||||
|
|
||||||
device:2610
|
device:2610,2610XM,2611,2620,2620XM,2621
|
||||||
|
|
||||||
device:2611
|
|
||||||
|
|
||||||
device:2620
|
|
||||||
|
|
||||||
device:2620XM
|
|
||||||
|
|
||||||
device:2621
|
|
||||||
|
|
||||||
device:2621XM
|
device:2621XM
|
||||||
|
|
||||||
device:2651XM
|
device:2651XM
|
||||||
|
|
||||||
|
device:2691
|
||||||
|
|
||||||
device-family: 3600
|
device-family: 3600
|
||||||
class: Layer3
|
class: Layer3
|
||||||
|
|
||||||
@@ -178,9 +172,17 @@ device: 2924CXL
|
|||||||
|
|
||||||
device: 2924CXLv
|
device: 2924CXLv
|
||||||
|
|
||||||
|
device-family: Catlayst 2940
|
||||||
|
|
||||||
|
device: 2940-8TT
|
||||||
|
|
||||||
|
device-family: Catalyst 2950
|
||||||
|
|
||||||
|
device: 2950-t24
|
||||||
|
|
||||||
device-family: Catalyst 2970
|
device-family: Catalyst 2970
|
||||||
macsuck:vlan
|
macsuck:vlan
|
||||||
note: Acts just like IOS Catalyst 6000 series
|
note: Acts just like IOS Catalyst 6500 series
|
||||||
class: Layer3::C6500
|
class: Layer3::C6500
|
||||||
|
|
||||||
device: 2970G-24T-E
|
device: 2970G-24T-E
|
||||||
@@ -189,6 +191,7 @@ device-family: Catalyst 3500 XL
|
|||||||
portmac: yes
|
portmac: yes
|
||||||
macsuck: vlan
|
macsuck: vlan
|
||||||
note: L2 only IOS devices - Just like Catalyst 2900 series from SNMP
|
note: L2 only IOS devices - Just like Catalyst 2900 series from SNMP
|
||||||
|
note: IOS Version 12.0(5)XP is buggy and doesn't do VLAN Community indexing correctly.
|
||||||
class: Layer2::C2900
|
class: Layer2::C2900
|
||||||
|
|
||||||
device: 3508GXL
|
device: 3508GXL
|
||||||
@@ -311,7 +314,7 @@ device-vendor: HP
|
|||||||
class: Layer2::HP
|
class: Layer2::HP
|
||||||
ver: 2
|
ver: 2
|
||||||
|
|
||||||
device-family: ProCurve
|
device-family: HP ProCurve
|
||||||
duplex: both
|
duplex: both
|
||||||
macsuck: yes
|
macsuck: yes
|
||||||
arpnip: no
|
arpnip: no
|
||||||
@@ -325,18 +328,18 @@ device: 2524
|
|||||||
ver: 1
|
ver: 1
|
||||||
|
|
||||||
device: 4000
|
device: 4000
|
||||||
|
note: duplex issues?
|
||||||
|
|
||||||
device: 4104GL
|
device: 4104GL
|
||||||
duplex: link
|
duplex: link
|
||||||
|
|
||||||
device: 4108GL
|
device: 4108GL,8000,2626,2650,8000
|
||||||
|
note: VLAN info in Q-BRIDGE-MIB
|
||||||
device: 8000
|
|
||||||
|
|
||||||
device-vendor: Zyxel
|
device-vendor: Zyxel
|
||||||
class: Layer2::ZyXEL_DSLAM
|
class: Layer2::ZyXEL_DSLAM
|
||||||
note: Doesn't report sysServices (layers)
|
note: Doesn't report sysServices (layers)
|
||||||
|
|
||||||
device-family: DSLAM
|
device-family: Zyxel DSLAM
|
||||||
|
|
||||||
device:AAM10008-61, AAM1008-63
|
device:AAM10008-61, AAM1008-63
|
||||||
|
|||||||
6
Info.pm
6
Info.pm
@@ -2197,10 +2197,10 @@ sub AUTOLOAD {
|
|||||||
|
|
||||||
=head1 COPYRIGHT AND LICENCE
|
=head1 COPYRIGHT AND LICENCE
|
||||||
|
|
||||||
Portions
|
Changes from SNMP::Info Version 0.7 and on are:
|
||||||
Copyright (c) 2003 Max Baker - All rights reserved.
|
Copyright (c)2003, 2004 Max Baker - All rights reserved.
|
||||||
|
|
||||||
Original Code
|
Original Code is:
|
||||||
Copyright (c) 2002-3, Regents of the University of California
|
Copyright (c) 2002-3, Regents of the University of California
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,13 @@
|
|||||||
# SNMP::Info::Bridge
|
# SNMP::Info::Bridge
|
||||||
# Max Baker <max@warped.org>
|
# Max Baker <max@warped.org>
|
||||||
#
|
#
|
||||||
|
# Changes since Version 0.7 Copyright (c) 2004 Max Baker
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
# Copyright (c) 2002,2003 Regents of the University of California
|
# Copyright (c) 2002,2003 Regents of the University of California
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
# modification, are permitted provided that the following conditions are met:
|
# modification, are permitted provided that the following conditions are met:
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
# SNMP::Info::CDP
|
# SNMP::Info::CDP
|
||||||
# Max Baker <max@warped.org>
|
# Max Baker <max@warped.org>
|
||||||
#
|
#
|
||||||
|
# Changes since Version 0.7 Copyright (c) 2004 Max Baker
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
# Copyright (c) 2002,2003 Regents of the University of California
|
# Copyright (c) 2002,2003 Regents of the University of California
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
@@ -28,7 +31,7 @@
|
|||||||
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
package SNMP::Info::CDP;
|
package SNMP::Info::CDP;
|
||||||
$VERSION = 0.7;
|
$VERSION = 0.8;
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# SNMP::Info::CiscoStack
|
# SNMP::Info::CiscoStack
|
||||||
# Max Baker <max@warped.org>
|
# Max Baker <max@warped.org>
|
||||||
#
|
#
|
||||||
# Copyright (c) 2003 Max Baker
|
# Copyright (c)2003,2004 Max Baker
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
@@ -28,7 +28,7 @@
|
|||||||
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
package SNMP::Info::CiscoStack;
|
package SNMP::Info::CiscoStack;
|
||||||
$VERSION = 0.7;
|
$VERSION = 0.8;
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
# SNMP::Info::CiscoStats
|
# SNMP::Info::CiscoStats
|
||||||
# Max Baker <max@warped.org>
|
# Max Baker <max@warped.org>
|
||||||
#
|
#
|
||||||
|
# Changes since Version 0.7 Copyright (c) 2004 Max Baker
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
# Copyright (c) 2003 Regents of the University of California
|
# Copyright (c) 2003 Regents of the University of California
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
@@ -28,7 +31,7 @@
|
|||||||
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
package SNMP::Info::CiscoStats;
|
package SNMP::Info::CiscoStats;
|
||||||
$VERSION = 0.7;
|
$VERSION = 0.8;
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
package SNMP::Info::CiscoVTP;
|
package SNMP::Info::CiscoVTP;
|
||||||
$VERSION = 0.7;
|
$VERSION = 0.8;
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
# SNMP::Info::Entity
|
# SNMP::Info::Entity
|
||||||
# Max Baker <max@warped.org>
|
# Max Baker <max@warped.org>
|
||||||
#
|
#
|
||||||
|
# Copyright (c) 2004 Max Baker changes from version 0.8 and beyond.
|
||||||
|
#
|
||||||
# Copyright (c) 2003 Regents of the University of California
|
# Copyright (c) 2003 Regents of the University of California
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
@@ -28,7 +30,7 @@
|
|||||||
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
package SNMP::Info::Entity;
|
package SNMP::Info::Entity;
|
||||||
$VERSION = 0.7;
|
$VERSION = 0.8;
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
# SNMP::Info::EtherLike
|
# SNMP::Info::EtherLike
|
||||||
# Max Baker <max@warped.org>
|
# Max Baker <max@warped.org>
|
||||||
#
|
#
|
||||||
|
# Copyright (c) 2004 Max Baker changes from version 0.8 and beyond.
|
||||||
|
#
|
||||||
# Copyright (c) 2002,2003 Regents of the University of California
|
# Copyright (c) 2002,2003 Regents of the University of California
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
@@ -28,7 +30,7 @@
|
|||||||
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
package SNMP::Info::EtherLike;
|
package SNMP::Info::EtherLike;
|
||||||
$VERSION = 0.7;
|
$VERSION = 0.8;
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
# SNMP::Info::Layer1 - SNMP Interface to Layer1 Devices
|
# SNMP::Info::Layer1 - SNMP Interface to Layer1 Devices
|
||||||
# Max Baker <max@warped.org>
|
# Max Baker <max@warped.org>
|
||||||
#
|
#
|
||||||
|
# Copyright (c) 2004 Max Baker changes from version 0.8 and beyond.
|
||||||
|
#
|
||||||
# Copyright (c) 2002,2003 Regents of the University of California
|
# Copyright (c) 2002,2003 Regents of the University of California
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
@@ -28,7 +30,7 @@
|
|||||||
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
package SNMP::Info::Layer1;
|
package SNMP::Info::Layer1;
|
||||||
$VERSION = 0.7;
|
$VERSION = 0.8;
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
# SNMP::Info::Layer1::Allied
|
# SNMP::Info::Layer1::Allied
|
||||||
# Max Baker <max@warped.org>
|
# Max Baker <max@warped.org>
|
||||||
#
|
#
|
||||||
|
# Copyright (c) 2004 Max Baker changes from version 0.8 and beyond.
|
||||||
|
#
|
||||||
# Copyright (c) 2002,2003 Regents of the University of California
|
# Copyright (c) 2002,2003 Regents of the University of California
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
@@ -28,7 +30,7 @@
|
|||||||
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
package SNMP::Info::Layer1::Allied;
|
package SNMP::Info::Layer1::Allied;
|
||||||
$VERSION = 0.7;
|
$VERSION = 0.8;
|
||||||
# $Id$
|
# $Id$
|
||||||
use strict;
|
use strict;
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
# SNMP::Info::Layer1::Asante
|
# SNMP::Info::Layer1::Asante
|
||||||
# Max Baker <max@warped.org>
|
# Max Baker <max@warped.org>
|
||||||
#
|
#
|
||||||
|
# Copyright (c) 2004 Max Baker changes from version 0.8 and beyond.
|
||||||
|
#
|
||||||
# Copyright (c) 2002,2003 Regents of the University of California
|
# Copyright (c) 2002,2003 Regents of the University of California
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
@@ -28,7 +30,7 @@
|
|||||||
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
package SNMP::Info::Layer1::Asante;
|
package SNMP::Info::Layer1::Asante;
|
||||||
$VERSION = 0.7;
|
$VERSION = 0.8;
|
||||||
# $Id$
|
# $Id$
|
||||||
use strict;
|
use strict;
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
# SNMP::Info::Layer2::Aironet
|
# SNMP::Info::Layer2::Aironet
|
||||||
# Max Baker <max@warped.org>
|
# Max Baker <max@warped.org>
|
||||||
#
|
#
|
||||||
|
# Copyright (c) 2004 Max Baker changes from version 0.8 and beyond.
|
||||||
|
#
|
||||||
# Copyright (c) 2003 Regents of the University of California
|
# Copyright (c) 2003 Regents of the University of California
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
@@ -28,7 +30,7 @@
|
|||||||
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
package SNMP::Info::Layer2::Aironet;
|
package SNMP::Info::Layer2::Aironet;
|
||||||
$VERSION = 0.7;
|
$VERSION = 0.8;
|
||||||
# $Id$
|
# $Id$
|
||||||
use strict;
|
use strict;
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
# SNMP::Info::Layer2::Bay
|
# SNMP::Info::Layer2::Bay
|
||||||
# Max Baker <max@warped.org>
|
# Max Baker <max@warped.org>
|
||||||
#
|
#
|
||||||
|
# Copyright (c) 2004 Max Baker changes from version 0.8 and beyond.
|
||||||
|
#
|
||||||
# Copyright (c) 2002,2003 Regents of the University of California
|
# Copyright (c) 2002,2003 Regents of the University of California
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
@@ -28,7 +30,7 @@
|
|||||||
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
package SNMP::Info::Layer2::Bay;
|
package SNMP::Info::Layer2::Bay;
|
||||||
$VERSION = 0.7;
|
$VERSION = 0.8;
|
||||||
# $Id$
|
# $Id$
|
||||||
use strict;
|
use strict;
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
# SNMP::Info::Layer2::C1900
|
# SNMP::Info::Layer2::C1900
|
||||||
# Max Baker <max@warped.org>
|
# Max Baker <max@warped.org>
|
||||||
#
|
#
|
||||||
|
# Copyright (c) 2004 Max Baker changes from version 0.8 and beyond.
|
||||||
|
#
|
||||||
# Copyright (c) 2002,2003 Regents of the University of California
|
# Copyright (c) 2002,2003 Regents of the University of California
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
@@ -28,7 +30,7 @@
|
|||||||
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
package SNMP::Info::Layer2::C1900;
|
package SNMP::Info::Layer2::C1900;
|
||||||
$VERSION = 0.7;
|
$VERSION = 0.8;
|
||||||
# $Id$
|
# $Id$
|
||||||
use strict;
|
use strict;
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
# SNMP::Info::Layer2::C2900
|
# SNMP::Info::Layer2::C2900
|
||||||
# Max Baker <max@warped.org>
|
# Max Baker <max@warped.org>
|
||||||
#
|
#
|
||||||
|
# Copyright (c) 2004 Max Baker changes from version 0.8 and beyond.
|
||||||
|
#
|
||||||
# Copyright (c) 2002,2003 Regents of the University of California
|
# Copyright (c) 2002,2003 Regents of the University of California
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
@@ -28,7 +30,7 @@
|
|||||||
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
package SNMP::Info::Layer2::C2900;
|
package SNMP::Info::Layer2::C2900;
|
||||||
$VERSION = 0.7;
|
$VERSION = 0.8;
|
||||||
# $Id$
|
# $Id$
|
||||||
use strict;
|
use strict;
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
# Max Baker <max@warped.org>
|
# Max Baker <max@warped.org>
|
||||||
#
|
#
|
||||||
# Copyright (c) 2002,2003 Regents of the University of California
|
# Copyright (c) 2002,2003 Regents of the University of California
|
||||||
# Copyright (c) 2003 Max Baker
|
# Copyright (c) 2003,2004 Max Baker changes from version 0.8 and beyond
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
package SNMP::Info::Layer2::Catalyst;
|
package SNMP::Info::Layer2::Catalyst;
|
||||||
$VERSION = 0.7;
|
$VERSION = 0.8;
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
# SNMP::Info::Layer2::HP - SNMP Interface to HP ProCurve Switches
|
# SNMP::Info::Layer2::HP - SNMP Interface to HP ProCurve Switches
|
||||||
# Max Baker <max@warped.org>
|
# Max Baker <max@warped.org>
|
||||||
#
|
#
|
||||||
|
# Copyright (c) 2004 Max Baker changes from version 0.8 and beyond.
|
||||||
|
#
|
||||||
# Copyright (c) 2002,2003 Regents of the University of California
|
# Copyright (c) 2002,2003 Regents of the University of California
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
# SNMP::Info::Layer3::Aironet
|
# SNMP::Info::Layer3::Aironet
|
||||||
# Max Baker <max@warped.org>
|
# Max Baker <max@warped.org>
|
||||||
#
|
#
|
||||||
|
# Copyright (c) 2004 Max Baker changes from version 0.8 and beyond.
|
||||||
|
#
|
||||||
# Copyright (c) 2002,2003 Regents of the University of California
|
# Copyright (c) 2002,2003 Regents of the University of California
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
@@ -28,7 +30,7 @@
|
|||||||
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
package SNMP::Info::Layer3::Aironet;
|
package SNMP::Info::Layer3::Aironet;
|
||||||
$VERSION = 0.7;
|
$VERSION = 0.8;
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
# SNMP::Info::Layer3::C3550
|
# SNMP::Info::Layer3::C3550
|
||||||
# Max Baker <max@warped.org>
|
# Max Baker <max@warped.org>
|
||||||
#
|
#
|
||||||
|
# Copyright (c) 2004 Max Baker changes from version 0.8 and beyond.
|
||||||
# Copyright (c) 2003, Regents of the University of California
|
# Copyright (c) 2003, Regents of the University of California
|
||||||
# Copyright (c) 2003 Max Baker
|
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
package SNMP::Info::Layer3::C3550;
|
package SNMP::Info::Layer3::C3550;
|
||||||
$VERSION = 0.7;
|
$VERSION = 0.8;
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# SNMP::Info::Layer3::C6500
|
# SNMP::Info::Layer3::C6500
|
||||||
# Max Baker <max@warped.org>
|
# Max Baker <max@warped.org>
|
||||||
#
|
#
|
||||||
# Copyright (c) 2003 Max Baker
|
# Copyright (c) 2003,2004 Max Baker
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
@@ -28,7 +28,7 @@
|
|||||||
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
package SNMP::Info::Layer3::C6500;
|
package SNMP::Info::Layer3::C6500;
|
||||||
$VERSION = 0.7;
|
$VERSION = 0.8;
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
# SNMP::Info::Layer3::Foundry - SNMP Interface to Foundry devices
|
# SNMP::Info::Layer3::Foundry - SNMP Interface to Foundry devices
|
||||||
# Max Baker <max@warped.org>
|
# Max Baker <max@warped.org>
|
||||||
#
|
#
|
||||||
|
# Copyright (c) 2004 Max Baker changes from version 0.8 and beyond.
|
||||||
|
#
|
||||||
# Copyright (c) 2002,2003 Regents of the University of California
|
# Copyright (c) 2002,2003 Regents of the University of California
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
@@ -28,7 +30,7 @@
|
|||||||
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
package SNMP::Info::Layer3::Foundry;
|
package SNMP::Info::Layer3::Foundry;
|
||||||
$VERSION = 0.7;
|
$VERSION = 0.8;
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
# SNMP::Info::MAU - Media Access Unit - RFC2668
|
# SNMP::Info::MAU - Media Access Unit - RFC2668
|
||||||
# Max Baker <max@warped.org>
|
# Max Baker <max@warped.org>
|
||||||
#
|
#
|
||||||
|
# Copyright (c) 2004 Max Baker changes from version 0.8 and beyond.
|
||||||
|
#
|
||||||
# Copyright (c) 2002,2003 Regents of the University of California
|
# Copyright (c) 2002,2003 Regents of the University of California
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
@@ -28,7 +30,7 @@
|
|||||||
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
package SNMP::Info::MAU;
|
package SNMP::Info::MAU;
|
||||||
$VERSION = 0.7;
|
$VERSION = 0.8;
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
|
|||||||
20
README
20
README
@@ -5,7 +5,7 @@ NAME
|
|||||||
|
|
||||||
VERSION
|
VERSION
|
||||||
|
|
||||||
SNMP::Info - Version 0.7
|
SNMP::Info - Version 0.8
|
||||||
|
|
||||||
AUTHOR
|
AUTHOR
|
||||||
|
|
||||||
@@ -68,7 +68,7 @@ SUPPORT
|
|||||||
|
|
||||||
Please direct all support, help, and bug requests to the snmp-info-users
|
Please direct all support, help, and bug requests to the snmp-info-users
|
||||||
Mailing List at
|
Mailing List at
|
||||||
http://lists.sourceforge.net/lists/listinfo/snmp-info-users
|
<http://lists.sourceforge.net/lists/listinfo/snmp-info-users>
|
||||||
|
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
|
|
||||||
@@ -154,6 +154,7 @@ DESCRIPTION
|
|||||||
BRIDGE-MIB
|
BRIDGE-MIB
|
||||||
SNMP-REPEATER-MIB
|
SNMP-REPEATER-MIB
|
||||||
STAND-ALONE-ETHERNET-SWITCH-MIB (ESSWITCH-MIB)
|
STAND-ALONE-ETHERNET-SWITCH-MIB (ESSWITCH-MIB)
|
||||||
|
|
||||||
by running
|
by running
|
||||||
|
|
||||||
mkdir -p /usr/local/share/snmp/mibs
|
mkdir -p /usr/local/share/snmp/mibs
|
||||||
@@ -190,13 +191,14 @@ DESCRIPTION
|
|||||||
Design Goals
|
Design Goals
|
||||||
|
|
||||||
1. Use of textual MIB leaf identifier and enumerated values
|
1. Use of textual MIB leaf identifier and enumerated values
|
||||||
|
|
||||||
* All values are retrieved via MIB Leaf node names
|
* All values are retrieved via MIB Leaf node names
|
||||||
For example SNMP::Info has an entry in its %GLOBALS hash for
|
For example SNMP::Info has an entry in its %GLOBALS hash for
|
||||||
``sysName'' instead of 1.3.6.1.2.1.1.5.
|
``sysName'' instead of 1.3.6.1.2.1.1.5.
|
||||||
|
|
||||||
* Data returned is in the enumerated value form.
|
* Data returned is in the enumerated value form.
|
||||||
For Example instead of looking up 1.3.6.1.2.1.2.2.1.3 and
|
For Example instead of looking up 1.3.6.1.2.1.2.2.1.3 and
|
||||||
getting back "23"
|
getting back 23
|
||||||
|
|
||||||
SNMP::Info will ask for "RFC1213-MIB::ifType" and will get back
|
SNMP::Info will ask for "RFC1213-MIB::ifType" and will get back
|
||||||
"ppp".
|
"ppp".
|
||||||
@@ -287,7 +289,7 @@ DESCRIPTION
|
|||||||
CatOS.
|
CatOS.
|
||||||
|
|
||||||
SNMP::Info::Layer2::C2900
|
SNMP::Info::Layer2::C2900
|
||||||
Subclass for Cisco Catalyst 2900 devices running IOS.
|
Subclass for Cisco Catalyst 2900 and 3500XL devices running IOS.
|
||||||
|
|
||||||
SNMP::Info::Layer2::Catalyst
|
SNMP::Info::Layer2::Catalyst
|
||||||
Subclass for Cisco Catalyst switches running CatOS. These
|
Subclass for Cisco Catalyst switches running CatOS. These
|
||||||
@@ -426,6 +428,7 @@ USAGE
|
|||||||
Bay Networks -> SNMP::Info::Layer2::Bay
|
Bay Networks -> SNMP::Info::Layer2::Bay
|
||||||
Catalyst 1900 -> SNMP::Info::Layer2::C1900
|
Catalyst 1900 -> SNMP::Info::Layer2::C1900
|
||||||
Catalyst 2900XL/2950(IOS) -> SNMP::Info::Layer2::C2900
|
Catalyst 2900XL/2950(IOS) -> SNMP::Info::Layer2::C2900
|
||||||
|
Catalyst 3500XL (3548) IOS -> SNMP::Info::Layer2::C2900
|
||||||
Catalyst 3550/3548 -> SNMP::Info::Layer3::C3550
|
Catalyst 3550/3548 -> SNMP::Info::Layer3::C3550
|
||||||
Catalyst WS-C 2926,5xxx -> SNMP::Info::Layer2::Catalyst
|
Catalyst WS-C 2926,5xxx -> SNMP::Info::Layer2::Catalyst
|
||||||
HP Procurve -> SNMP::Info::Layer2::HP
|
HP Procurve -> SNMP::Info::Layer2::HP
|
||||||
@@ -528,7 +531,7 @@ USAGE
|
|||||||
|
|
||||||
$local_routes = $info->ipr_route('192.168.0');
|
$local_routes = $info->ipr_route('192.168.0');
|
||||||
|
|
||||||
This will only fetch entries in the table that start with "192.168.0",
|
This will only fetch entries in the table that start with 192.168.0,
|
||||||
which in this case are routes on the local network.
|
which in this case are routes on the local network.
|
||||||
|
|
||||||
Remember that you must supply the partial IID (a numeric OID).
|
Remember that you must supply the partial IID (a numeric OID).
|
||||||
@@ -1030,6 +1033,7 @@ SNMP::INFO INTERNALS
|
|||||||
'11000000' => '11 Mbps',
|
'11000000' => '11 Mbps',
|
||||||
'20000000' => '20 Mbps',
|
'20000000' => '20 Mbps',
|
||||||
'16000000' => '16 Mbps',
|
'16000000' => '16 Mbps',
|
||||||
|
'44210000' => 'T3',
|
||||||
'44736000' => 'T3',
|
'44736000' => 'T3',
|
||||||
'45000000' => '45 Mbps',
|
'45000000' => '45 Mbps',
|
||||||
'45045000' => 'DS3',
|
'45045000' => 'DS3',
|
||||||
@@ -1169,6 +1173,7 @@ SNMP::INFO INTERNALS
|
|||||||
3. Method is in %FUNCS
|
3. Method is in %FUNCS
|
||||||
4. Run $info->_load_attr(method) if not cached
|
4. Run $info->_load_attr(method) if not cached
|
||||||
5. Return $info->_show_attr(method).
|
5. Return $info->_show_attr(method).
|
||||||
|
|
||||||
Override any dynamic method listed in one of these hashes by creating a
|
Override any dynamic method listed in one of these hashes by creating a
|
||||||
subroutine with the same name.
|
subroutine with the same name.
|
||||||
|
|
||||||
@@ -1177,9 +1182,10 @@ SNMP::INFO INTERNALS
|
|||||||
|
|
||||||
COPYRIGHT AND LICENCE
|
COPYRIGHT AND LICENCE
|
||||||
|
|
||||||
Portions Copyright (c) 2003 Max Baker - All rights reserved.
|
Changes from SNMP::Info Version 0.7 and on are: Copyright (c)2003, 2004
|
||||||
|
Max Baker - All rights reserved.
|
||||||
|
|
||||||
Original Code Copyright (c) 2002-3, Regents of the University of
|
Original Code is: Copyright (c) 2002-3, Regents of the University of
|
||||||
California All rights reserved.
|
California All rights reserved.
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without
|
Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
Reference in New Issue
Block a user