zxGponIpStaticRouteNextHopType
ZXGPON-ONTMGMT-MIB ·
.1.3.6.1.4.1.3902.1012.3.50.16.3.1.4
Object
The type of the zxGponIpStaticRouteNextHopType address, as defined in the InetAddress MIB. Value should be set to unknown(0) for non-remote routes. Only those address types that may appear in an actual routing table are allowed as values of this object.
Context
- MIB
- ZXGPON-ONTMGMT-MIB
- OID
.1.3.6.1.4.1.3902.1012.3.50.16.3.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- zxGponIpStaticRouteEntry
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 'ZXGPON-ONTMGMT-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZXGPON-ONTMGMT-MIB::zxGponIpStaticRouteNextHopType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZXGPON-ONTMGMT-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZXGPON-ONTMGMT-MIB::zxGponIpStaticRouteNextHopType.<zxGponOltIndex>.<zxGponONTIndex>.<zxGponIpStaticRouteDestType>.<zxGponIpStaticRouteDest>.<zxGponIpStaticRoutePfxLen>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZXGPON-ONTMGMT-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZXGPON-ONTMGMT-MIB::zxGponIpStaticRouteNextHopType'
Syntax
- Source
- INET-ADDRESS-MIBInetAddressType
- Base type
Enumeration
Values & Constraints
Type Values
0 | unknown |
1 | ipv4 |
2 | ipv6 |
3 | ipv4z |
4 | ipv6z |
16 | dns |
25 | l2vpn |