For more details, please see ourCookie Policy.


Fibre Channel (SAN)

Reply
Anonymous
Posts: 0

How to view wwn using snmp?

Hi,

I am currently using solarwinds toolset. I want to learn my devices' wwn with using my snmp control services. I can see them when i log in to my switch but i want to see them in without log in, i want to use snmp for it. Is there an snmp discover program which would be suitable for me?

Thanks for help.

Anonymous
Posts: 0

Re: How to view wwn using snmp?

I am not sure if this works for you if you query the correct object ID from the Name Server Database group.

If my brain works correctly you may find the device WWNs in following OID:swNsNodeName 1.3.6.1.4.1.1588.2.1.1.1.7.2.1.6 

In some FOS codes you will not see all entires. There is a known defect in some codes.

Please have a look in the MIB refernece guide.

If this answers your question, please mark the thread,

Thanks,

Andreas

Anonymous
Posts: 0

Re: How to view wwn using snmp?

I can confirm andreas OID is correct, alternativly your could use .1.3.6.1.3.94.1.10.1.22 (connUnitPortNodeWwn as described in fcmgmt-mib)

This will get the connected node name instead of portname, on the upside this OID should be vendor independent.

Anonymous
Posts: 0

Re: How to view wwn using snmp?

O and to add to that

OID .1.3.6.1.3.94.1.12.1.5 (connUnitLinkPortWwnX) can give a portname of but only if .1.3.6.1.3.94.1.12.1.3 is known.

Again this should be vendor independent.

Anonymous
Posts: 0

Re: How to view wwn using snmp?

Thanks for help guys, but it seems to be not working. Only .1.3.6.1.3.94.1.12.1.3 is kinda working but it doesn't give me expected results.

Here is a screenshot of results  http://i.imgur.com/gWgIS.jpg

I want to show like this http://i.imgur.com/9wCDy.jpg

Any help would be appreciated.

Anonymous
Posts: 0

Re: How to view wwn using snmp?

Did you try other OID's as well, for example .1.3.6.1.4.1.1588.2.1.1.1.7.2.1.5 ?

Anonymous
Posts: 0

Re: How to view wwn using snmp?

@dion

i used that oid you gave me and i can see swNsPortSymb now - http://i.imgur.com/90llj.jpg -  but still "i couldn't get wwn".

I tried the other oid's that i searched from that website -http://www.oidview.com/mibs/1588/SW-MIB.html- but couldn't succeed either.

thanks again for your support.

Anonymous
Posts: 0

Re: How to view wwn using snmp?

You're using solarwinds builtin tools to execute a snmp query, if i'm not mistaken.

Did you try an alternative tool to exclude any strange behaviour within solarwinds?

Personally i like the mibbrowser from ireasoning, but you can try which ever one you prefer.

If you tried every oid from the ns table and got no result from solarwinds and another tool it could be possible the wwn's aren't published.

Try the OID's from http://www.oidview.com/mibs/0/FCMGMT-MIB.html maybe, they will give the result you want.

When time permits i'll try it myself tommorrow.

Highlighted
Anonymous
Posts: 0

Re: How to view wwn using snmp?

Ok tried in in my own environment with the mibbrowser from iReasoning and the Brocade OID's from the nsTable work for me.

Looks like solarwinds is trying to convert the value's to something meaningfull with which it can work with or bug or something.

Please try to get to value's from an alternative mibbrowser/walker whatever to confirm (or not) that it is indeed solarwinds.

I've attached a printscreen for reference.

nstable.bmp

Anonymous
Posts: 0

Re: How to view wwn using snmp?

I have check the SNMP way on a Linux box and it works:

The OID 1.3.1.4.1.1588.2.1.1.1.7.2.1.4 will link to a table of all NS entires but the enties are presented in a HEX-String

Please see the small output. First the lines from snmpwalk and below that the entires from the nameserver of the switch.

Andreas

hcs_070.png

Join the Broadcom Support Community

Get quick and easy access to valuable resources across the Broadcom Community Network.