rptrPortSecurityLearnState
REPEATER-REV4-MIB ·
.1.3.6.1.4.1.52.4.1.1.1.4.3.9.1.1.10
Object
column mandatory
r/w
Enumeration
The learn state of the port. This object will only be applied to a port that is unlocked. If set to learn(1), all addresses are deleted on the port and learning begins once again. If it is set to noLearn(2), learning stops on the port.
Context
- MIB
- REPEATER-REV4-MIB
- OID
.1.3.6.1.4.1.52.4.1.1.1.4.3.9.1.1.10- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- rptrPortSecurityEntry
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 'REPEATER-REV4-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'REPEATER-REV4-MIB::rptrPortSecurityLearnState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'REPEATER-REV4-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'REPEATER-REV4-MIB::rptrPortSecurityLearnState.<rptrPortSecurityPortGrpId>.<rptrPortSecurityPortId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'REPEATER-REV4-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'REPEATER-REV4-MIB::rptrPortSecurityLearnState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | learn |
2 | noLearn |