swL2CosPriorityPortPRI
DES3028G-L2MGMT-MIB ·
.1.3.6.1.4.1.171.11.63.11.2.17.3.1.1.2
Object
column r/w
Enumeration
Indicates the port_priority state for CoS.
Context
- MIB
- DES3028G-L2MGMT-MIB
- OID
.1.3.6.1.4.1.171.11.63.11.2.17.3.1.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- swL2CosPriorityEntry
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 'DES3028G-L2MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DES3028G-L2MGMT-MIB::swL2CosPriorityPortPRI'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DES3028G-L2MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DES3028G-L2MGMT-MIB::swL2CosPriorityPortPRI.<swL2CosPriorityPort>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DES3028G-L2MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DES3028G-L2MGMT-MIB::swL2CosPriorityPortPRI'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | disable |
3 | enable |