| SNMP::Info::CiscoStpExtensions(3pm) | User Contributed Perl Documentation | SNMP::Info::CiscoStpExtensions(3pm) |
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(...);
These are methods that return scalar values from SNMP
Values: "pvstPlus", "mistp", "mistpPvstPlus", "mst", "rapidPvstPlus"
("stpxSpanningTreeType")
These are methods that return tables of information in the form of a reference to a hash.
("stpxSMSTConfigDigest")
("stpxMSTRegionName")
("stpxSMSTRegionRevision")
("stpxRootGuardConfigEnabled")
("stpxLoopGuardConfigEnabled")
("stpxFastStartPortBpduGuardMode")
("stpxFastStartBpduFilterEnable")
("stpxFastStartPortEnable" and "stpxFastStartPortMode")
| 2023-09-30 | perl v5.36.0 |