dot11CurrentChannel

BRCM-80211-MGMT-MIB · .1.3.6.1.4.1.4413.2.2.2.1.5.1.3

Object

scalar r/w Unsigned32
Controls and reflects the current channel number (802.11g) or
control channel (802.11n).
          
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
BRCM-80211-MGMT-MIB
OID
.1.3.6.1.4.1.4413.2.2.2.1.5.1.3
Type
scalar
Access
readwrite
Status
current
Parent
dot11MgmtBase

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BRCM-80211-MGMT-MIB' -M '/opt/observium/mibs/broadcom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BRCM-80211-MGMT-MIB::dot11CurrentChannel.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BRCM-80211-MGMT-MIB' -M '/opt/observium/mibs/broadcom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BRCM-80211-MGMT-MIB::dot11CurrentChannel'

Syntax

Unsigned32

Values & Constraints

Object Constraints
range: 0-216