stpxPreferredVlansMap
CISCO-STP-EXTENSIONS-MIB ·
.1.3.6.1.4.1.9.9.82.1.2.1.1.1
Object
column r/w
OctetString
A string of octets containing one bit per VLAN in the
management domain on this trunk port. The first octet
corresponds to VLANs with VlanIndex values of 0 through 7;
the second octet to VLANs 8 through 15; etc. The most
significant bit of each octet corresponds to the lowest
value VlanIndex in that octet.
For each VLAN, if it is preferred on this trunk port, then
the bit corresponding to that VLAN is set to '1'.
The default value is 128 bytes of zeros.
To avoid conflicts between overlapping partial updates by
multiple managers, i.e., updates which modify only a portion
of an instance of this object (e.g., enable/disable a single
VLAN on the trunk port), any SNMP Set operation accessing an
instance of this object should also write the value of
vlanTrunkPortSetSerialNo.
Context
- MIB
- CISCO-STP-EXTENSIONS-MIB
- OID
.1.3.6.1.4.1.9.9.82.1.2.1.1.1- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- stpxPreferredVlansEntry
- 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-STP-EXTENSIONS-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-STP-EXTENSIONS-MIB::stpxPreferredVlansMap'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-STP-EXTENSIONS-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-STP-EXTENSIONS-MIB::stpxPreferredVlansMap.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-STP-EXTENSIONS-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-STP-EXTENSIONS-MIB::stpxPreferredVlansMap'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 128-128
Conformance
Member of