1Info::CiscoStpExtensionUss(e3r)Contributed Perl DocumentIantfioo:n:CiscoStpExtensions(3)
2
3
4

NAME

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

AUTHOR

10       Carlos Vicente
11

SYNOPSIS

DESCRIPTION

14       Create or use a subclass of SNMP::Info that inherits this class.  Do
15       not use directly.
16
17       For debugging you can call new() directly as you would in SNMP::Info
18
19        my $stpx = new SNMP::Info::CiscoStpExtensions(...);
20
21   Inherited Classes
22       SNMP::Info
23       SNMP::Info::Bridge
24
25       MIBs can be found at ftp://ftp.cisco.com/pub/mibs/v2/v2.tar.gz
26

GLOBAL METHODS

28       These are methods that return scalar values from SNMP
29
30       $stpx->stp_ver()
31           Returns the particular STP version running on this device.  Meant
32           to override SNMP::Info::Brigde::stp_ver()
33
34           Values: "pvstPlus", "mistp", "mistpPvstPlus", "mst",
35           "rapidPvstPlus"
36
37           ("stpxSpanningTreeType")
38

TABLE METHODS

40       These are methods that return tables of information in the form of a
41       reference to a hash.
42
43       $stpx->mst_config_digest()
44           Returns the Multiple Spanning Tree (MST) configuration digest
45
46           ("stpxSMSTConfigDigest")
47
48       $stpx->mst_region_name()
49           Returns the Multiple Spanning Tree (MST) region name
50
51           ("stpxMSTRegionName")
52
53       $stpx->mst_region_rev()
54           Returns the Multiple Spanning Tree (MST) region name
55
56           ("stpxSMSTRegionRevision")
57
58       $stpx->mst_vlan2instance()
59           Returns the mapping of vlan to MST instance in the form of a hash
60           reference with key = VLAN id, value = STP instance
61
62       $stpx->i_rootguard_enabled()
63           Returns 1 or 0 depending on whether "RootGuard" is enabled on a
64           given port.  Format is a hash reference with key = "ifIndex", value
65           = [1|0]
66
67           ("stpxRootGuardConfigEnabled")
68
69       $stpx->i_loopguard_enabled()
70           Returns 1 or 0 depending on whether "LoopGuard" is enabled on a
71           given port.  Format is a hash reference with key = "ifIndex", value
72           = [1|0]
73
74           ("stpxLoopGuardConfigEnabled")
75
76       $stpx->i_bpduguard_enabled()
77           Returns 1 or 0 depending on whether "BpduGuard" is enabled on a
78           given port.  Format is a hash reference with key = "ifIndex", value
79           = [1|0]
80
81           ("stpxFastStartPortBpduGuardMode")
82
83       $stpx->i_bpdufilter_enabled()
84           Returns 1 or 0 depending on whether "BpduFilter" is enabled on a
85           given port.  Format is a hash reference with key = "ifIndex", value
86           = [1|0]
87
88           ("stpxFastStartBpduFilterEnable")
89

MUNGES

91       oct2str()
92           Unpacks H* into a string
93
94
95
96perl v5.12.0                      2009-06-12       Info::CiscoStpExtensions(3)
Impressum