stpxPreferredVlansMap4k
CISCO-STP-EXTENSIONS-MIB ·
.1.3.6.1.4.1.9.9.82.1.2.1.1.4
Object
column r/w
OctetString
A string of octets containing one bit per VLAN for VLANS
with VlanIndex values of 3072 through 4095 in the management
domain on this trunk port. The first octet corresponds to
VLANs with VlanIndex values of 3072 through 3079;
the second octet to VLANs 3080 through 3087; 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.4- 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::stpxPreferredVlansMap4k'
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::stpxPreferredVlansMap4k.<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::stpxPreferredVlansMap4k'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-128
Conformance
Member of