fspfIfCost
CISCO-FSPF-MIB ·
.1.3.6.1.4.1.9.9.287.1.2.1.1
Object
column r/w
Unsigned32
The administrative cost of sending a frame on this
interface on this VSAN. The value 0 means that the cost
has not been configured. Once the value has been
configured, the value can not again be zero; so, obviously
the value can not be set to 0.
If the value of this object is 0 and the corresponding
interface is up, the agent sets this object to a value
calculated using the 'ifSpeed' of the interface. Otherwise,
the value of this object is used as the cost.
Note that following formula is used to calculate the link
cost.
Link Cost = { fspfIfCost if fspfIfCost > 0
{(1.0625e12 / Baud Rate) if fspfIfCost == 0
where Baud Rate is the ifSpeed of the interface.
Context
- MIB
- CISCO-FSPF-MIB
- OID
.1.3.6.1.4.1.9.9.287.1.2.1.1- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- fspfIfEntry
- 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 'CISCO-FSPF-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-FSPF-MIB::fspfIfCost'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-FSPF-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-FSPF-MIB::fspfIfCost.<vsanIndex>.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-FSPF-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-FSPF-MIB::fspfIfCost'
Syntax
Unsigned32
Values & Constraints
Object Constraints
range: 0-65535
Conformance
Member of