From 605ae68f6b2d390412d0ede6751dd6ae49b8bdd6 Mon Sep 17 00:00:00 2001 From: nick n <39005454+inphobia@users.noreply.github.com> Date: Sun, 10 Feb 2019 06:58:36 +0100 Subject: [PATCH] mention info::snmp::cdp req req mibs would also be nice. --- lib/SNMP/Info/Layer2/CiscoSB.pm | 36 +++++++++++++++++++-------------- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/lib/SNMP/Info/Layer2/CiscoSB.pm b/lib/SNMP/Info/Layer2/CiscoSB.pm index 3348781f..88ac98d5 100644 --- a/lib/SNMP/Info/Layer2/CiscoSB.pm +++ b/lib/SNMP/Info/Layer2/CiscoSB.pm @@ -1,5 +1,4 @@ # SNMP::Info::Layer2::CiscoSB -# $Id$ # # Copyright (c) 2013 Nic Bernstein # @@ -149,7 +148,6 @@ sub interfaces { return $interfaces; } - 1; __END__ @@ -185,15 +183,17 @@ managed switches. [i.e. those matching enterprises(1).cisco(9).otherEnterprises( =over -=item SNMP::Info::Layer2 +=item SNMP::Info::CDP + +=item SNMP::Info::CiscoConfig + +=item SNMP::Info::CiscoStats =item SNMP::Info::Entity =item SNMP::Info::EtherLike -=item SNMP::Info::CiscoStats - -=item SNMP::Info::CiscoConfig +=item SNMP::Info::Layer2 =back @@ -209,18 +209,10 @@ MIBs required by the inherited classes listed above. =head1 GLOBALS -These are methods that return scalar value from SNMP +These are methods that return scalar value from SNMP. =over -=item $ciscosb->vendor() - -Returns 'cisco' - -=item $ciscosb->os() - -Returns 'ros' - =item $ciscosb->os_ver() Returns software version (C) @@ -236,6 +228,20 @@ Returns model and hardware revision of unit =back +=head2 Overrides + +=over + +=item $ciscosb->vendor() + +Returns 'cisco'. + +=item $ciscosb->os() + +Returns 'ros'. + +=back + =head2 Globals imported from SNMP::Info::Layer2 See documentation in L for details.