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

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



Thanks Kevin. 

It seems the our experiment switch does not work fine with snmp. I tried the
snmpget on both Control and Experiment switch. Only control switch can give
me some feedback of system information. The experiment switch is always time
out. Furthermore, I found the experiment switch was upgraded by someone
because it's IOS was not the same as the control switch. Such as:

Experiment switch:
Cisco IOS Software, C3560 Software (C3560-ADVIPSERVICESK9-M), Version
12.2(37)SE1

Control switch:
Cisco IOS Software, C3560 Software (C3560-IPSERVICES-M), Version
12.2(25)SEB4

However, I checked the snmp configuration on both switches. Both of them
looks fine. Some information is as follows:

Experiment switch:
cisco2#show snmp 
Chassis: FOC1023Y0MP
643 SNMP packets input
    0 Bad SNMP version errors
    388 Unknown community name
    0 Illegal operation for community name supplied
    0 Encoding errors
    166 Number of requested variables
    22 Number of altered variables
    166 Get-request PDUs
    0 Get-next PDUs
    79 Set-request PDUs
    0 Input queue packet drops (Maximum queue size 1000)
255 SNMP packets output
    0 Too big errors (Maximum packet size 1500)
    0 No such name errors
    0 Bad values errors
    0 General errors
    255 Response PDUs
    0 Trap PDUs
SNMP global trap: disabled
 
SNMP logging: disabled
SNMP agent enabled
***********************************

Control switch:
cisco1#show snmp 
Chassis: FOC1023Y0N1
2 SNMP packets input
    0 Bad SNMP version errors
    0 Unknown community name
    0 Illegal operation for community name supplied
    0 Encoding errors
    2 Number of requested variables
    0 Number of altered variables
    2 Get-request PDUs
    0 Get-next PDUs
    0 Set-request PDUs
2 SNMP packets output
    0 Too big errors (Maximum packet size 1500)
    0 No such name errors
    0 Bad values errors
    0 General errors
    2 Response PDUs
    0 Trap PDUs
SNMP global trap: disabled
 
SNMP logging: disabled
SNMP agent enabled
*********************************

I have tried to search snmp configuration on cisco documents and online, but
I can hardly get some idea about this. Of course, I added some other snmp
community string on cisco2 for testing. But all of them time out. So how can
we enable or make the snmp work on cisco2, instead of replacing the IOS
software from backup cisco1 to cisco2?

Any idea about this? Thanks a lot.

Best Regards,

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

-----Original Message-----
From: testbed-admins-bounces@flux.utah.edu
[mailto:testbed-admins-bounces@flux.utah.edu] On Behalf Of Kevin Lahey
Sent: Saturday, April 11, 2009 1:05 PM
To: testbed-admins@flux.utah.edu
Subject: Re: [Testbed-admins] need advice regarding "SNMP GET failed"

On Sat, 11 Apr 2009 10:58:43 -0500
"Cheng Cui" <ccui1@tigers.lsu.edu> wrote:

> The community string in Control switch is 'vlan1', and in Experiment
> switch is 'vlan2'. But don't be confused, we just want to diff them
> from our cisco1 and cisco2 accordingly. Other are mentioned in
> Mohammed's previous email. One thing I want to say is that the cisco2
> seems to be customized for something which I am not sure, because it
> is borrowed and everything works fine before this problem.

The failure seems to be in getting the basic information out of the
switch.  This is very, very similar to the command (run from boss, not
users):

	boss% snmpget cisco4 vlan2 system.sysDescr.0

The idea is to make a very basic SNMP query of the switch, to make sure
that it's all set up correctly.  Once you can get that to work, you
should be able to get further along in the configuration.  ('vlan2', of
course, is the community string in that command, so obviously you ought
to change that if you change the community string).

> Please help us if there is something wrong in our design or any
> configuration. Thanks a lot.

Taking a quick look, I wonder if you don't want to have identical read
and write community strings on your control switch -- I don't see
an obvious place to enter separate community strings into the
switch_stack_type database, but it's been awhile since I've set up a
system from scratch, so maybe I'm missing something.

My apologizes for a half-assed answer, but it's Saturday morning and I
have to get my day started.  Y'all sounded like you might prefer a
quick answer now to a fully-cooked one on Monday. :-)

Good luck,

Kevin
lahey@isi.edu
_______________________________________________
Testbed-admins mailing list
Testbed-admins@flux.utah.edu
http://www.flux.utah.edu/mailman/listinfo/testbed-admins