h3cDefaultRtNextHopType
H3C-TRAP-MIB ·
.1.3.6.1.4.1.2011.10.2.38.1.3.4.2
Object
The IP address type of the next hop of the default route. The value must be ipv4 or ipv6
Context
- MIB
- H3C-TRAP-MIB
- OID
.1.3.6.1.4.1.2011.10.2.38.1.3.4.2- Type
- scalar
- Access
- notifyonly
- Status
- current
- Parent
- h3cRtTabTrapInfo
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 'H3C-TRAP-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-TRAP-MIB::h3cDefaultRtNextHopType.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'H3C-TRAP-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'H3C-TRAP-MIB::h3cDefaultRtNextHopType'
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 |