ver 0.7 prep
This commit is contained in:
62
README
62
README
@@ -5,14 +5,14 @@ NAME
|
||||
|
||||
VERSION
|
||||
|
||||
SNMP::Info - Version 0.6
|
||||
SNMP::Info - Version 0.7
|
||||
|
||||
AUTHOR
|
||||
|
||||
Max Baker ("max@warped.org")
|
||||
Max Baker
|
||||
|
||||
SNMP::Info was created at UCSC for the netdisco project
|
||||
(www.netdisco.org)
|
||||
(www.netdisco.org) and is now maintained by Max Baker.
|
||||
|
||||
SYNOPSIS
|
||||
|
||||
@@ -160,6 +160,27 @@ DESCRIPTION
|
||||
cd /usr/local/share/snmp/mibs
|
||||
tar xvfz /path/to/v1.tar.gz BRIDGE-MIB.my SNMP-REPEATER-MIB.my ESSWITCH-MIB.my
|
||||
|
||||
Fix CISCO-TC-MIB
|
||||
There is a problem with the Cisco file CISCO-TC.my which is
|
||||
included from lots of other MIBs. Make the following changes if
|
||||
you run into errors about "Unsigned32" in this file.
|
||||
|
||||
Edit /usr/local/share/snmp/mibs/CISCO-TC.my
|
||||
|
||||
Comment out line 192 that says "SMI Unsigned32" with two dashes.
|
||||
|
||||
-- SMI Unsigned32
|
||||
|
||||
Add "Unsigned32" to the imports after line 19:
|
||||
|
||||
IMPORTS
|
||||
MODULE-IDENTITY,
|
||||
Gauge32,
|
||||
Integer32,
|
||||
Counter64,
|
||||
Unsigned32,
|
||||
FROM SNMPv2-SMI
|
||||
|
||||
More Specific MIBs
|
||||
Some non-cisco subclasses will need MIBs other than the basic
|
||||
one available from Cisco.
|
||||
@@ -302,6 +323,11 @@ DESCRIPTION
|
||||
SNMP::Info::Layer3::C3550
|
||||
Subclass for Cisco Catalyst 3550 2/3 switches running IOS.
|
||||
|
||||
Thanks
|
||||
|
||||
Thanks for testing and coding help (in no particular order) to : Andy
|
||||
Ford, Brian Wilson, Jean-Philippe Luiggi, D<>na Watanabe
|
||||
|
||||
USAGE
|
||||
|
||||
Constructor
|
||||
@@ -393,13 +419,15 @@ USAGE
|
||||
Layer3 Support -> SNMP::Info::Layer3
|
||||
Aironet (non IOS) -> SNMP::Info::Layer3::Aironet
|
||||
Catalyst 3550 -> SNMP::Info::Layer3::C3550
|
||||
Catalyst 6500 -> SNMP::Info::Layer3::C6500
|
||||
Foundry -> SNMP::Info::Layer3::Foundry
|
||||
Elsif Layer2 (no Layer3) -> SNMP::Info::Layer2
|
||||
Aironet (Cisco) AP1100 -> SNMP::Info::Layer2::Aironet
|
||||
Bay Networks -> SNMP::Info::Layer2::Bay
|
||||
Catalyst 1900 -> SNMP::Info::Layer2::C1900
|
||||
Catalyst 2900XL (IOS) -> SNMP::Info::Layer2::C2900
|
||||
Catalyst WS-C (2926,5xxx,6xxx) -> SNMP::Info::Layer2::Catalyst
|
||||
Catalyst 2900XL/2950(IOS) -> SNMP::Info::Layer2::C2900
|
||||
Catalyst 3550/3548 -> SNMP::Info::Layer3::C3550
|
||||
Catalyst WS-C 2926,5xxx -> SNMP::Info::Layer2::Catalyst
|
||||
HP Procurve -> SNMP::Info::Layer2::HP
|
||||
Elsif Layer1 Support -> SNMP::Info::Layer1
|
||||
Allied -> SNMP::Info::Layer1::Allied
|
||||
@@ -988,27 +1016,35 @@ SNMP::INFO INTERNALS
|
||||
Makes human friendly speed ratings using %SPEED_MAP
|
||||
|
||||
%SPEED_MAP = (
|
||||
'56000' => '56 kbps',
|
||||
'64000' => '64 kbps',
|
||||
'1500000' => '1.5 Mbps',
|
||||
'1536000' => 'T1',
|
||||
'1544000' => 'T1',
|
||||
'2000000' => '2.0 Mbps',
|
||||
'2048000' => '2.048 Mbps',
|
||||
'3072000' => 'Dual T1',
|
||||
'3088000' => 'Dual T1',
|
||||
'4000000' => '4.0 Mbps',
|
||||
'10000000' => '10 Mbps',
|
||||
'11000000' => '11 Mbps',
|
||||
'20000000' => '20 Mbps',
|
||||
'16000000' => '16 Mbps',
|
||||
'45000000' => 'DS3',
|
||||
'44736000' => 'T3',
|
||||
'45000000' => '45 Mbps',
|
||||
'45045000' => 'DS3',
|
||||
'64000000' => '64 Mbps',
|
||||
'100000000' => '100 Mbps',
|
||||
'149760000' => 'OC-1'
|
||||
'155000000' => 'OC-1'
|
||||
'149760000' => 'ATM on OC-3',
|
||||
'155000000' => 'OC-3',
|
||||
'155519000' => 'OC-3',
|
||||
'155520000' => 'OC-3',
|
||||
'400000000' => '400 Mbps',
|
||||
'599040000' => 'ATM on OC-12',
|
||||
'622000000' => 'OC-12',
|
||||
'599040000' => 'OC-12',
|
||||
'622080000' => 'OC-12',
|
||||
'1000000000' => '1.0 Gbps',
|
||||
);
|
||||
)
|
||||
|
||||
munge_ip()
|
||||
Takes a binary IP and makes it dotted ASCII
|
||||
@@ -1141,8 +1177,10 @@ SNMP::INFO INTERNALS
|
||||
|
||||
COPYRIGHT AND LICENCE
|
||||
|
||||
Copyright (c) 2002-3, Regents of the University of California All rights
|
||||
reserved.
|
||||
Portions Copyright (c) 2003 Max Baker - All rights reserved.
|
||||
|
||||
Original Code Copyright (c) 2002-3, Regents of the University of
|
||||
California All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are
|
||||
|
||||
Reference in New Issue
Block a user