All MIBs › FD-SWITCH-MIB › rstpPathCost
rstpPathCost
Module: FD-SWITCH-MIB
OID (symbolic): FD-SWITCH-MIB::rstpPathCost
OID (numeric): 1.3.6.1.4.1.34592.1.3.2.6.2.1.3
Node type: OBJECT-TYPE
Type: Integer32
Access: read-write
Description:
What is rstpPathCost?
Sets this port's spanning-tree path cost, used to calculate the total cost to the root bridge over that link. Admins lower the cost on a higher-bandwidth link so spanning tree prefers it over a slower backup path.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.34592.1.3.2.6.2.1.3 snmpwalk -v2c -c public <target> FD-SWITCH-MIB::rstpPathCost
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.34592.1.3.2.6.2.1.3.1 snmpget -v2c -c public <target> FD-SWITCH-MIB::rstpPathCost.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.34592.1.3.2.6.2.1.3.1 i <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> rstpPathCost.1
Start monitoring C-Data FD-series OLT (integrated Ethernet switch module) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the FD-SWITCH-MIB::rstpPathCost OID value, configure state conditions and alerts, and monitor any C-Data FD-series OLT (integrated Ethernet switch module) from a single console.
OID Breakdown
Upper-level ancestors (9 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.34592 | vendor | CDATA-COMMON-SMI |
| 1.3.6.1.4.1.34592.1 | ipProduct | CDATA-COMMON-SMI |
| 1.3.6.1.4.1.34592.1.3 | epon | CDATA-COMMON-SMI |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.34592.1.3.2 | coreSwitch | FD-SWITCH-MIB |
| 1.3.6.1.4.1.34592.1.3.2.6 | rstp | FD-SWITCH-MIB |
| 1.3.6.1.4.1.34592.1.3.2.6.2 | rstpPortTable | FD-SWITCH-MIB |
| 1.3.6.1.4.1.34592.1.3.2.6.2.1 | rstpPortEntry | FD-SWITCH-MIB |
| 1.3.6.1.4.1.34592.1.3.2.6.2.1.3 | rstpPathCost | FD-SWITCH-MIB |