ospfAdvertiseDefaultRoute
QTECH-ALT-MIB ·
.1.3.6.1.4.1.2751.100.16.4.1.4
Object
scalar r/w
Enumeration
If always is set, always advertises the default route regardless of whether the default route exists;If notalways is set ,advertises the default route when the router have the default route.
Context
- MIB
- QTECH-ALT-MIB
- OID
.1.3.6.1.4.1.2751.100.16.4.1.4- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- ospfSystemGroup
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 'QTECH-ALT-MIB' -M '/opt/observium/mibs/qtech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'QTECH-ALT-MIB::ospfAdvertiseDefaultRoute.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'QTECH-ALT-MIB' -M '/opt/observium/mibs/qtech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'QTECH-ALT-MIB::ospfAdvertiseDefaultRoute'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | disable |
1 | always |
2 | notAlways |