gatewayIPAddress
MOTOROLA-PTP-MIB ·
.1.3.6.1.4.1.17713.1.5.3
Object
scalar RFC1155-SMIIpAddress
The IP address of a computer on the current network that is currently acting as a network gateway. A gateway acts as an entrance / exit to packets from / to other networks
Context
- MIB
- MOTOROLA-PTP-MIB
- OID
.1.3.6.1.4.1.17713.1.5.3- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- configuration
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 'MOTOROLA-PTP-MIB' -M '/opt/observium/mibs/cambium:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MOTOROLA-PTP-MIB::gatewayIPAddress.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MOTOROLA-PTP-MIB' -M '/opt/observium/mibs/cambium:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MOTOROLA-PTP-MIB::gatewayIPAddress'
Syntax
- Source
- RFC1155-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4