vlanIdConfigRstpVlanId
G6-VLAN-MIB ·
.1.3.6.1.4.1.3181.10.6.2.82.2.1.5
Object
column r/w
Integer32
RSTP VLAN ID. When using single instance Spanning Tree (STP or RSTP) in combination with VLANs, all spanning tree messages are tagged with this VLAN ID.
Context
- MIB
- G6-VLAN-MIB
- OID
.1.3.6.1.4.1.3181.10.6.2.82.2.1.5- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- vlanIdConfigEntry
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 'G6-VLAN-MIB' -M '/opt/observium/mibs/microsens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'G6-VLAN-MIB::vlanIdConfigRstpVlanId'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'G6-VLAN-MIB' -M '/opt/observium/mibs/microsens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'G6-VLAN-MIB::vlanIdConfigRstpVlanId.<vlanIdConfigIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'G6-VLAN-MIB' -M '/opt/observium/mibs/microsens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'G6-VLAN-MIB::vlanIdConfigRstpVlanId'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-65535