connRoutePrimaryCause
NEC-MIB ·
.1.3.6.1.4.1.119.2.3.14.9.4.3.2.1.17
Object
column mandatory
Enumeration
Cause of the switching from the primary route.
Context
- MIB
- NEC-MIB
- OID
.1.3.6.1.4.1.119.2.3.14.9.4.3.2.1.17- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- connRouteEntry
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 'NEC-MIB' -M '/opt/observium/mibs/nec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NEC-MIB::connRoutePrimaryCause'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'NEC-MIB' -M '/opt/observium/mibs/nec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NEC-MIB::connRoutePrimaryCause.<connRouteAtmAddressFormat>.<connRouteAtmAddressLength>.<connRouteAtmAddress>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NEC-MIB' -M '/opt/observium/mibs/nec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NEC-MIB::connRoutePrimaryCause'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | normal |
1 | other |
2 | outOfService |
3 | testing |
4 | lineInterface-Down |
5 | lineInterface-Failure |
6 | sw-Engine-Failure |
7 | sw-Engine-SwapOUT |
99 | notInstalled |