swNsCos
SW-MIB ·
.1.3.6.1.4.1.1588.2.1.1.1.7.2.1.10
Object
column Enumeration
The object identifies the class of services supported by the port. The value is a bit-map defined as follows: o bit 0 is class F, o bit 1 is class 1, o bit 2 is class 2, o bit 3 is class 3, o bit 4 is class 4, etc.
Context
- MIB
- SW-MIB
- OID
.1.3.6.1.4.1.1588.2.1.1.1.7.2.1.10- Type
- column
- Access
- readonly
- Status
- current
- Parent
- swNsLocalEntry
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 'SW-MIB' -M '/opt/observium/mibs/brocade:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SW-MIB::swNsCos'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SW-MIB' -M '/opt/observium/mibs/brocade:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SW-MIB::swNsCos.<swNsEntryIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SW-MIB' -M '/opt/observium/mibs/brocade:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SW-MIB::swNsCos'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | class-F |
2 | class-1 |
3 | class-F-1 |
4 | class-2 |
5 | class-F-2 |
6 | class-1-2 |
7 | class-F-1-2 |
8 | class-3 |
9 | class-F-3 |
10 | class-1-3 |
11 | class-F-1-3 |
12 | class-2-3 |
13 | class-F-2-3 |
14 | class-1-2-3 |
15 | class-F-1-2-3 |