staticRouteEnable
ZHONE-COM-IP-STATIC-ROUTE-MIB ·
.1.3.6.1.4.1.5504.4.1.13.1.1.6
Object
column r/w
Enumeration
An enumeration of the administrative state of the static route. The possible values are either 'disabled' or 'enabled', where the static route entry is not considered when making forwarding decisions for 'disabled', and is so for 'enabled'. The default is 'enabled'.
Context
- MIB
- ZHONE-COM-IP-STATIC-ROUTE-MIB
- OID
.1.3.6.1.4.1.5504.4.1.13.1.1.6- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- staticRouteEntry
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-STATIC-ROUTE-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZHONE-COM-IP-STATIC-ROUTE-MIB::staticRouteEnable'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZHONE-COM-IP-STATIC-ROUTE-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZHONE-COM-IP-STATIC-ROUTE-MIB::staticRouteEnable.<rdIndex>.<staticRouteDest>.<staticRouteNetMask>.<staticRouteNextHop>.<staticRouteIfNumber>.<staticRouteType>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZHONE-COM-IP-STATIC-ROUTE-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZHONE-COM-IP-STATIC-ROUTE-MIB::staticRouteEnable'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | disabled |
2 | enabled |