ptpIfState
FS-SWITCH-V2-MIB ·
.1.3.6.1.4.1.52642.1.85.2.1.15
Object
column Enumeration
Ptp interface state.
Context
- MIB
- FS-SWITCH-V2-MIB
- OID
.1.3.6.1.4.1.52642.1.85.2.1.15- Type
- column
- Access
- readonly
- Status
- current
- Parent
- ptpIfConfigureEntry
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 'FS-SWITCH-V2-MIB' -M '/opt/observium/mibs/fscom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FS-SWITCH-V2-MIB::ptpIfState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'FS-SWITCH-V2-MIB' -M '/opt/observium/mibs/fscom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FS-SWITCH-V2-MIB::ptpIfState.<ptpIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'FS-SWITCH-V2-MIB' -M '/opt/observium/mibs/fscom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'FS-SWITCH-V2-MIB::ptpIfState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | normal |
1 | initializing |
2 | faulty |
3 | disabled |
4 | listening |
5 | premaster |
6 | master |
7 | passive |
8 | uncalibrated |
9 | slave |