agentPvrstpVlanCost
LANCOM-SWITCHING-MIB ·
.1.3.6.1.4.1.2356.16.1.1.2.15.15.6.1.4
Object
column r/w
Unsigned32
PVRSTP port vlan cost is in the range of 0 to 200000000 ,for 0 its Auto.
Context
- MIB
- LANCOM-SWITCHING-MIB
- OID
.1.3.6.1.4.1.2356.16.1.1.2.15.15.6.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- agentPvrstpPortVlanEntry
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 'LANCOM-SWITCHING-MIB' -M '/opt/observium/mibs/lancom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LANCOM-SWITCHING-MIB::agentPvrstpVlanCost'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'LANCOM-SWITCHING-MIB' -M '/opt/observium/mibs/lancom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LANCOM-SWITCHING-MIB::agentPvrstpVlanCost.<agentPvrstpPortIndex>.<agentPvrstpVlanIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'LANCOM-SWITCHING-MIB' -M '/opt/observium/mibs/lancom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'LANCOM-SWITCHING-MIB::agentPvrstpVlanCost'
Syntax
Unsigned32
Values & Constraints
Object Constraints
range: 0-200000000