osDot1agMaPrimaryVlanId
OS-DOT1AG-MIB ·
.1.3.6.1.4.1.629.1.50.22.1.2.1.3
Object
column r/w
Administratively assigned primary VLAN for the MA. If the value equals to 0, then osDot1agMaOperPrimaryVlanId is selected as first item from osDot1agMaVlans. osDot1agMaPrimaryVlanId cannot be reassigned if osDot1agMaFormatName equals to primaryVid(1). CLI command primary-vlan <1-4095>
Context
- MIB
- OS-DOT1AG-MIB
- OID
.1.3.6.1.4.1.629.1.50.22.1.2.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- osDot1agMaEntry
- Groups
- 1
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 'OS-DOT1AG-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OS-DOT1AG-MIB::osDot1agMaPrimaryVlanId'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OS-DOT1AG-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OS-DOT1AG-MIB::osDot1agMaPrimaryVlanId.<osEthOamMdLevel>.<osDot1agMaIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OS-DOT1AG-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OS-DOT1AG-MIB::osDot1agMaPrimaryVlanId'
Syntax
No syntax metadata recorded.
Values & Constraints
No enumerated values or constraints recorded.
Conformance
Member of