I
want to give more detail on our problem below. The previous problem” SNMP GET failed - In /usr/testbed/bin/snmpit” was solved
because the boss ip (192.168.0.70) is mis-match with the cisco2(192.168.1.1).
But now we have another problem like ”SNMP
SET failed”: *** WARNING: snmpit: *** SNMP SET failed - In /usr/testbed/bin/snmpit *** SNMPIT set failed for device cisco2 (try 10 of 10) *** Variable was [portDuplex,0.5,2,INTEGER] *** Returned (undefined), ErrorNum was 6 *** Error string is: noAccess For
simplicity, I altered our topology design as boss will not be directly
connected to the Experiment switch. Boss(192.168.0.70)
=> Control switch(cisco1, vlan2 192.168.0.1, gateway 192.168.0.70) =>
Experiment switch(cisco2, vlan2 192.168.0.2, gateway 192.168.0.1) The
database is the same as before: mysql>
select * from switch_stack_types; +------------+------------+------------------+---------------+----------------+----------+----------+--------+ |
stack_id | stack_type | supports_private | single_domain |
snmp_community | min_vlan | max_vlan | leader | +------------+------------+------------------+---------------+----------------+----------+----------+--------+ |
Experiment | generic
| 0
| 0 |
vlan2
| 2 | 1000 |
cisco2 | |
Control | generic
|
0 | 0 |
vlan1
| 2 | 1000 |
cisco1 | +------------+------------+------------------+---------------+----------------+----------+----------+--------+ 2
rows in set (0.01 sec) mysql>
select * from switch_stacks; +---------+------------+------------+ |
node_id | stack_id | is_primary | +---------+------------+------------+ |
cisco2 | Experiment
| 1 | |
cisco1 | Control
| 1 | +---------+------------+------------+ 2
rows in set (0.00 sec) ********************************** Meanwhile,
after this modification, I can “snmpit -i cisco2 -l -w -v 1” or “snmpget
cisco2 vlan2 system.sysDescr.0” on Boss to get some feedback from
experiment switch(192.168.0.2) through the control switch(192.168.0.1). However,
the “SNMP SET failed” problem makes
me confused about our experiment. Do I have some wrong design in the topology
or something else? Just stuck here with no idea. Thanks
a lot. Cheng
Cui 578-5445
• 231 Johnston Hall • Baton Rouge, LA 70803 From: Cheng Cui
[mailto:ccui1@tigers.lsu.edu] Hello
guys, Another
problem happens and it looks wired. I can test the snmpget -i + <arg> to
cisco2 from boss after I re-matched the ip address of boss and experiment
switch : ) But in the experiment, it fails with such error message: *** WARNING: snmpit: *** SNMP SET failed - In /usr/testbed/bin/snmpit *** SNMPIT set failed for device cisco2 (try 10 of 10) *** Variable was [portDuplex,0.5,2,INTEGER] *** Returned (undefined), ErrorNum was 6 *** Error string is: noAccess I
believe boss is sending package through 192.168.1.70(boss) to
192.168.1.1(experiment switch). And during the experiment, I get the vlan set
up from boss terminal, however, after the experiment fails, those setup was
cleaned up. %wap
snmpit -l VLAN
Project/Experiment VName Members -------------------------------------------------------------------------------- 18
testbed/test11 link0-del pc:1 pc3:2 19
testbed/test11 link0-del pc2:1 pc3:1 My
ns script is quite simple because there are only 3 free nodes for testing:
set
link0 [$ns duplex-link $nodeB $nodeA 30Mb 50ms DropTail] tb-set-link-loss
$link0 0.01 I
am stuck here as my knowledge is limited. Does anyone has an idea about this
problem? Best
Regards, Cheng
Cui 578-5445
• 231 Johnston Hall • Baton Rouge, LA 70803 -----Original Message----- Sent: Sunday, April 12, 2009 6:48 PM Subject: RE: [Testbed-admins]
need advice regarding "SNMP GET failed" |