hwNtpSessionSourceMaster
HUAWEI-NTP-MIB ·
.1.3.6.1.4.1.2011.6.4.2.13.1.5
Object
column SNMPv2-TCTruthValue
Indicates the flag of the current system clock source. Options: 1. true(1) -indicates that the clock is the current system clock source 2. false(2) -indicates that the clock is not the current system clock source
Context
- MIB
- HUAWEI-NTP-MIB
- OID
.1.3.6.1.4.1.2011.6.4.2.13.1.5- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwNtpQueryNtpServerSessionEntry
- Groups
- 1
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::hwNtpSessionSourceMaster'
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::hwNtpSessionSourceMaster.<hwNtpSessionAssociationID>'
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::hwNtpSessionSourceMaster'
Syntax
- Source
- SNMPv2-TCTruthValue
- Base type
Enumeration
Type Description
Represents a boolean value.
Values & Constraints
Type Values
1 | true |
2 | false |
Conformance
Member of