ptpPriority2
FS-SWITCH-MIB ·
.1.3.6.1.4.1.27975.85.1.30
Object
scalar r/w
Integer32
The priority2 attribute of the local clock. Range 0~255.
Context
- MIB
- FS-SWITCH-MIB
- OID
.1.3.6.1.4.1.27975.85.1.30- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- ptpGlobalInfo
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 'FS-SWITCH-MIB' -M '/opt/observium/mibs/fscom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FS-SWITCH-MIB::ptpPriority2.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'FS-SWITCH-MIB' -M '/opt/observium/mibs/fscom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'FS-SWITCH-MIB::ptpPriority2'
Syntax
Integer32
Values & Constraints
Enumerated Values
6 | class6 |
7 | class7 |
13 | class13 |
14 | class14 |
52 | class52 |
58 | class58 |
187 | class187 |
193 | class193 |
248 | class248 |