cpvlanVlanEditAssocPrimaryVlan
CISCO-PRIVATE-VLAN-MIB ·
.1.3.6.1.4.1.9.9.173.1.1.2.1.2
Object
The VLAN ID of the associated primary VLAN used for
the Private VLAN feature if
cpvlanVlanEditPrivateVlanType has the value of
isolated(3), community(4), twoWayCommunity(5). If
cpvlanVlanEditPrivateVlanType has the value of normal(1)
or primary(2), then this object has the value of 0.
Note that one isolated VLAN can only be associated
with one unique primary VLAN. One primary VLAN can only
be associated with one isolated VLAN.
One primary VLAN can be associated with multiple VLANs
of community or twoWayCommunity type; one community
or twoWayCommunity VLAN can only be associated with one
unique primary VLAN.
Context
- MIB
- CISCO-PRIVATE-VLAN-MIB
- OID
.1.3.6.1.4.1.9.9.173.1.1.2.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- cpvlanVlanEditEntry
- 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 'CISCO-PRIVATE-VLAN-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-PRIVATE-VLAN-MIB::cpvlanVlanEditAssocPrimaryVlan'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-PRIVATE-VLAN-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-PRIVATE-VLAN-MIB::cpvlanVlanEditAssocPrimaryVlan.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-PRIVATE-VLAN-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-PRIVATE-VLAN-MIB::cpvlanVlanEditAssocPrimaryVlan'
Syntax
- Source
- VlanIndexOrZero
- Base type
Integer32
Values & Constraints
Type Constraints
range: 0..4095
Conformance
Member of