cpvlanPrivatePortSecondaryVlan
CISCO-PRIVATE-VLAN-MIB ·
.1.3.6.1.4.1.9.9.173.1.2.1.1.1
Object
The VLAN ID of the secondary VLAN configured on this
private port. A private port is a port that allows
the ingress traffic of the secondary VLAN as well as
egress traffic of its associated primary VLAN, but
blocks the egress traffic of the isolated VLAN while
allowing the egress traffic of the community
or twoWayCommunity VLAN depending on the type of the
secondary VLAN.
Note that a port can join a secondary VLAN only after
this secondary VLAN has been associated with a primary
VLAN, i.e., the cpvlanVlanAssociatedPrimaryVlan has a
non-zero value. The default value of 0 for this object
means this port has not joined any secondary VLAN yet.
Context
- MIB
- CISCO-PRIVATE-VLAN-MIB
- OID
.1.3.6.1.4.1.9.9.173.1.2.1.1.1- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- cpvlanPrivatePortEntry
- 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::cpvlanPrivatePortSecondaryVlan'
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::cpvlanPrivatePortSecondaryVlan.<ifIndex>'
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::cpvlanPrivatePortSecondaryVlan'
Syntax
- Source
- VlanIndexOrZero
- Base type
Integer32
Values & Constraints
Type Constraints
range: 0..4095
Conformance
Member of