hw1588ClkType
HUAWEI-CLK-MIB ·
.1.3.6.1.4.1.2011.6.25.1.3.9
Object
scalar r/w
Enumeration
The 1588 clock type of device.
Options:
1. oc(1) - indicates that 1588 clock type is Ordinary Clock
2. bc(2) - indicates that 1588 clock type is Boundary Clock
3. tc(3) - indicates that 1588 clock type is Transparent Clock
4. tcoc(4) - indicates that 1588 clock type is combination of
transparent clock and ordinary clock
5. tcbc(5) - indicates that 1588 clock type is combination of
transparent clock and boundary Clock
6. tbc(6) - indicates that 1588 clock type is Telecommunication Boundary Clock
7. invalid(255) - indicates that the 1588 clock type is not available
Context
- MIB
- HUAWEI-CLK-MIB
- OID
.1.3.6.1.4.1.2011.6.25.1.3.9- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hwSystemClockManagePara
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-CLK-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-CLK-MIB::hw1588ClkType.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-CLK-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-CLK-MIB::hw1588ClkType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | oc |
2 | bc |
3 | tc |
4 | tcoc |
5 | tcbc |
6 | tbc |
255 | invalid |