swIndex
CTATX-MIB ·
.1.3.6.1.4.1.97.3.2.2.1.1
Object
column mandatory
Enumeration
The file set number, beginning with 1 for the first file
set. This number always matches the instance of the swFiles.
For example, {swIndex 2} contains the value '2'.
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 'CTATX-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CTATX-MIB::swIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CTATX-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CTATX-MIB::swIndex.<swIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CTATX-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CTATX-MIB::swIndex'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | currently-executing |
2 | next-boot |