s3EnetPortAddrLearnMode
SYNOPTICS-ETHERNET-MIB ·
.1.3.6.1.4.1.45.1.3.2.3.1.1.22
Object
column mandatory
r/w
Enumeration
This object indicates whether the port should
automatically learn the port address by reading the
source address on the incoming packets. This object
applies only to ports on a LattisSecure Host Module.
For other ports, the agent returns the value other.
A Get will return the current learning mode of the port.
Setting to noAutoLearn(2) can be used to turn off
continuousLearn (3) or oneShotLearn(4).
The value of this object is in effect regardless of the
value of s3EnetConcSecureStatus or s3EnetPortAuthStatus.
Continuous learning is not compatible with LattisSecure
receive security, thus s3EnetPortAddrLearnMode should not
be set to continuousLearn(3) when s3EnetPortAuthStatus
is on(2). If this combination is set, the receive
security will not function.
If this object is set to oneShotLearn(4), the agent will
store the address (when it is learned) into the allowed
nodes tables. This can cause the current address to be
written over.
Because continuous learning is not compatible with
receive security, addresses learned while the port
is in continuous learning mode will not be stored in
the allowed nodes tables.
Attempts to set the value to other(1) on a LattisSecure
port will be rejected by the agent. Likewise, attempts
to set the value to noAutoLearn(2), continuousLearn(3),
or oneShotLearn(4) on a non-LattisSecure port will be
rejected.
Context
- MIB
- SYNOPTICS-ETHERNET-MIB
- OID
.1.3.6.1.4.1.45.1.3.2.3.1.1.22- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- s3EnetPortEntry
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 'SYNOPTICS-ETHERNET-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SYNOPTICS-ETHERNET-MIB::s3EnetPortAddrLearnMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SYNOPTICS-ETHERNET-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SYNOPTICS-ETHERNET-MIB::s3EnetPortAddrLearnMode.<s3EnetPortBoardIndex>.<s3EnetPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SYNOPTICS-ETHERNET-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SYNOPTICS-ETHERNET-MIB::s3EnetPortAddrLearnMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | noAutoLearn |
3 | continuousLearn |
4 | oneShotLearn |