agentOspfStubRouterDuration
EdgeSwitch-ROUTING-MIB ·
.1.3.6.1.4.1.4413.1.1.2.19.4
Object
scalar SNMPv2-SMIUnsigned32
Time elapsed (in seconds) since the router last entered the stub router mode. This is valid only if the agentOspfStubRouterMode is 'active' and agentOspfStubRouterReason is 'resource-limitation'.
Context
- MIB
- EdgeSwitch-ROUTING-MIB
- OID
.1.3.6.1.4.1.4413.1.1.2.19.4- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- agentOspfStubRouterGroup
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 'EdgeSwitch-ROUTING-MIB' -M '/opt/observium/mibs/ubiquiti:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'EdgeSwitch-ROUTING-MIB::agentOspfStubRouterDuration.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'EdgeSwitch-ROUTING-MIB' -M '/opt/observium/mibs/ubiquiti:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'EdgeSwitch-ROUTING-MIB::agentOspfStubRouterDuration'
Syntax
- Source
- SNMPv2-SMIUnsigned32
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..4294967295