cpvlanTrunkPortNativeVlan
CISCO-PRIVATE-VLAN-MIB ·
.1.3.6.1.4.1.9.9.173.1.2.4.1.3
Object
The VlanIndex of the VLAN which is represented by native frames on this private vlan trunk port. For private vlan trunk ports that need to drop untagged frames or not supporting the sending and receiving of native frames, this value should be set to zero
Context
- MIB
- CISCO-PRIVATE-VLAN-MIB
- OID
.1.3.6.1.4.1.9.9.173.1.2.4.1.3- 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::cpvlanTrunkPortNativeVlan'
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::cpvlanTrunkPortNativeVlan.<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::cpvlanTrunkPortNativeVlan'
Syntax
- Source
- VlanIndexOrZero
- Base type
Integer32
Values & Constraints
Type Constraints
range: 0..4095
Conformance
Member of