vlanTrunkMappingToVlan

CISCO-STACK-MIB · .1.3.6.1.4.1.9.5.1.9.8.1.2

Object

The VLAN which the corresponding instance of
vlanTrunkMappingFromVlan will be mapped to.
              
Agent returns inconsistentValue if this VLAN
exists in the device.
              
Agent returns inconsistentValue if this VLAN is a
reserved VLAN and the value of corresponding
instance of vlanTrunkMappingType is
reservedToNonReserved(1).
              
Agent returns inconsistentValue if this VLAN is
not a valid ISL VLAN and the value of
corresponding instance of vlanTrunkMappingType
is dot1qToisl(2).

Context

MIB
CISCO-STACK-MIB
OID
.1.3.6.1.4.1.9.5.1.9.8.1.2
Type
column
Access
readwrite
Status
current
Parent
vlanTrunkMappingEntry
Groups
1

Walk 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-STACK-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-STACK-MIB::vlanTrunkMappingToVlan'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-STACK-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-STACK-MIB::vlanTrunkMappingToVlan.<vlanTrunkMappingFromVlan>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-STACK-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-STACK-MIB::vlanTrunkMappingToVlan'

Syntax

Source
CISCO-VTP-MIBVlanIndex
Base type
Integer32

Values & Constraints

Type Constraints
range: 0..4095

Conformance