hwInterfaceNumber
HUAWEI-SNMPTrap-MIB ·
.1.3.6.1.4.1.2011.6.3.14.3
Object
The number of the source interface for sending trap. If hwTrapSourceType is set to meth(2) or vlanif(3), you also need to set hwInterfaceNumber.
Context
- MIB
- HUAWEI-SNMPTrap-MIB
- OID
.1.3.6.1.4.1.2011.6.3.14.3- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hwSNMPTrapCommunity
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 'HUAWEI-SNMPTrap-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-SNMPTrap-MIB::hwInterfaceNumber.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-SNMPTrap-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-SNMPTrap-MIB::hwInterfaceNumber'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647