hwNtpServiceSourceInterfaceIfNumber
HUAWEI-NTP-MIB ·
.1.3.6.1.4.1.2011.6.4.2.4.2
Object
scalar r/w
Integer32
Indicates the interface ID. Range: 0-4093 Range for the tunnel interface: 1-64 Range for the NULL interface: 0 Range for the MEth interface: 0 Range for the VLAN interface: 1-4093 Range for the loopback interface: 0-31 The interface ID and interface type (hwNtpServiceSourceInterfaceIfType) together identify an interface.
Context
- MIB
- HUAWEI-NTP-MIB
- OID
.1.3.6.1.4.1.2011.6.4.2.4.2- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hwNtpServiceSourceInterfaceObject
- Groups
- 1
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-NTP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-NTP-MIB::hwNtpServiceSourceInterfaceIfNumber.0'
More examples
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::hwNtpServiceSourceInterfaceIfNumber'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-4093
Conformance
Member of