hwResourceType
HUAWEI-ETHERLIKE-EXT-MIB ·
.1.3.6.1.4.1.2011.5.14.30.1.1
Object
column Enumeration
Indicates the resource type.
Options:
1. mac(1) -indicates that the resource is the MAC address.
2. ipneighbourhardware(2) -indicates that the resource is the ip neighbour hardware.
3. iproutehardware(3) -indicates that the resource is the ip route hardware.
The type only supports the trap of hwIPRouteHardwareOverloadTrap and hwIPRouteHardwareOverloadRestoreTrap.
4. iptunnelhardware(4) -indicates that the resource is the ip tunnel hardware.
The type only supports the trap of hwIPTunnelHardwareOverloadTrap and hwIPTunnelHardwareOverloadRestoreTrap.
5. vpnhardware(5) -indicates that the resource is the VNI PEER hardware.
The type only supports the trap of hwVPNHardwareOverloadTrap and hwVPNHardwareOverloadRestoreTrap.
6. srv6tunnelhardware(6) -indicates that the resource is the segment-routing ipv6 tunnel hardware.
The type only supports the trap of hwSRv6TunnelHardwareOverloadTrap and hwSRv6TunnelHardwareOverloadRestoreTrap.
Context
- MIB
- HUAWEI-ETHERLIKE-EXT-MIB
- OID
.1.3.6.1.4.1.2011.5.14.30.1.1- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- hwResourceOverloadAwareEntry
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 'HUAWEI-ETHERLIKE-EXT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-ETHERLIKE-EXT-MIB::hwResourceType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-ETHERLIKE-EXT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-ETHERLIKE-EXT-MIB::hwResourceType.<hwResourceType>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-ETHERLIKE-EXT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-ETHERLIKE-EXT-MIB::hwResourceType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | mac |
2 | ipneighbourhardware |
3 | iproutehardware |
4 | iptunnelhardware |
5 | vpnhardware |
6 | srv6tunnelhardware |