cpvlanVlanAssociatedPrimaryVlan
CISCO-PRIVATE-VLAN-MIB ·
.1.3.6.1.4.1.9.9.173.1.1.1.1.2
Object
column VlanIndexOrZero
The VLAN ID of The associated primary VLAN used for
the Private VLAN feature if cpvlanVlanPrivateVlanType
has the value of isolated(3), community(4) or
twoWayCommunity(5). If cpvlanVlanPrivateVlanType
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.1.1.2- Type
- column
- Access
- readonly
- Status
- current
- Parent
- cpvlanVlanEntry
- 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::cpvlanVlanAssociatedPrimaryVlan'
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::cpvlanVlanAssociatedPrimaryVlan.<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::cpvlanVlanAssociatedPrimaryVlan'
Syntax
- Source
- VlanIndexOrZero
- Base type
Integer32
Values & Constraints
Type Constraints
range: 0..4095
Conformance
Member of