06-02-2010 04:48 AM
Hi
I am trying to use RTTMON MIB to configure few IP SLAs. When I tested my script on a simulator, it worked fine. However when I try the same on a live Cisco Router, I am not able to set any of the RTTMON mib values on it.
The router is Cisco IOS Software, 1841 Software (C1841-ADVSECURITYK9-M), Version 12.4(12), RELEASE SOFTWARE (fc1)
I have a script in which I try to set the following values
1.3.6.1.4.1.9.9.42.1.2.1.1.4.3 integer 9
1.3.6.1.4.1.9.9.42.1.2.2.1.1.3 integer 27
1.3.6.1.4.1.9.9.42.1.2.2.1.2.3 string 61.246.208.125
1.3.6.1.4.1.9.9.42.1.2.2.1.5.3 integer 8000
1.3.6.1.4.1.9.9.42.1.2.2.1.27.3 integer 1
1.3.6.1.4.1.9.9.42.1.2.2.1.28.3 integer 20
1.3.6.1.4.1.9.9.42.1.2.2.1.29.3 integer 172
1.3.6.1.4.1.9.9.42.1.2.2.1.30.3 integer 1000
1.3.6.1.4.1.9.9.42.1.2.1.1.9.3 integer 4
1.3.6.1.4.1.9.9.42.1.2.5.1.2.3 timeticks 1
1.3.6.1.4.1.9.9.42.1.2.5.1.1.3 integer 2147483647
I try to set all the above values in a single snmpset request. I am trying to set for the index 3. I get the following error
ERROR: Failed to queue set request for host '172.22.2.1': Received inconsistentValue(12) error-status at error-index 3.
Trying to set a RTTMON oid using net-snmp snmpset also gives me the same error. However I am able to set non-RTTMON values on the same router.
Can anyone tell me as to where I am going wrong?
Thanks and regards
Roycey
Solved! Go to Solution.
06-02-2010 07:39 AM
The target address object must only be four bytes. Try using a hex string type, and specify:
"3d f6 d0 7d"
06-03-2010 10:14 PM
Your ttMonCtrlAdminRttType is voip. It needs to be jitter(9) to be able to set a codec.
06-02-2010 07:39 AM
The target address object must only be four bytes. Try using a hex string type, and specify:
"3d f6 d0 7d"
06-03-2010 04:05 AM
Hi Clarke
Thanks for the lead. It did help. I was able to set the values successfully to calculte UDP jitter.
However, when I try to set the values to calculate the Voip metrics like MOS etc I again ran into some problems. My snmp query and error message is as below
snmpset -v2c -c NE1 172.22.2.1
1.3.6.1.4.1.9.9.42.1.2.1.1.4.5 i 13
1.3.6.1.4.1.9.9.42.1.2.2.1.1.5 i 27
1.3.6.1.4.1.9.9.42.1.2.2.1.2.5 x '3D F6 D0 7D'
1.3.6.1.4.1.9.9.42.1.2.2.1.5.5 i 8000
1.3.6.1.4.1.9.9.42.1.2.2.1.27.5 i 1
1.3.6.1.4.1.9.9.42.1.2.2.1.28.5 i 20
1.3.6.1.4.1.9.9.42.1.2.2.1.29.5 i 172
1.3.6.1.4.1.9.9.42.1.2.2.1.30.5 i 1000
1.3.6.1.4.1.9.9.42.1.2.1.1.9.5 i 4
1.3.6.1.4.1.9.9.42.1.2.5.1.2.5 t 1
1.3.6.1.4.1.9.9.42.1.2.5.1.1.5 i 2147483647
Error in packet.
Reason: wrongValue (The set value is illegal or unsupported in some way)
Failed object: SNMPv2-SMI::enterprises.9.9.42.1.2.2.1.27.5
The error is for the OID which defines the codec type. I tried with 1, 2 and 3 values. All the the 3 gives me the same error.
The Cisco device is of type Cisco IOS Software, 1841 Software (C1841-ADVSECURITYK9-M), Version 12.4(12), RELEASE SOFTWARE (fc1)
According to a documentation, I see that Voip Metrics are available from 12.3(4)T onwards.
Please let me know if I am doing something wrong or missing out on something.
Thanks and Regards
Roycey
06-03-2010 10:14 PM
Your ttMonCtrlAdminRttType is voip. It needs to be jitter(9) to be able to set a codec.
06-03-2010 10:44 PM
Hey Clarke
Thanks so much.
It works!
Regards
Roycey
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide