oaSwMacStatus
OASWITCH-MIB ·
.1.3.6.1.4.1.6926.1.5.1.2.1.30
Object
column mandatory
r/w
Enumeration
State of the entry: Only 'valid(1)' entries
participate in the forwarding/filtering process.
The new entry is created when PDU with
oaSwMacStatus=valid(1), oaSwMac, oaSwMacVid and
optionally oaSwMacPort (default '0'),
oaSwMacVidx (default oaSwMacVid) and
oaSwMacMode comes.
If {oaSwMac,oaSwMacVid} exists, the bridge replaces it.
The old entry is deleted when PDU with
oaSwMacStatus=invalid(2), oaSwMac, oaSwMacVid comes.
The old entry is modified when PDU with
oaSwMac, oaSwMacVid and new value of fields oaSwMacPort
and/or oaSwMacVidx and/or oaSwMacMode comes.
Context
- MIB
- OASWITCH-MIB
- OID
.1.3.6.1.4.1.6926.1.5.1.2.1.30- 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::oaSwMacStatus'
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::oaSwMacStatus.<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::oaSwMacStatus'
Syntax
Enumeration
Values & Constraints
No enumerated values or constraints recorded.