All MIBs › RC-BRIDGE-MIB › rcStgPortPathCost
rcStgPortPathCost
Module: RC-BRIDGE-MIB
OID (symbolic): RC-BRIDGE-MIB::rcStgPortPathCost
OID (numeric): 1.3.6.1.4.1.2272.1.13.5.1.7
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: The contribution of this port to the path cost of paths towards the spanning tree root which include this port. 802.1D-1990 recommends that the default value of this parameter be in inverse proportion to the speed of the attached LAN.
What is rcStgPortPathCost?
This port's contribution to the total path cost of any spanning-tree path through it toward the root bridge for this STG; conventionally set in inverse proportion to link speed. Admins raise or lower this to influence which port STP selects as the lowest-cost (preferred) path when multiple links exist toward the root.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2272.1.13.5.1.7 snmpwalk -v2c -c public <target> RC-BRIDGE-MIB::rcStgPortPathCost
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.2272.1.13.5.1.7.1 snmpget -v2c -c public <target> RC-BRIDGE-MIB::rcStgPortPathCost.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.2272.1.13.5.1.7.1 i <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> rcStgPortPathCost.1
Start monitoring Nortel/Bay Networks switches with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the RC-BRIDGE-MIB::rcStgPortPathCost OID value, configure state conditions and alerts, and monitor any Nortel/Bay Networks switches from a single console.
OID Breakdown
Upper-level ancestors (11 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.2272 | rapidCity | RAPID-CITY |
| 1.3.6.1.4.1.2272.1 | rcMgmt | RAPID-CITY |
| 1.3.6.1.4.1.2272.1.13 | rcStg | RAPID-CITY |
| 1.3.6.1.4.1.2272.1.13.5 | rcStgPortTable | RAPID-CITY |
| 1.3.6.1.4.1.2272.1.13.5.1 | rcStgPortEntry | RAPID-CITY |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.2272.1.13.5.1.7 | rcStgPortPathCost | RC-BRIDGE-MIB |