nbsPortSpaning

GSWITCH-MIB · .1.3.6.1.4.1.629.2.5.1.1.9

Object

column mandatory r/w Enumeration
Spaning Tree Enable.
Meaniningful only when Spaning Tree for the switch is set
(nbsSpanningTree) is set.
 1 - All packets are accepted.
2 - The Switch-G discards all incoming/outgoing packets
 except for BPDU packets

Context

MIB
GSWITCH-MIB
OID
.1.3.6.1.4.1.629.2.5.1.1.9
Type
column
Access
readwrite
Status
mandatory
Parent
nbsPortsContEntry

Walk the column to discover its indexed instances, or supply every index to read one instance.

Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'GSWITCH-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'GSWITCH-MIB::nbsPortSpaning'
More examples
Read one indexed 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::nbsPortSpaning.<nbsPortIndex1>'
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::nbsPortSpaning'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1accept
2discard