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.
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
OID Breakdown
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | BIANCA-BRICK-PPP-MIB |
| 1.3.6 | dod | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1 | internet | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4 | private | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4.1 | enterprises | ANIROOT-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 |
| 1.3.6.1.4.1.2272.1.13.5.1.7 | rcStgPortPathCost | RC-BRIDGE-MIB |