agentGratuitousARPPortNumber
AGENT-GENERAL-MIB ·
.1.3.6.1.4.1.171.12.1.7.2.1.5
Object
scalar RFC1213-MIBDisplayString
This indicates the portNum with a string. For example, if the device is in standalone mode, and the port number is 23, the string should be 23. If the device is in stacking mode, and the unit ID is 2, and the port number is 3, the string should be 2:3.
Context
- MIB
- AGENT-GENERAL-MIB
- OID
.1.3.6.1.4.1.171.12.1.7.2.1.5- Type
- scalar
- Access
- notifyonly
- Status
- current
- Parent
- notificationBindings
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 'AGENT-GENERAL-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'AGENT-GENERAL-MIB::agentGratuitousARPPortNumber.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'AGENT-GENERAL-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'AGENT-GENERAL-MIB::agentGratuitousARPPortNumber'
Syntax
- Source
- RFC1213-MIBDisplayString
- Base type
OctetString
Values & Constraints
No enumerated values or constraints recorded.