[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Testbed-admins] update need advice regarding "SNMP SET failed"



Thanks Robert, but what do you mean about "change it to card 1 ('card2=1')"
?
Do you mean all the 'card2=0' should be changed to 'chard2=1'?

Here is my 'wires' table, for example?
mysql> select * from wires;
+-------+-----+---------+----------+-------+-------+----------+-------+-----
--+
| cable | len | type    | node_id1 | card1 | port1 | node_id2 | card2 |
port2 |
+-------+-----+---------+----------+-------+-------+----------+-------+-----
--+
|  NULL |   0 | Node    | pc       |     1 |     1 | cisco2   |     0 |
9 | 
|  NULL |   0 | Node    | pc       |     0 |     1 | cisco2   |     0 |
1 | 
|  NULL |   0 | Control | pc       |     2 |     1 | cisco1   |     0 |
9 | 
|  NULL |   0 | Node    | pc2      |     1 |     1 | cisco2   |     0 |
5 | 
|  NULL |   0 | Node    | pc2      |     0 |     1 | cisco2   |     0 |
7 | 
|  NULL |   0 | Control | pc2      |     2 |     1 | cisco1   |     0 |
10 | 
|  NULL |   0 | Control | pc3      |     0 |     1 | cisco1   |     0 |
2 | 
|  NULL |   0 | Node    | pc3      |     2 |     1 | cisco2   |     0 |
19 | 
|  NULL |   0 | Node    | pc3      |     1 |     1 | cisco2   |     0 |
20 | 
+-------+-----+---------+----------+-------+-------+----------+-------+-----
--+
9 rows in set (0.00 sec)

Best Regards,

Cheng Cui
578-5445 . 231 Johnston Hall . Baton Rouge, LA 70803


-----Original Message-----
From: Robert P Ricci [mailto:ricci@cs.utah.edu] 
Sent: Tuesday, April 14, 2009 10:22 AM
To: Cheng Cui
Cc: 'Adit Ranadive'; 'Keith Sklower'; azad@cct.lsu.edu;
testbed-admins@flux.utah.edu; stoller@flux.utah.edu
Subject: Re: [Testbed-admins] update need advice regarding "SNMP SET failed"

Thus spake Cheng Cui on Tue, Apr 14, 2009 at 10:05:48AM -0500:
> For question 1, I got:
> %snmpwalk -m all cisco2 vlan2 portAdminSpeed
>
enterprises.cisco.workgroup.ciscoStackMIB.portGrp.portTable.portEntry.portAd
> minSpeed.1.1 = autoDetect(1)

This is good news, since it means your switch supports the right MIB.

I'm guessing that the 'wires' table shows the switch side of the
connection as being on card 0 ('card2=0'), and if you change it to card
1 ('card2=1'), it might work.

-- 
/-----------------------------------------------------------
| Robert P Ricci <ricci@cs.utah.edu> | <ricci@flux.utah.edu>
| Research Associate, University of Utah Flux Group
| www.flux.utah.edu | www.emulab.net
\-----------------------------------------------------------