osPtpSlaveGatewayAddress
OS-PTP-MIB ·
.1.3.6.1.4.1.6926.2.22.1.3.2.1.4
Object
Network Address (of the type osPtpSlaveAddressType) of Gateway used by the ptp port used to find ptp masters outside the subnet (not needed if the Vif Address can function as a gateway)
Context
- MIB
- OS-PTP-MIB
- OID
.1.3.6.1.4.1.6926.2.22.1.3.2.1.4- 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::osPtpSlaveGatewayAddress.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::osPtpSlaveGatewayAddress'
Syntax
- Source
- INET-ADDRESS-MIBInetAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 0..255
Conformance
Member of