All MIBs › BEGEMOT-BRIDGE-MIB › begemotBridgeStpPortAdminPathCost
begemotBridgeStpPortAdminPathCost
Module: BEGEMOT-BRIDGE-MIB
OID (symbolic): BEGEMOT-BRIDGE-MIB::begemotBridgeStpPortAdminPathCost
OID (numeric): 1.3.6.1.4.1.12325.1.205.2.3.1.6
Node type: OBJECT-TYPE
Type: Integer32
Access: read-write
Description: The administratively assigned value for the contribution of this port to the path cost of paths toward the spanning tree root.
Writing a value of '0' assigns the automatically calculated default Path Cost value to the port. If the default Path Cost is being used, this object returns '0' when read.
This complements the object begemotBridgeStpPortPathCost or begemotBridgeStpPortPathCost32, which returns the operational value of the path cost.
The value of this object MUST be retained across reinitializations of the management system.
What is begemotBridgeStpPortAdminPathCost?
Sets the administratively assigned STP path cost for this port, which influences which path is chosen as the spanning tree root path. Writing 0 tells the bridge to use the automatically calculated default cost based on link speed.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.12325.1.205.2.3.1.6 snmpwalk -v2c -c public <target> BEGEMOT-BRIDGE-MIB::begemotBridgeStpPortAdminPathCost
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.12325.1.205.2.3.1.6.1 snmpget -v2c -c public <target> BEGEMOT-BRIDGE-MIB::begemotBridgeStpPortAdminPathCost.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.12325.1.205.2.3.1.6.1 i <value>
Start monitoring FreeBSD-based bridges/switches with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the BEGEMOT-BRIDGE-MIB::begemotBridgeStpPortAdminPathCost OID value, configure state conditions and alerts, and monitor any FreeBSD-based bridges/switches from a single console.
OID Breakdown
Upper-level ancestors (8 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.12325 | fokus | FOKUS-MIB |
| 1.3.6.1.4.1.12325.1 | begemot | BEGEMOT-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.12325.1.205 | begemotBridge | BEGEMOT-BRIDGE-MIB |
| 1.3.6.1.4.1.12325.1.205.2 | begemotBridgeStp | BEGEMOT-BRIDGE-MIB |
| 1.3.6.1.4.1.12325.1.205.2.3 | begemotBridgeStpExtPortTable | BEGEMOT-BRIDGE-MIB |
| 1.3.6.1.4.1.12325.1.205.2.3.1 | begemotBridgeStpExtPortEntry | BEGEMOT-BRIDGE-MIB |
| 1.3.6.1.4.1.12325.1.205.2.3.1.6 | begemotBridgeStpPortAdminPathCost | BEGEMOT-BRIDGE-MIB |