cmdot11WifiChannelSetting

CM-dot11plus-MIB · .1.3.6.1.4.1.1166.1.19.51.1.5.2.1.1.12

Object

column r/w Unsigned32
Controls and reflects the current channel number (802.11g) or
control channel (802.11n) for this interface.
              
If set to (0), the AP will be put in auto-channel mode where
it automatically scans for the least-crowded channel.
              
For 802.11g cards, available channels are 1-14.
For 802.11n cards, available channels are 34-216.
              
Channel selection is also subject to restrictions based on the selected
country code.

Context

MIB
CM-dot11plus-MIB
OID
.1.3.6.1.4.1.1166.1.19.51.1.5.2.1.1.12
Type
column
Access
readwrite
Status
current
Parent
cmdot11BaseEntry

Walk 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 'CM-dot11plus-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CM-dot11plus-MIB::cmdot11WifiChannelSetting'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CM-dot11plus-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CM-dot11plus-MIB::cmdot11WifiChannelSetting.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CM-dot11plus-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CM-dot11plus-MIB::cmdot11WifiChannelSetting'

Syntax

Unsigned32

Values & Constraints

Object Constraints
range: 0-216