GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SNMP::Info::CiscoStpExtensions(3) User Contributed Perl Documentation SNMP::Info::CiscoStpExtensions(3)

SNMP::Info::CiscoStpExtensions - SNMP Interface to "CISCO-STP-EXTENSIONS-MIB"

Carlos Vicente

   my $stpx = new SNMP::Info(
                         AutoSpecify => 1,
                         Debug       => 1,
                         DestHost    => 'myswitch',
                         Community   => 'public',
                         Version     => 2
                       )

   or die "Can't connect to DestHost.\n";

   my $class = $stpx->class();
   print " Using device sub class : $class\n";

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(...);

SNMP::Info
SNMP::Info::Bridge

CISCO-STP-EXTENSIONS-MIB

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")

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")

$stpx->i_faststart_enabled()
Returns 1 or 0 depending on whether FastStart (aka PortFast) is enabled on a given port. Format is a hash reference with key = "ifIndex", value = [1|0]

("stpxFastStartPortEnable" and "stpxFastStartPortMode")

oct2str()
Unpacks H* into a string
2022-04-07 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.