hwSourceInterfaceNumber
HUAWEI-MNGT-MIB ·
.1.3.6.1.4.1.2011.6.3.19.1.1.3
Object
Source interface number, which is the interface number under the source interface type object and is used with the interface type to determine the interface from which packets are sent. The hwSourceInterfaceNumber value of -1 indicates the source interface is not configured.
Context
- MIB
- HUAWEI-MNGT-MIB
- OID
.1.3.6.1.4.1.2011.6.3.19.1.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwSysManSourceInterfaceEntry
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-MNGT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-MNGT-MIB::hwSourceInterfaceNumber'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-MNGT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-MNGT-MIB::hwSourceInterfaceNumber.<hwSysManProtocolType>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-MNGT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-MNGT-MIB::hwSourceInterfaceNumber'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647