gDot1qVlanSpanningTreeGroup
GARP-MIB ·
qtech variant
·
.1.3.6.1.4.1.27514.1.2.4.2.1.4.3.1.7
Object
column r/w
Integer32
This object is used to Get/Set current vlan's spanning-tree group num
Context
- MIB
- GARP-MIB
- OID
.1.3.6.1.4.1.27514.1.2.4.2.1.4.3.1.7- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- gDot1qVlanStaticEntry
Net-SNMP examples
How SNMP and these commands workWalk 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 'GARP-MIB' -M '/opt/observium/mibs/qtech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'GARP-MIB::gDot1qVlanSpanningTreeGroup'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'GARP-MIB' -M '/opt/observium/mibs/qtech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'GARP-MIB::gDot1qVlanSpanningTreeGroup.<gDot1qVlanSlotIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'GARP-MIB' -M '/opt/observium/mibs/qtech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'GARP-MIB::gDot1qVlanSpanningTreeGroup'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-15