vlanTrunkPortNativeVlan
CISCO-VTP-MIB ·
ciscosb variant
·
.1.3.6.1.4.1.9.9.46.1.6.1.1.5
Object
The VlanIndex of the VLAN which is represented by native frames on this trunk port. For trunk ports not supporting the sending and receiving of native frames, this value should be set to zero.
Context
- MIB
- CISCO-VTP-MIB
- OID
.1.3.6.1.4.1.9.9.46.1.6.1.1.5- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- vlanTrunkPortEntry
- 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-VTP-MIB' -M '/opt/observium/mibs/ciscosb:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-VTP-MIB::vlanTrunkPortNativeVlan'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-VTP-MIB' -M '/opt/observium/mibs/ciscosb:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-VTP-MIB::vlanTrunkPortNativeVlan.<vlanTrunkPortIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-VTP-MIB' -M '/opt/observium/mibs/ciscosb:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-VTP-MIB::vlanTrunkPortNativeVlan'
Values & Constraints
Type Constraints
range: 0..4095
Conformance
Member of
Compliance refinements
vtpMIBCompliance
readonly
Write access is not required.