cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1104
Views
35
Helpful
16
Replies

Discovery Cisco SF300 on Prime Infrastructure 2.2

marcio.tormente
Level 4
Level 4

Dear!

 

I'm trying to discovery all device in the network, the big majority is Cisco SF300, some switches 2960 and others 3750, but when I try to discovery using quick discovery, advanced discovery or import a file CSV, only few devices are discovered.

The configuration of SF300 is:

snmp-server location "Rack Secon"
snmp-server contact Suporte
snmp-server community public ro view Default

!

Cisco 3750: (the status is partial collection failure)

snmp-server community public RO
snmp-server location "Rack DC_TI"
snmp-server contact Suporte

Attached is the image of Prime.

 

Thanks

 

 

 

1 Accepted Solution

Accepted Solutions

Login to the server , I mean SSH to PI server ::

 

now from the PI console do a manual SNMPWALK to check the SNMP connectivity::

from the root shell::

snmpwalk -v2c -c <community-name> <Device-IP> <OID/Object name>

 

Thanks-

Thanks- Afroz [Do rate the useful post] ****Ratings Encourages Contributors ****

View solution in original post

16 Replies 16

AFROJ AHMAD
Cisco Employee
Cisco Employee

Hi ,

Make sure the SNMP credentials are correct. , also you need to define the "RW" string in PI.

 

add the "RW" community string and check the issue

 

Thanks-

Afroz

***Ratings Encourages Contributors ***

 

Thanks- Afroz [Do rate the useful post] ****Ratings Encourages Contributors ****

Thanks Afroj!

 

The credention is "public" , same as configure on switch.

Where can I configure "RW" string in PI?

Is mandatory configure RW on switch?

 

Thanks

Try to manually add  one device and see how it works with BOTH RO and RW

 

or in discovery setting instead of RO , try RW string

 

Hope RW string is configured on the  devices

 

Thanks-

Afroz

Thanks- Afroz [Do rate the useful post] ****Ratings Encourages Contributors ****

I change the configuration to:

snmp-server community USC rw view Default
snmp-server community public ro view Default

I tryed to add device and still with "SNMP connectivity failure"

Do I have to do something else in PI?

Was missing SNMP-Server server, after apply this command the status change to:

 

"Partial Collection Failure"

 

I tryed with RO, RO and RW and only RW, the status doesn´t change.

Login to the server , I mean SSH to PI server ::

 

now from the PI console do a manual SNMPWALK to check the SNMP connectivity::

from the root shell::

snmpwalk -v2c -c <community-name> <Device-IP> <OID/Object name>

 

Thanks-

Thanks- Afroz [Do rate the useful post] ****Ratings Encourages Contributors ****

Afroj,

 

This command is not available:

 

cpia101/admin# snmpwalk -v2c ?
% invalid command

cpia101/admin# snmpwalk ?
% invalid command

cpia101/admin# sh snm?
% invalid command

cpia101/admin# conf t
Enter configuration commands, one per line.  End with CNTL/Z.
cpia101/admin(config)# snmp-server ?
  community  Set community string
  contact    Text for mib object sysContact
  host       Specify hosts to receive SNMP notifications
  location   Text for mib object sysLocation

cpia101/admin(config)# ip sn?
% invalid command

I found a Bug int the Cisco's website, but they say that don't need do anything and is fixed, but in my case maybe is an other problem

 

https://tools.cisco.com/bugsearch/bug/CSCus62822/?referring_site=bugquickviewredir 

 

 

Hi,

as suggested earlier , tried to do the SNMP walk from root shell as shown in steps by Marvin and see it is working.

 

also you can try to restart the PI services once ( ncs stop  then ncs start ) and see if it helps

 

Thanks-
 

Thanks- Afroz [Do rate the useful post] ****Ratings Encourages Contributors ****

Dear,

Sorry, maybe is simple question, I'm trying to put this command but I don't know what is the <OID/Object name>.

ade # snmpwalk -v2c -c public 10.205.3.5
.bash_logout        .tcshrc             install.log.syslog
.bash_profile       anaconda-ks.cfg     ks-post.log
.bashrc             bin/                logs/
.cshrc              install.log         ova.ks.cfg
ade # snmpwalk -v2c -c public 10.205.3.5

 

 

thanks

 

Both of you help me a lot, know is working, I add a new device and is fine, know I'll try to import a list.

Thank you very much.

Both are the best.

Marcio,

Please note that the recently released Device Pack 5 fixes bug ID CSCus62822.

The Bug Toolkit hasn't been updated yet but it is noted in the Device Pack Release Notes.

Marcio,

As Afroj noted, "snmpwalk" requires you be in the root shell (i.e. the underlying Red Hat Linux OS). The prompts shown in your output indicate you are in the ADE-OS that overlays the root bash shell.

Please switch to root shell first via the "root" command. See the following example:

PI/admin# root
Enter root password : 
Starting root bash shell ... 
ade # snmpwalk
No hostname specified.
USAGE: snmpwalk [OPTIONS] AGENT [OID]

(remainder of shell output omitted)

Dear,

Sorry, maybe is simple question, I'm trying to put this command but I don't know what is the <OID/Object name>.

ade # snmpwalk -v2c -c public 10.205.3.5
.bash_logout        .tcshrc             install.log.syslog
.bash_profile       anaconda-ks.cfg     ks-post.log
.bashrc             bin/                logs/
.cshrc              install.log         ova.ks.cfg
ade # snmpwalk -v2c -c public 10.205.3.5

 

 

thanks