hh3cSysClockProtocolSrcMdc
HH3C-SYS-MAN-MIB ·
.1.3.6.1.4.1.25506.2.3.1.1.4.2
Object
scalar r/w
Integer32
The MDC ID that is used for the system time source. This node is valid when the clock protocol is NTP or PTP. If MDC is not supported on this system, this node is invalid. If the device supports MDC, the system time will be obtained from NTP or PTP on the specified MDC. If the device supports context and MDC, the most recent configuration of hh3cSysClockProtocolSrcContext and hh3cSysClockProtocolSrcMdc takes effect if set multiple times, and another one will be set to zero as an invalid value.
Context
- MIB
- HH3C-SYS-MAN-MIB
- OID
.1.3.6.1.4.1.25506.2.3.1.1.4.2- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hh3cSysClockProtocolGroup
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 'HH3C-SYS-MAN-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-SYS-MAN-MIB::hh3cSysClockProtocolSrcMdc.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HH3C-SYS-MAN-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HH3C-SYS-MAN-MIB::hh3cSysClockProtocolSrcMdc'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-2147483647