All MIBs › CISCO-STP-EXTENSIONS-MIB › stpxPreferredVlansMap
stpxPreferredVlansMap
Module: CISCO-STP-EXTENSIONS-MIB
OID (symbolic): CISCO-STP-EXTENSIONS-MIB::stpxPreferredVlansMap
OID (numeric): 1.3.6.1.4.1.9.9.82.1.2.1.1.1
Node type: OBJECT-TYPE
Type: OCTET STRING
Access: read-write
Description: 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.
What is stpxPreferredVlansMap?
Read-write bitmap of octets identifying which VLANs (index 0-4095 range, starting portion) are marked as preferred for this trunk port in Spanning Tree load balancing.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.9.9.82.1.2.1.1.1 snmpwalk -v2c -c public <target> CISCO-STP-EXTENSIONS-MIB::stpxPreferredVlansMap
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.9.9.82.1.2.1.1.1.1 snmpget -v2c -c public <target> CISCO-STP-EXTENSIONS-MIB::stpxPreferredVlansMap.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.9.9.82.1.2.1.1.1.1 s <value>
Start monitoring Cisco Catalyst switch (STP extensions) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the CISCO-STP-EXTENSIONS-MIB::stpxPreferredVlansMap OID value, configure state conditions and alerts, and monitor any Cisco Catalyst switch (STP extensions) from a single console.
OID Breakdown
Upper-level ancestors (8 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.9 | cisco | CAT2600-MIB |
| 1.3.6.1.4.1.9.9 | ciscoMgmt | CISCO-SMI |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.9.9.82 | ciscoStpExtensionsMIB | CISCO-STP-EXTENSIONS-MIB |
| 1.3.6.1.4.1.9.9.82.1 | stpxObjects | CISCO-STP-EXTENSIONS-MIB |
| 1.3.6.1.4.1.9.9.82.1.2 | stpxVlanObjects | CISCO-STP-EXTENSIONS-MIB |
| 1.3.6.1.4.1.9.9.82.1.2.1 | stpxPreferredVlansTable | CISCO-STP-EXTENSIONS-MIB |
| 1.3.6.1.4.1.9.9.82.1.2.1.1 | stpxPreferredVlansEntry | CISCO-STP-EXTENSIONS-MIB |
| 1.3.6.1.4.1.9.9.82.1.2.1.1.1 | stpxPreferredVlansMap | CISCO-STP-EXTENSIONS-MIB |