nwIpOspfIfCtrAdminStatus
CTRON-IP-ROUTER-MIB ·
.1.3.6.1.4.1.52.4.2.2.2.3.1.2.4.2.1.2.2.1.1.2
Object
column mandatory
r/w
Enumeration
Sets the administrative state of the OSPF packet and byte counters on the IP router port for which the entry exists. enabled(3) causes these counters to become active on the router port. disabled(2) turns these counters off.
Context
- MIB
- CTRON-IP-ROUTER-MIB
- OID
.1.3.6.1.4.1.52.4.2.2.2.3.1.2.4.2.1.2.2.1.1.2- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- nwIpOspfIfCtrEntry
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 '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::nwIpOspfIfCtrAdminStatus'
More examples
Read one indexed 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::nwIpOspfIfCtrAdminStatus.<nwIpOspfIfCtrIfIndex>'
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::nwIpOspfIfCtrAdminStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | disabled |
3 | enabled |