cmdot11WifiCurrentChannel
CM-dot11plus-MIB ·
.1.3.6.1.4.1.1166.1.19.51.1.5.2.1.1.2
Object
column Unsigned32
Reflects the current channel number (802.11g) or
control channel (802.11n) for this interface.
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.2- Type
- column
- Access
- readonly
- Status
- current
- Parent
- cmdot11BaseEntry
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 'CM-dot11plus-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CM-dot11plus-MIB::cmdot11WifiCurrentChannel'
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::cmdot11WifiCurrentChannel.<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::cmdot11WifiCurrentChannel'
Syntax
Unsigned32
Values & Constraints
Object Constraints
range: 0-216