osPtpSlavePortVifName
OS-PTP-MIB ·
.1.3.6.1.4.1.6926.2.22.1.3.2.1.2
Object
scalar r/w
OctetString
vif used by the ptp port and ther ports in the optiswitch used to communicate with ptp masters
Context
- MIB
- OS-PTP-MIB
- OID
.1.3.6.1.4.1.6926.2.22.1.3.2.1.2- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- osPtpMIBSlaveCfgGen
- Groups
- 1
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 'OS-PTP-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OS-PTP-MIB::osPtpSlavePortVifName.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OS-PTP-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OS-PTP-MIB::osPtpSlavePortVifName'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-20
Conformance
Member of