cfgRstpPortPathCost
WESTERMO-SW6-BRIDGE-MIB ·
.1.3.6.1.4.1.16177.1.400.2.8.1.2.1.1.5
Object
column r/w
Integer32
The port path cost. The port's contribution, when it is the root
port, to the root path cost for the bridge. By default the cost is
automatically calculated from the port's speed. If -1 is defined,
the port path cost is automatically calculated.
| Data rate | RSTP cost (802.1W-2004, default value) |
|------------|----------------------------------------|
| 4 Mbit/s | 5,000,000 |
| 10 Mbit/s | 2,000,000 |
| 16 Mbit/s | 1,250,000 |
| 100 Mbit/s | 200,000 |
| 1 Gbit/s | 20,000 |
| 2 Gbit/s | 10,000 |
| 10 Gbit/s | 2,000 |
Applies to AP and STA.
Context
- MIB
- WESTERMO-SW6-BRIDGE-MIB
- OID
.1.3.6.1.4.1.16177.1.400.2.8.1.2.1.1.5- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- cfgRstpPortTableEntry
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'WESTERMO-SW6-BRIDGE-MIB' -M '/opt/observium/mibs/westermo:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'WESTERMO-SW6-BRIDGE-MIB::cfgRstpPortPathCost'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'WESTERMO-SW6-BRIDGE-MIB' -M '/opt/observium/mibs/westermo:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'WESTERMO-SW6-BRIDGE-MIB::cfgRstpPortPathCost.<cfgRstpPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'WESTERMO-SW6-BRIDGE-MIB' -M '/opt/observium/mibs/westermo:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'WESTERMO-SW6-BRIDGE-MIB::cfgRstpPortPathCost'
Syntax
Integer32
Values & Constraints
Object Constraints
range: -1-5000000
Conformance
Member of