portClass
CUMULUS-POE-MIB ·
.1.3.6.1.4.1.40310.3.2.1.5
Object
column Enumeration
The portClass represents the standard class of the port shown as
follows:
Class usage Class current Power range Class description
[mA] [Watt]
====================================================================
0 Default 0-4 0.44-12.94 Class unimplemented
1 Optional 9-12 0.44-3.84 Very Low power
2 Optional 17-20 3.84-6.49 Low power
3 Optional 26-30 6.49-12.95 Mid power
4 Valid for 36-44 12.95-25.50 High power
Class 4 for 802.3at(Type 2) devices and not allowed for 802.3af
devices. Note that a portClass of Default can also exist if a
portStatus is not connected.
Context
- MIB
- CUMULUS-POE-MIB
- OID
.1.3.6.1.4.1.40310.3.2.1.5- Type
- column
- Access
- readonly
- Status
- current
- Parent
- poeObjectsEntry
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 'CUMULUS-POE-MIB' -M '/opt/observium/mibs/cumulus:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CUMULUS-POE-MIB::portClass'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CUMULUS-POE-MIB' -M '/opt/observium/mibs/cumulus:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CUMULUS-POE-MIB::portClass.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CUMULUS-POE-MIB' -M '/opt/observium/mibs/cumulus:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CUMULUS-POE-MIB::portClass'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | default |
1 | verylowpower |
2 | lowpower |
3 | midpower |
4 | highpower |