rptrPortSecurityLearnMode
REPEATER-REV4-MIB ·
.1.3.6.1.4.1.52.4.1.1.1.4.3.9.1.1.11
Object
column mandatory
r/w
Enumeration
The learn mode of the port. If set to oneTime(1), the port is capable of learning two addresses and securing on both destination and source addresses (upon locking port). If set to continuous(2), all addresses are initially deleted and the port continuously replaces the existing secure source address with the latest source address it sees.
Context
- MIB
- REPEATER-REV4-MIB
- OID
.1.3.6.1.4.1.52.4.1.1.1.4.3.9.1.1.11- 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::rptrPortSecurityLearnMode'
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::rptrPortSecurityLearnMode.<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::rptrPortSecurityLearnMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | oneTime |
2 | continuous |