nbVlansMacState
VLAN-MIB ·
.1.3.6.1.4.1.629.1.50.3.3.1.8
Object
column mandatory
r/w
Enumeration
State of the entry: Only 'valid(1)' entries participate
in the forwarding/filtering process.
The new entry is is created when PDU with nbVlansMacState=valid(1), nbVlansMac,
nbVlansMacVid and optionally nbVlansMacPort (default '0'),
nbVlansMacVidx (default nbVlansMacVid) and nbVlansMacStatus (default dynamic (1))
comes. If {nbVlansMac,nbVlansMacVid} exists, the bridge replaces it.
The old entry is deleted when PDU with nbVlansMacState=invalid(2), nbVlansMac,
nbVlansMacVid comes.
The old entry is modified when PDU with nbVlansMac, nbVlansMacVid and new
value of fields nbVlansMacPort and/or nbVlansMacVidx and/or nbVlansMacStatus comes
Context
- MIB
- VLAN-MIB
- OID
.1.3.6.1.4.1.629.1.50.3.3.1.8- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- nbVlansMacEntry
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 'VLAN-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'VLAN-MIB::nbVlansMacState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'VLAN-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'VLAN-MIB::nbVlansMacState.<nbVlansMacGetViewIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'VLAN-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'VLAN-MIB::nbVlansMacState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | valid |
2 | invalid |