oaSwMacPort
OASWITCH-MIB ·
.1.3.6.1.4.1.6926.1.5.1.2.1.9
Object
column mandatory
r/w
Integer32
Port of the entry. '0' value indicates that the port number has not been learned but that the bridge does have some forwarding/filtering information about this address. Another words, the frame will be forwarding 'to the CPU only' and the bridge will sovle, what it must be done with this frame.
Context
- MIB
- OASWITCH-MIB
- OID
.1.3.6.1.4.1.6926.1.5.1.2.1.9- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- oaSwMacEntry
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 'OASWITCH-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OASWITCH-MIB::oaSwMacPort'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OASWITCH-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OASWITCH-MIB::oaSwMacPort.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OASWITCH-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OASWITCH-MIB::oaSwMacPort'
Syntax
Integer32
Values & Constraints
No enumerated values or constraints recorded.