hwNtpInInterfaceIfNumber
HUAWEI-NTP-MIB ·
.1.3.6.1.4.1.2011.6.4.2.12.1.2
Object
column Integer32
Indicates the interface number of the ingress interface. Range: 0-4093 Range for the VLAN interface: 1-4093 Range for the loopback interface: 0-31 The interface ID and interface type (hwNtpInInterfaceType) together identify the interface for enabling or disabling NTP packets reception.
Context
- MIB
- HUAWEI-NTP-MIB
- OID
.1.3.6.1.4.1.2011.6.4.2.12.1.2- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- hwNtpInInterfaceEntry
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-NTP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-NTP-MIB::hwNtpInInterfaceIfNumber'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-NTP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-NTP-MIB::hwNtpInInterfaceIfNumber.<hwNtpInInterfaceType>.<hwNtpInInterfaceIfNumber>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-NTP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-NTP-MIB::hwNtpInInterfaceIfNumber'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-4093