All MIBs › DES3016-L2MGMT-MIB › swL2StpPortPriority
swL2StpPortPriority
Module: DES3016-L2MGMT-MIB
OID (symbolic): DES3016-L2MGMT-MIB::swL2StpPortPriority
OID (numeric): 1.3.6.1.4.1.171.11.63.10.2.16.4.1.13
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: The value of the priority field which is contained in the first (in network byte order) octet of the (2 octet long) Port ID. The other octet of the Port ID is given by the value of swL2StpPort.
What is swL2StpPortPriority?
Sets the priority byte (0-240) of this port's STP Port ID, the other octet being the port number itself (swL2StpPort). Lowering this value makes the switch prefer this port over others of equal path cost when choosing designated/root ports during spanning tree election.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.11.63.10.2.16.4.1.13 snmpwalk -v2c -c public <target> DES3016-L2MGMT-MIB::swL2StpPortPriority
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.171.11.63.10.2.16.4.1.13.1 snmpget -v2c -c public <target> DES3016-L2MGMT-MIB::swL2StpPortPriority.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.171.11.63.10.2.16.4.1.13.1 i <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> swL2StpPortPriority.1
Start monitoring D-Link DES-3016 switch with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the DES3016-L2MGMT-MIB::swL2StpPortPriority OID value, configure state conditions and alerts, and monitor any D-Link DES-3016 switch from a single console.
OID Breakdown
Upper-level ancestors (10 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.171 | d_link | DE1500-MIB |
| 1.3.6.1.4.1.171.11 | dlink_mgmt | DES2218-MIB |
| 1.3.6.1.4.1.171.11.63 | des30xxSeriesProd | DLINK-SWPRIMGMT-MIB |
| 1.3.6.1.4.1.171.11.63.10 | des3016 | DLINK-SWPRIMGMT-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.171.11.63.10.2 | swL2MgmtMIB | DES3016-L2MGMT-MIB |
| 1.3.6.1.4.1.171.11.63.10.2.16 | swL2StpMgmt | DES3016-L2MGMT-MIB |
| 1.3.6.1.4.1.171.11.63.10.2.16.4 | swL2StpPortTable | DES3016-L2MGMT-MIB |
| 1.3.6.1.4.1.171.11.63.10.2.16.4.1 | swL2StpPortEntry | DES3016-L2MGMT-MIB |
| 1.3.6.1.4.1.171.11.63.10.2.16.4.1.13 | swL2StpPortPriority | DES3016-L2MGMT-MIB |