swIpMacBindingPortRecoverLearning
IP-MAC-BIND-MIB ·
.1.3.6.1.4.1.171.12.23.3.2.1.9
Object
column r/w
Enumeration
When set to start (2), it will change from the stop_learning state to the normal state on the specified port. When get, it always returns other (1).
Context
- MIB
- IP-MAC-BIND-MIB
- OID
.1.3.6.1.4.1.171.12.23.3.2.1.9- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- swIpMacBindingPortEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'IP-MAC-BIND-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IP-MAC-BIND-MIB::swIpMacBindingPortRecoverLearning'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'IP-MAC-BIND-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IP-MAC-BIND-MIB::swIpMacBindingPortRecoverLearning.<swIpMacBindingPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'IP-MAC-BIND-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'IP-MAC-BIND-MIB::swIpMacBindingPortRecoverLearning'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | start |