cpvlanTrunkPortSecondaryVlans
CISCO-PRIVATE-VLAN-MIB ·
.1.3.6.1.4.1.9.9.173.1.2.4.1.4
Object
A string of octets containing one bit per VLAN for VLANs
with values of 0 through 1023 in the management domain
on this port.
If the VLAN represented by setting a bit to '1' in the
bitmap is a secondary VLAN that has already been
associated with a primary VLAN, it allows this private
VLAN trunk port to remap the secondary VLAN to its primary
VLAN for ingress traffic and to remap its associated primary
VLAN to the secondary VLAN for egress traffic.
If the bit corresponding to a VLAN is set to '1' and if
the corresponding VLAN is a secondary VLAN, then the local
system is enabled to transmit and receive frames with
proper VLAN remapping via this Private VLAN trunk port.
If the bit corresponding to a VLAN is set to '0', and if
the corresponding VLAN is not configured as a normal VLAN,
then the system is disabled from sending and receiving
frames on that VLAN via this Private VLAN trunk port.
Context
- MIB
- CISCO-PRIVATE-VLAN-MIB
- OID
.1.3.6.1.4.1.9.9.173.1.2.4.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- cpvlanTrunkPortEntry
- 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::cpvlanTrunkPortSecondaryVlans'
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::cpvlanTrunkPortSecondaryVlans.<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::cpvlanTrunkPortSecondaryVlans'
Syntax
- Source
- VlanIndexBitmap
- Base type
OctetString
Values & Constraints
Type Constraints
range: 0..128
Conformance
Member of