nbsSpanningTree
GSWITCH-MIB ·
.1.3.6.1.4.1.629.2.3.6
Object
scalar mandatory
r/w
Enumeration
Spanning Tree Enable.
1 - The BPDU(Bridge Protocol Data Unit) packets are treated
as Multicast Packets, and therefore are forwarded to
all ports.
2 - Forwards BPDU(Bridge Protocol Data Unit) packets to the CPU only.
Context
- MIB
- GSWITCH-MIB
- OID
.1.3.6.1.4.1.629.2.3.6- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- nbsDeviceControl
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'GSWITCH-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'GSWITCH-MIB::nbsSpanningTree.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'GSWITCH-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'GSWITCH-MIB::nbsSpanningTree'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | disable |
2 | enable |