lcsPTPClockConfDeviceType
LCOS-SX-MIB ·
.1.3.6.1.4.1.2356.14.2.28.5.1.3
Object
Indicates the Type of the Clock Instance. There are five Device Types. 0: Inactive - passive clock instance 1: Ord-Bound - clock's Device Type is Ordinary-Boundary Clock. 2: P2p Transp - clock's Device Type is Peer to Peer Transparent Clock. 3: E2e Transp - clock's Device Type is End to End Transparent Clock. 4: Master Only - clock's Device Type is Master Only. 5: Slave Only - clock's Device Type is Slave Only. 6: Boundary Clock frontend clock instance, only 1-step, 1-way is supported.
Context
- MIB
- LCOS-SX-MIB
- OID
.1.3.6.1.4.1.2356.14.2.28.5.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- lcsPTPClockConfEntry
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 'LCOS-SX-MIB' -M '/opt/observium/mibs/lancom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LCOS-SX-MIB::lcsPTPClockConfDeviceType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'LCOS-SX-MIB' -M '/opt/observium/mibs/lancom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LCOS-SX-MIB::lcsPTPClockConfDeviceType.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'LCOS-SX-MIB' -M '/opt/observium/mibs/lancom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'LCOS-SX-MIB::lcsPTPClockConfDeviceType'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Object Constraints
range: 1-65535
Type Constraints
range: -2147483648..2147483647