Fibre Channel (SAN)

Reply
New Contributor
Posts: 4
Registered: ‎08-11-2014

SNMP FC port speed

I'm trying to retrieve the port speed of a fibre channel port on an IBM 2005-B16 (rebadged Silkworm 200E) FC switch. I have the Brocade MIB Reference:

 

http://h20628.www2.hp.com/km-ext/content-webapp/document?docId=emr_na-c01384755

 

This has an entry for swFCPortSpeed with an OID of 1.3.6.1.4.1.1588.2.1.1.1.6.2.1.35. This should return "The desired baud rate for the port". There's a note in the reference doc though, which states:

 

"The baud rate can be 1 Gbit/sec, 2 Gbit/sec, autonegotiate, or 4 Gbit/sec or 8 Gbit/sec. 4 Gbit/sec is only applicable to the Brocade 4100, 4900, 7500, 7600, and 48000.8 Gbit/sec is only applicable to the Brocade DCX director."

 

When I retrieve this value on my switch, I get a value of 3 returned. The port queried is currently running at 2Gbps and I've also tried it on a port running at 4Gbps, which also returned a 3. This is obviously not correct, so I assume this OID isn't implemented on my switch.

 

Does anyone know of another way of retrieving the port speed via SNMP on this switch? I'd ideally like to return two values; the speed the port is capable of and the speed the port is currently running at.

 

Some other info which may help:

Switch: IBM 2005-B16 (re-badged Brocade Silkworm 200E)

FOS: v6.2.2f

OID: 1.3.6.1.4.1.1588.2.1.1.1.6.2.1.35.1 (to query port 0 on the switch)

 

A couple of neighbouring OIDs work fine, for example 1.3.6.1.4.1.1588.2.1.1.1.6.2.1.34.1 correctly returns the port's WWPN.

 

Any help much appreciated!


Cheers,

Neil

Valued Contributor
Posts: 761
Registered: ‎06-11-2010

Re: SNMP FC port speed

Hi,

 

Try IOD 1.3.6.1.2.1.2.2.1.5 instead.

 

Rgds

New Contributor
Posts: 4
Registered: ‎08-11-2014

Re: SNMP FC port speed

Hi felipon,


Thanks for your suggestion. OID 1.3.6.1.2.1.2.2.1.5 is ifSpeed. I've been looking at this one, but I can so far only get it to return "noSuchInstance". If I query ifNumber, it returns 21. This is a 16 port switch, so that 21 figure presumably also includes network interfaces and presumably serial interfaces too. I can't find anything that tells me how each port relates to the instance number, so I've tried querying ports 1-22, like this:

 

1.3.6.1.2.1.2.2.1.5.1

1.3.6.1.2.1.2.2.1.5.2

...

1.3.6.1.2.1.2.2.1.5.22

 

But I always get "noSuchInstance" returned. Do you have any idea what instance I need to be passing it to query the FC ports?

 

Cheers,

Neil

New Contributor
Posts: 4
Registered: ‎08-11-2014

Re: SNMP FC port speed

filipon

 

Just figured it out by using a MIB browser on my PC (I've been pulling the data out so far via a PERL script on a Linux box). Looks like FC port 0 is id 1073741824 (obvious really!?!), then the count goes up from there. Seems to work now :-)


Thanks for your help!

Join the Community

Get quick and easy access to valuable resource designed to help you manage your Brocade Network.