nwIpOspfCtrAdminStatus
CTRON-IP-ROUTER-MIB ·
.1.3.6.1.4.1.52.4.2.2.2.3.1.2.4.2.1.1.2.1
Object
scalar mandatory
r/w
Enumeration
Sets the operating condition of the aggregate (device-wide) OSPF packet and byte counters. enable (3) causes these counters to become active on any router ports running OSPF. disabled (2) cause these counters to become inactive on any router port running OSPF.
Context
- MIB
- CTRON-IP-ROUTER-MIB
- OID
.1.3.6.1.4.1.52.4.2.2.2.3.1.2.4.2.1.1.2.1- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- nwIpOspfCounters
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CTRON-IP-ROUTER-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CTRON-IP-ROUTER-MIB::nwIpOspfCtrAdminStatus.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CTRON-IP-ROUTER-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CTRON-IP-ROUTER-MIB::nwIpOspfCtrAdminStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | disabled |
3 | enabled |