zhRip2IfConfStaticRouteAdvertisement
ZHONE-COM-IP-RIPv2-MIB ·
.1.3.6.1.4.1.5504.4.1.2.3.1.8
Object
column r/w
Enumeration
This variable specifies whether to advertise static routes. When set to 'none', no static routes are advertised. For 'low', only low preference static routes are advertised, and when set to 'high' only high preference static routes are advertised. 'both' specifies to advertise both low and high preference static routes. Low preference routes are default routes. The default value is 'none'.
Context
- MIB
- ZHONE-COM-IP-RIPv2-MIB
- OID
.1.3.6.1.4.1.5504.4.1.2.3.1.8- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- zhRip2IfConfEntry
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 'ZHONE-COM-IP-RIPv2-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZHONE-COM-IP-RIPv2-MIB::zhRip2IfConfStaticRouteAdvertisement'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZHONE-COM-IP-RIPv2-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZHONE-COM-IP-RIPv2-MIB::zhRip2IfConfStaticRouteAdvertisement.<rdIndex>.<zhRip2IfConfAddress>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZHONE-COM-IP-RIPv2-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZHONE-COM-IP-RIPv2-MIB::zhRip2IfConfStaticRouteAdvertisement'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | none |
2 | low |
3 | high |
4 | both |