agentGratuitousARPLearningState
AGENT-GENERAL-MIB ·
.1.3.6.1.4.1.171.12.1.2.12.2.3
Object
scalar r/w
Enumeration
This is used to enable/disable learning of an ARP entry in the ARP cache based on the received gratuitous ARP packet. If the switch receives a gratuitous ARP request/reply packet and the sender's IP address is in its ARP table, it should update the ARP entry. By default, the state is disabled.
Context
- MIB
- AGENT-GENERAL-MIB
- OID
.1.3.6.1.4.1.171.12.1.2.12.2.3- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- agentGratuitousARPMgmt
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::agentGratuitousARPLearningState.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::agentGratuitousARPLearningState'
Syntax
Enumeration
Values & Constraints
No enumerated values or constraints recorded.