Showing results for 
Search instead for 
Did you mean: 
Emmanuel Tychon
Cisco Employee
Cisco Employee

How to I get the gateway Cellular RSSI from Cisco IOx ?

If you have an IOx application that requires tp capture the cellular modem signal strength (for example to include in telemetry data along with GPS position and map signal with location), you will find that there is no direct way to get it from IOx. The reason is that the application hosting environment is virtualized and therefore Cisco IOS metrics are not directly accessible.


Simple Network Management Protocol (SNMP) which is an IOS feature can be leverage to exposed this variable or any other SNMP variable. SNMP can be easily configured on the gateway with just a few lines:


On a Cisco IR829 with guest-os running in the range, where is being assigned to the virtual Gigabit Ethernet 5 interface, then this is what it takes to give SNMP access to all the virtual instances running on the gateway:


IR829(config)# access-list 10 permit
IR829(config)# snmp-server community public RO 10

The IOx application can then poll the right SNMP OIDs straight from the gateway, and this OID may change depending on the particular model. Always refer the device's MIB.


For example in Python to poll both cellular interface's RSSI on a Cisco IR829M:


from pysnmp.entity.rfc3413.oneliner import cmdgen
import time


cmdGen = cmdgen.CommandGenerator()

errorIndication, errorStatus, errorIndex, varBinds = cmdGen.getCmd(
    cmdgen.UdpTransportTarget((SNMP_HOST, SNMP_PORT)),
'' ) for name, val in varBinds: print('%s = %s' % (name.prettyPrint(), val.prettyPrint()))

You should see the RSSI signal (in dBm) returned like so:


SNMPv2-SMI::enterprises.9.9.661. = -128
SNMPv2-SMI::enterprises.9.9.661. = -128


Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links