Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

snmp::info::ciscostpextensions(3pm) [debian man page]

Info::CiscoStpExtensions(3pm)				User Contributed Perl Documentation			     Info::CiscoStpExtensions(3pm)

NAME
SNMP::Info::CiscoStpExtensions - SNMP Interface to "CISCO-STP-EXTENSIONS-MIB" AUTHOR
Carlos Vicente SYNOPSIS
DESCRIPTION
Create or use a subclass of SNMP::Info that inherits this class. Do not use directly. For debugging you can call new() directly as you would in SNMP::Info my $stpx = new SNMP::Info::CiscoStpExtensions(...); Inherited Classes SNMP::Info SNMP::Info::Bridge MIBs can be found at ftp://ftp.cisco.com/pub/mibs/v2/v2.tar.gz GLOBAL METHODS
These are methods that return scalar values from SNMP $stpx->stp_ver() Returns the particular STP version running on this device. Meant to override SNMP::Info::Brigde::stp_ver() Values: "pvstPlus", "mistp", "mistpPvstPlus", "mst", "rapidPvstPlus" ("stpxSpanningTreeType") TABLE METHODS
These are methods that return tables of information in the form of a reference to a hash. $stpx->mst_config_digest() Returns the Multiple Spanning Tree (MST) configuration digest ("stpxSMSTConfigDigest") $stpx->mst_region_name() Returns the Multiple Spanning Tree (MST) region name ("stpxMSTRegionName") $stpx->mst_region_rev() Returns the Multiple Spanning Tree (MST) region name ("stpxSMSTRegionRevision") $stpx->mst_vlan2instance() Returns the mapping of vlan to MST instance in the form of a hash reference with key = VLAN id, value = STP instance $stpx->i_rootguard_enabled() Returns 1 or 0 depending on whether "RootGuard" is enabled on a given port. Format is a hash reference with key = "ifIndex", value = [1|0] ("stpxRootGuardConfigEnabled") $stpx->i_loopguard_enabled() Returns 1 or 0 depending on whether "LoopGuard" is enabled on a given port. Format is a hash reference with key = "ifIndex", value = [1|0] ("stpxLoopGuardConfigEnabled") $stpx->i_bpduguard_enabled() Returns 1 or 0 depending on whether "BpduGuard" is enabled on a given port. Format is a hash reference with key = "ifIndex", value = [1|0] ("stpxFastStartPortBpduGuardMode") $stpx->i_bpdufilter_enabled() Returns 1 or 0 depending on whether "BpduFilter" is enabled on a given port. Format is a hash reference with key = "ifIndex", value = [1|0] ("stpxFastStartBpduFilterEnable") MUNGES
oct2str() Unpacks H* into a string perl v5.12.4 2011-09-28 Info::CiscoStpExtensions(3pm)

Check Out this Related Man Page

Info::Layer3::Juniper(3pm)				User Contributed Perl Documentation				Info::Layer3::Juniper(3pm)

NAME
SNMP::Info::Layer3::Juniper - SNMP Interface to L3 Juniper Devices AUTHOR
Bill Fenner SYNOPSIS
# Let SNMP::Info determine the correct subclass for you. my $juniper = new SNMP::Info( AutoSpecify => 1, Debug => 1, DestHost => 'myrouter', Community => 'public', Version => 2 ) or die "Can't connect to DestHost. "; my $class = $juniper->class(); print "SNMP::Info determined this device to fall under subclass : $class "; DESCRIPTION
Subclass for Generic Juniper Routers running JUNOS Inherited Classes SNMP::Info::Layer3 SNMP::Info::LLDP Required MIBs Inherited Classes' MIBs See "Required MIBs" in SNMP::Info::Layer3 for its own MIB requirements. See "Required MIBs" in SNMP::Info::LLDP for its own MIB requirements. GLOBALS
These are methods that return scalar value from SNMP $juniper->vendor() Returns 'juniper' $juniper->os() Returns 'junos' $juniper->os_ver() Returns the software version extracted from "sysDescr". $juniper->model() Returns the model from "sysObjectID", with "jnxProductNameremoved" from the beginning. $juniper->serial() Returns serial number ("jnxBoxSerialNo.0") $juniper->hasCDP() Returns whether LLDP is enabled. Globals imported from SNMP::Info::Layer3 See documentation in "GLOBALS" in SNMP::Info::Layer3 for details. Global Methods imported from SNMP::Info::LLDP See documentation in "GLOBALS" in SNMP::Info::LLDP for details. TABLE METHODS
These are methods that return tables of information in the form of a reference to a hash. $juniper->i_vlan() Returns the list of interfaces whose "ifType" is l2vlan(135), and the VLAN ID extracted from the interface description. $juniper->c_id() Returns LLDP information. $juniper->c_if() Returns LLDP information. $juniper->c_ip() Returns LLDP information. $juniper->c_platform() Returns LLDP information. $juniper->c_port() Returns LLDP information. Forwarding Table ("dot1dTpFdbEntry") $juniper->fw_mac() Returns reference to hash of forwarding table MAC Addresses ("dot1dTpFdbAddress") $juniper->fw_port() Returns reference to hash of forwarding table entries port interface identifier (iid) ("dot1dTpFdbPort") Table Methods imported from SNMP::Info::Layer3 See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details. Table Methods imported from SNMP::Info::LLDP See documentation in "TABLE METHODS" in SNMP::Info::LLDP for details. perl v5.12.4 2011-09-28 Info::Layer3::Juniper(3pm)
Man Page