sapTlsStpPortRole
TIMETRA-SAP-MIB ·
.1.3.6.1.4.1.6527.3.1.2.4.3.3.1.26
Object
column TIMETRA-SERV-MIBStpPortRole
sapTlsStpPortRole indicates the current role of the sap as defined by the Rapid Spanning Tree Protocol.
Context
- MIB
- TIMETRA-SAP-MIB
- OID
.1.3.6.1.4.1.6527.3.1.2.4.3.3.1.26- Type
- column
- Access
- readonly
- Status
- current
- Parent
- sapTlsInfoEntry
- Groups
- 4
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 'TIMETRA-SAP-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TIMETRA-SAP-MIB::sapTlsStpPortRole'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'TIMETRA-SAP-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TIMETRA-SAP-MIB::sapTlsStpPortRole.<svcId>.<sapPortId>.<sapEncapValue>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'TIMETRA-SAP-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'TIMETRA-SAP-MIB::sapTlsStpPortRole'
Syntax
- Source
- TIMETRA-SERV-MIBStpPortRole
- Base type
Enumeration
Values & Constraints
Type Values
0 | master |
1 | root |
2 | designated |
3 | alternate |
4 | backup |
5 | disabled |