ostPtpGlobalCfgServerIp2String
OMNITRON-PTP-MIB ·
.1.3.6.1.4.1.7342.14.1.10
Object
This object configures the IPv4 or IPv6 address for clock source
Server 2. For GM4 only.
Setting this object also impacts the ostPtpGlobalCfgServerIp2
returned value. If an IPv4 address is written to this object the
two objects return the same value. If this object is set with an IPv6
address then ostPtpGlobalCfgServerIp2 returns an all zeros value.
When this object returns the IPv4 default value Server IP 2 is
not used.
Context
- MIB
- OMNITRON-PTP-MIB
- OID
.1.3.6.1.4.1.7342.14.1.10- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- ostPtpGlobalCfgTable
- 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 'OMNITRON-PTP-MIB' -M '/opt/observium/mibs/omnitron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OMNITRON-PTP-MIB::ostPtpGlobalCfgServerIp2String.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OMNITRON-PTP-MIB' -M '/opt/observium/mibs/omnitron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OMNITRON-PTP-MIB::ostPtpGlobalCfgServerIp2String'
Syntax
- Source
- OMNITRON-TC-MIBOstIpAddr
- Base type
OctetString
Values & Constraints
Type Constraints
range: 0..39
Conformance
Member of