rcMstpXstPortIndex
SWITCH-MSTP-MIB ·
.1.3.6.1.4.1.8886.6.1.24.8.1.2
Object
column Integer32
A unique value, greater than zero, for each Port. The value for each interface sub-layer must remain constant at least from one re-initialization of the entity's network management system to the next re-initialization.
Context
- MIB
- SWITCH-MSTP-MIB
- OID
.1.3.6.1.4.1.8886.6.1.24.8.1.2- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- rcMstpXstPortEntry
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 'SWITCH-MSTP-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWITCH-MSTP-MIB::rcMstpXstPortIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SWITCH-MSTP-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWITCH-MSTP-MIB::rcMstpXstPortIndex.<rcMstpXstPortXstId>.<rcMstpXstPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SWITCH-MSTP-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SWITCH-MSTP-MIB::rcMstpXstPortIndex'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-4094