04-25-2014 06:35 AM
Hello community,
I'm currently working on a C819HG-4G-K9 (version 15.2(4)M4) router and I've encountered some problems when using SNMP for getting the values of some parameters, like the RSSI.
For this device, the SNMP Object Navigator tool indicates that the parameter I am searching for (c3gRssiOnsetNotifThreshold) is located in the CISCO-WAN-3G-MIB MIB and the corresponding OID is 1.3.6.1.4.1.9.9.661.1.1.1.13.
Nevertheless, then I try to execute :
ifau@ImapDEMO:~$ snmpget -v2c -c private 10.10.10.1 1.3.6.1.4.1.9.9.661.1.1.1.13
I get :
iso.3.6.1.4.1.9.9.661.1.1.1.13 = No Such Object available on this agent at this OID .
That's strange since I've executed:
Cisco4G#sh snmp mib
on the Cisco router and the c3gRssiOnsetNotifThreshold parameter was present.
Are there any particular settings I must do in order to access the values of this MIB?
Best regards,
Roxana Teodosiu
Solved! Go to Solution.
04-25-2014 06:48 AM
Upgrade the router IOS to 15.3(3)M2 code.
04-30-2014 05:09 AM
Looks like your doing a get for an OID without the index value appended to the end. Change the snmpget command to snmpwalk.
dafrey@Raggedtooth:~/.snmp/mibs$ snmpget -v 2c -c xxxxx 192.168.21.15 c3gRssiOnsetNotifThreshold 2>/dev/null
CISCO-WAN-3G-MIB::c3gRssiOnsetNotifThreshold = No Such Instance currently exists at this OID
- Walking the tree will give the index values
dafrey@Raggedtooth:~/.snmp/mibs$ snmpwalk -v 2c -c xxxx 192.168.21.15 ciscoWan3gMIB 2>/dev/null
CISCO-WAN-3G-MIB::c3gStandard.13 = INTEGER: gsm(2)
CISCO-WAN-3G-MIB::c3gCapability.13 = BITS: E0 08 oneXRtt(0) evDoRel0(1) evDoRelA(2) lteFdd(12)
CISCO-WAN-3G-MIB::c3gModemState.13 = INTEGER: up(2)
CISCO-WAN-3G-MIB::c3gPreviousServiceType.13 = BITS: 80 00 oneXRtt(0)
CISCO-WAN-3G-MIB::c3gCurrentServiceType.13 = BITS: 00 08 lteFdd(12)
CISCO-WAN-3G-MIB::c3gRoamingStatus.13 = INTEGER: home(3)
CISCO-WAN-3G-MIB::c3gCurrentSystemTime.13 = STRING: Wed Apr 30 11:58:23 2014
CISCO-WAN-3G-MIB::c3gConnectionStatus.13 = INTEGER: active(8)
CISCO-WAN-3G-MIB::c3gNotifRadioService.13 = BITS: 00 00
CISCO-WAN-3G-MIB::c3gNotifRssi.13 = INTEGER: -150
CISCO-WAN-3G-MIB::c3gNotifEcIo.13 = INTEGER: -150
CISCO-WAN-3G-MIB::c3gModemTemperature.13 = INTEGER: 33 degrees Celsius
CISCO-WAN-3G-MIB::c3gRssiOnsetNotifThreshold.13 = INTEGER: -150 dBm
.13 is the index.
dafrey@Raggedtooth:~/.snmp/mibs$ snmpget -v 2c -c XXX 192.168.21.15 c3gRssiOnsetNotifThreshold.13 2>/dev/null
CISCO-WAN-3G-MIB::c3gRssiOnsetNotifThreshold.13 = INTEGER: -150 dBm
04-25-2014 06:48 AM
Upgrade the router IOS to 15.3(3)M2 code.
04-30-2014 01:42 AM
Hi Daniel,
Thank you for the reply.
I've upgraded the IOS to 15.3(3)M2, but when executing the snmpget commands it still doesn't work:
Cisco4G#snmp get v2c 10.10.10.1 public retry 2 timeout 10 oid 1.3.6.1.4.1.9.9.661.1.1.1.13
SNMP Response: reqid 4, errstat 0, erridx 0
c3gRssiOnsetNotifThreshold = NO_SUCH_INSTANCE_EXCEPTION
or
Cisco4G#snmp get v1 10.10.10.1 public retry 2 timeout 10 oid 1.3.6.1.4.1.9.9.661.1.1.1.13
SNMP Response: reqid 6, errstat 2, erridx 1
c3gRssiOnsetNotifThreshold = NULL TYPE/VALUE
Best regards,
Roxana
04-30-2014 05:09 AM
Looks like your doing a get for an OID without the index value appended to the end. Change the snmpget command to snmpwalk.
dafrey@Raggedtooth:~/.snmp/mibs$ snmpget -v 2c -c xxxxx 192.168.21.15 c3gRssiOnsetNotifThreshold 2>/dev/null
CISCO-WAN-3G-MIB::c3gRssiOnsetNotifThreshold = No Such Instance currently exists at this OID
- Walking the tree will give the index values
dafrey@Raggedtooth:~/.snmp/mibs$ snmpwalk -v 2c -c xxxx 192.168.21.15 ciscoWan3gMIB 2>/dev/null
CISCO-WAN-3G-MIB::c3gStandard.13 = INTEGER: gsm(2)
CISCO-WAN-3G-MIB::c3gCapability.13 = BITS: E0 08 oneXRtt(0) evDoRel0(1) evDoRelA(2) lteFdd(12)
CISCO-WAN-3G-MIB::c3gModemState.13 = INTEGER: up(2)
CISCO-WAN-3G-MIB::c3gPreviousServiceType.13 = BITS: 80 00 oneXRtt(0)
CISCO-WAN-3G-MIB::c3gCurrentServiceType.13 = BITS: 00 08 lteFdd(12)
CISCO-WAN-3G-MIB::c3gRoamingStatus.13 = INTEGER: home(3)
CISCO-WAN-3G-MIB::c3gCurrentSystemTime.13 = STRING: Wed Apr 30 11:58:23 2014
CISCO-WAN-3G-MIB::c3gConnectionStatus.13 = INTEGER: active(8)
CISCO-WAN-3G-MIB::c3gNotifRadioService.13 = BITS: 00 00
CISCO-WAN-3G-MIB::c3gNotifRssi.13 = INTEGER: -150
CISCO-WAN-3G-MIB::c3gNotifEcIo.13 = INTEGER: -150
CISCO-WAN-3G-MIB::c3gModemTemperature.13 = INTEGER: 33 degrees Celsius
CISCO-WAN-3G-MIB::c3gRssiOnsetNotifThreshold.13 = INTEGER: -150 dBm
.13 is the index.
dafrey@Raggedtooth:~/.snmp/mibs$ snmpget -v 2c -c XXX 192.168.21.15 c3gRssiOnsetNotifThreshold.13 2>/dev/null
CISCO-WAN-3G-MIB::c3gRssiOnsetNotifThreshold.13 = INTEGER: -150 dBm
04-30-2014 06:55 AM
Thank you for your reply. You were right.
I've also upgraded the IOS to 15.4(2)T.
If I may bother you with another question, I would like to know how can I get/ calculate the SNR value that is shown when executing:
Cisco4G#show cellular 0 radio
Radio power mode = ON
Channel Number = 6400
Current Band = LTE
Current RSSI = -75 dBm
Current RSRP = -99 dBm
Current RSRQ = -7 dB
Current SNR = 13.6 dB
LTE Technology Preference = AUTO
LTE Technology Selected = LTE
I've looked in the CISCO-WAN-3G-MIB, but without any luck. So then I've started thinking that it should result from a Signal Strength Power parameter and a Noise Strength Power parameter. However, I was unable to find a parameter characterizing the noise.
Any help would be appreciated!
05-07-2014 01:06 AM
As I was unable to find an OID corresponding to the SNR parameter, I chose to build a script which launches the "sh cellular 0 radio" command on the router and then identifies the value corresponding to the SNR parameter.
05-07-2014 01:21 AM
Hi Daniel,
I've launched myself in finding another parameter from the CISCO-WAN-3G-MIB: c3gTxTotalPower (OID 1.3.6.1.4.1.9.9.661.1.2.6.3.1.10). Unfortunately, I am unable to get its value.
When trying to smpget the OID, I get:
root@ImapDEMO:~/.snmp/mibs# snmpwalk -v2c -c public 10.10.10.1 1.3.6.1.4.1.9.9.661.1.2.6.3.1.10
SNMPv2-SMI::enterprises.9.9.661.1.2.6.3.1.10 = No Such Instance currently exists at this OID
I've also tried to snmpwalk the MIB, but it seems the 1.3.6.1.4.1.9.9.661.1.2 does not exist.
root@ImapDEMO:~/.snmp/mibs# snmpwalk -v2c -c public 10.10.10.1 1.3.6.1.4.1.9.9.661
SNMPv2-SMI::enterprises.9.9.661.1.1.1.1.13 = INTEGER: 2
SNMPv2-SMI::enterprises.9.9.661.1.1.1.2.13 = Hex-STRING: 00 08
SNMPv2-SMI::enterprises.9.9.661.1.1.1.3.13 = INTEGER: 2
SNMPv2-SMI::enterprises.9.9.661.1.1.1.4.13 = Hex-STRING: 00 00
SNMPv2-SMI::enterprises.9.9.661.1.1.1.5.13 = Hex-STRING: 00 08
SNMPv2-SMI::enterprises.9.9.661.1.1.1.6.13 = INTEGER: 3
SNMPv2-SMI::enterprises.9.9.661.1.1.1.7.13 = STRING: "Wed May 7 8:10:38 2014"
SNMPv2-SMI::enterprises.9.9.661.1.1.1.8.13 = INTEGER: 8
SNMPv2-SMI::enterprises.9.9.661.1.1.1.9.13 = Hex-STRING: 00 00
SNMPv2-SMI::enterprises.9.9.661.1.1.1.10.13 = INTEGER: -150
SNMPv2-SMI::enterprises.9.9.661.1.1.1.11.13 = INTEGER: -150
SNMPv2-SMI::enterprises.9.9.661.1.1.1.12.13 = INTEGER: 0
SNMPv2-SMI::enterprises.9.9.661.1.1.1.13.13 = INTEGER: -150
SNMPv2-SMI::enterprises.9.9.661.1.1.1.14.13 = INTEGER: 0
SNMPv2-SMI::enterprises.9.9.661.1.1.1.15.13 = INTEGER: -150
SNMPv2-SMI::enterprises.9.9.661.1.1.1.16.13 = INTEGER: 0
SNMPv2-SMI::enterprises.9.9.661.1.1.1.17.13 = INTEGER: 100
SNMPv2-SMI::enterprises.9.9.661.1.1.1.18.13 = INTEGER: -50
SNMPv2-SMI::enterprises.9.9.661.1.1.1.19.13 = INTEGER: 2
SNMPv2-SMI::enterprises.9.9.661.1.1.1.20.13 = INTEGER: 2
SNMPv2-SMI::enterprises.9.9.661.1.1.1.21.13 = INTEGER: 2
SNMPv2-SMI::enterprises.9.9.661.1.1.1.22.13 = INTEGER: 2
SNMPv2-SMI::enterprises.9.9.661.1.1.1.23.13 = INTEGER: 2
SNMPv2-SMI::enterprises.9.9.661.1.1.1.24.13 = Hex-STRING: 00
SNMPv2-SMI::enterprises.9.9.661.1.1.1.25.13 = Hex-STRING: 00 00
SNMPv2-SMI::enterprises.9.9.661.1.1.1.26.13 = Hex-STRING: 00 00
SNMPv2-SMI::enterprises.9.9.661.1.1.1.27.13 = Hex-STRING: 00 00
SNMPv2-SMI::enterprises.9.9.661.1.1.1.28.13 = Hex-STRING: 00 00
SNMPv2-SMI::enterprises.9.9.661.1.1.1.29.13 = INTEGER: 2
SNMPv2-SMI::enterprises.9.9.661.1.1.1.30.13 = INTEGER: 2
SNMPv2-SMI::enterprises.9.9.661.1.3.1.1.1.13 = STRING: "208011700933246"
SNMPv2-SMI::enterprises.9.9.661.1.3.1.1.2.13 = STRING: "359470040150627"
SNMPv2-SMI::enterprises.9.9.661.1.3.1.1.3.13 = STRING: "89330113364834347170"
SNMPv2-SMI::enterprises.9.9.661.1.3.1.1.4.13 = ""
SNMPv2-SMI::enterprises.9.9.661.1.3.1.1.5.13 = STRING: "1"
SNMPv2-SMI::enterprises.9.9.661.1.3.1.1.6.13 = INTEGER: 3
SNMPv2-SMI::enterprises.9.9.661.1.3.1.1.7.13 = INTEGER: 1
.........
I mention that the IOS was upgraded to 15.4(2)T.
Best regards,
Roxana Teodosiu
05-07-2014 03:53 AM
The c3gTxTotalPower OID is only for CDMA and not 4G.
c3gTxTotalPower OBJECT-TYPE
SYNTAX Integer32
UNITS "dBm"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Transmit total power."
::= { c3gCdmaEvDoRadioEntry 10 }
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: