vlanTrunkMappingFromVlan
CISCO-STACK-MIB ·
.1.3.6.1.4.1.9.5.1.9.8.1.1
Object
column CISCO-VTP-MIBVlanIndex
The VLAN with this VLAN ID will be mapped to the
VLAN in the corresponding instance of
vlanTrunkMappingToVlan in the device.
Agent returns inconsistentValue if this VLAN
exists in the device.
Agent returns inconsistentValue if this VLAN is
not a reserved VLAN and the value of corresponding
instance of vlanTrunkMappingType is
reservedToNonReserved(1).
Agent returns wrongValue if this VLAN is not a
valid 802.1Q 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.1- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- vlanTrunkMappingEntry
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-STACK-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-STACK-MIB::vlanTrunkMappingFromVlan'
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::vlanTrunkMappingFromVlan.<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::vlanTrunkMappingFromVlan'
Syntax
- Source
- CISCO-VTP-MIBVlanIndex
- Base type
Integer32
Values & Constraints
Type Constraints
range: 0..4095