tnEthRingState
TN-ETH-RING-MIB ·
.1.3.6.1.4.1.7483.6.1.2.72.1.1.1.20
Object
column Enumeration
The value of tnEthRingState indicates the current state of ERP instance, valid on all ERP Ring nodes. It is a combination of ERP Instance activation state and the state of the ERP Protocol.
Context
- MIB
- TN-ETH-RING-MIB
- OID
.1.3.6.1.4.1.7483.6.1.2.72.1.1.1.20- Type
- column
- Access
- readonly
- Status
- current
- Parent
- tnEthRingConfigEntry
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 'TN-ETH-RING-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TN-ETH-RING-MIB::tnEthRingState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'TN-ETH-RING-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TN-ETH-RING-MIB::tnEthRingState.<tnSysSwitchId>.<tnEthRingIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'TN-ETH-RING-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'TN-ETH-RING-MIB::tnEthRingState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | deactivated |
1 | idle |
2 | protection |
3 | manualSwitch |
4 | forcedSwitch |
5 | pending |