Fibre Channel (SAN)

Reply
Occasional Contributor
Posts: 6
Registered: ‎07-26-2011

Brocade 5470 and SNMP Switch FC Table

Hello,

I already graph with an open source software the values below on a DXS4-S :

swFCPortTxWords ".1.3.6.1.4.1.1588.2.1.1.1.6.2.1.11"

swFCPortRxWords ".1.3.6.1.4.1.1588.2.1.1.1.6.2.1.12"

swFCPortTxFrames ".1.3.6.1.4.1.1588.2.1.1.1.6.2.1.13"

swFCPortRxFrames ".1.3.6.1.4.1.1588.2.1.1.1.6.2.1.14"

swFCPortNoTxCredits ".1.3.6.1.4.1.1588.2.1.1.1.6.2.1.20"

swFCPortName ".1.3.6.1.4.1.1588.2.1.1.1.6.2.1.36"

swFCPortSpecifier ".1.3.6.1.4.1.1588.2.1.1.1.6.2.1.37"

But it does not work on an access gateway 5470.

How can I do to graph the same things ?

Thanks in advance.

Regards.

Regular Contributor
Posts: 178
Registered: ‎04-21-2008

Re: Brocade 5470 and SNMP Switch FC Table


Hi Samuel,

have a look at "snmpconfig --show mibCapability" and ou should see that SW-MIB does not exists in Access Gateway mode.

I faced the same issue and now use FA-MIB (Statistics group) which is available in both switch and access gateway modes.

Hope this helps

Kind regards,

--

david

Occasional Contributor
Posts: 6
Registered: ‎07-26-2011

Re: Brocade 5470 and SNMP Switch FC Table

Can you tell me what OID do you use ?

Regards,

Samuel Mutel.

Regular Contributor
Posts: 178
Registered: ‎04-21-2008

Re: Brocade 5470 and SNMP Switch FC Table

few examples :

connUnitPortStatCountTxElements 1.3.6.1.3.94.4.5.1.6

The number of octets or bytes that have been transmitted by this port. There is an one-second

periodic polling of the port. This value is saved and compared with the next polled value to compute

net throughput.

connUnitPortStatCountRxElements 1.3.6.1.3.94.4.5.1.7

The number of octets or bytes that have been received by this port. There is an one-second periodic

polling of the port. This value is saved and compared with the next polled value to compute net

throughput.

connUnitPortStatCountBBCreditZero 1.3.6.1.3.94.4.5.1.8

The number of transitions in or out of BB credit zero state.

You should check Fabric OS MIB Reference document and find all you need in Fibre Alliance section.

Hope this helps

Kind regards,

--

david

Occasional Contributor
Posts: 6
Registered: ‎07-26-2011

Re: Brocade 5470 and SNMP Switch FC Table

Do you know why when I use snmpwalk to retrieve value of 1.3.6.1.3.94.4.5.1.8, I have the result below.

How can I do to find the exact OID, to find 16.0.0.5.51.71.208.56.0.0.0.0.0.0.0.0.1 ?

SNMPv2-SMI::experimental.94.4.5.1.8.16.0.0.5.51.71.208.56.0.0.0.0.0.0.0.0.1 = Hex-STRING: 00 00 00 00 00 00 00 00  

SNMPv2-SMI::experimental.94.4.5.1.8.16.0.0.5.51.71.208.56.0.0.0.0.0.0.0.0.2 = Hex-STRING: 00 00 00 00 00 00 00 00  

SNMPv2-SMI::experimental.94.4.5.1.8.16.0.0.5.51.71.208.56.0.0.0.0.0.0.0.0.3 = Hex-STRING: 00 00 00 00 00 00 00 00  

SNMPv2-SMI::experimental.94.4.5.1.8.16.0.0.5.51.71.208.56.0.0.0.0.0.0.0.0.4 = Hex-STRING: 00 00 00 00 00 00 00 00  

SNMPv2-SMI::experimental.94.4.5.1.8.16.0.0.5.51.71.208.56.0.0.0.0.0.0.0.0.5 = Hex-STRING: 00 00 00 00 00 00 00 00  

SNMPv2-SMI::experimental.94.4.5.1.8.16.0.0.5.51.71.208.56.0.0.0.0.0.0.0.0.6 = Hex-STRING: 00 00 00 00 00 00 00 00  

SNMPv2-SMI::experimental.94.4.5.1.8.16.0.0.5.51.71.208.56.0.0.0.0.0.0.0.0.7 = Hex-STRING: 00 00 00 00 00 00 00 00  

SNMPv2-SMI::experimental.94.4.5.1.8.16.0.0.5.51.71.208.56.0.0.0.0.0.0.0.0.8 = Hex-STRING: 00 00 00 00 00 00 00 00  

SNMPv2-SMI::experimental.94.4.5.1.8.16.0.0.5.51.71.208.56.0.0.0.0.0.0.0.0.9 = Hex-STRING: 00 00 00 00 00 00 00 00  

SNMPv2-SMI::experimental.94.4.5.1.8.16.0.0.5.51.71.208.56.0.0.0.0.0.0.0.0.10 = Hex-STRING: 00 00 00 00 00 24 A8 3B  

SNMPv2-SMI::experimental.94.4.5.1.8.16.0.0.5.51.71.208.56.0.0.0.0.0.0.0.0.11 = Hex-STRING: 00 00 00 00 00 00 8A B8  

SNMPv2-SMI::experimental.94.4.5.1.8.16.0.0.5.51.71.208.56.0.0.0.0.0.0.0.0.12 = Hex-STRING: 00 00 00 00 00 00 00 00  

SNMPv2-SMI::experimental.94.4.5.1.8.16.0.0.5.51.71.208.56.0.0.0.0.0.0.0.0.13 = Hex-STRING: 00 00 00 00 00 00 00 00  

SNMPv2-SMI::experimental.94.4.5.1.8.16.0.0.5.51.71.208.56.0.0.0.0.0.0.0.0.14 = Hex-STRING: 00 00 00 00 00 00 0B C4  

SNMPv2-SMI::experimental.94.4.5.1.8.16.0.0.5.51.71.208.56.0.0.0.0.0.0.0.0.15 = Hex-STRING: 00 00 00 00 00 00 00 00  

SNMPv2-SMI::experimental.94.4.5.1.8.16.0.0.5.51.71.208.56.0.0.0.0.0.0.0.0.16 = Hex-STRING: 00 00 00 00 01 B6 C7 CA  

SNMPv2-SMI::experimental.94.4.5.1.8.16.0.0.5.51.71.208.56.0.0.0.0.0.0.0.0.17 = Hex-STRING: 00 00 00 00 00 00 DA B3  

SNMPv2-SMI::experimental.94.4.5.1.8.16.0.0.5.51.71.208.56.0.0.0.0.0.0.0.0.18 = Hex-STRING: 00 00 00 00 00 00 00 00  

SNMPv2-SMI::experimental.94.4.5.1.8.16.0.0.5.51.71.208.56.0.0.0.0.0.0.0.0.19 = Hex-STRING: 00 00 00 00 00 00 00 00  

SNMPv2-SMI::experimental.94.4.5.1.8.16.0.0.5.51.71.208.56.0.0.0.0.0.0.0.0.20 = Hex-STRING: 00 00 00 00 00 00 00 00  

SNMPv2-SMI::experimental.94.4.5.1.8.16.0.0.5.51.71.208.56.0.0.0.0.0.0.0.0.1 = Hex-STRING: 00 00 00 00 00 00 00 00  

SNMPv2-SMI::experimental.94.4.5.1.8.16.0.0.5.51.71.208.56.0.0.0.0.0.0.0.0.2 = Hex-STRING: 00 00 00 00 00 00 00 00  

SNMPv2-SMI::experimental.94.4.5.1.8.16.0.0.5.51.71.208.56.0.0.0.0.0.0.0.0.3 = Hex-STRING: 00 00 00 00 00 00 00 00  

SNMPv2-SMI::experimental.94.4.5.1.8.16.0.0.5.51.71.208.56.0.0.0.0.0.0.0.0.4 = Hex-STRING: 00 00 00 00 00 00 00 00  

SNMPv2-SMI::experimental.94.4.5.1.8.16.0.0.5.51.71.208.56.0.0.0.0.0.0.0.0.5 = Hex-STRING: 00 00 00 00 00 00 00 00  

SNMPv2-SMI::experimental.94.4.5.1.8.16.0.0.5.51.71.208.56.0.0.0.0.0.0.0.0.6 = Hex-STRING: 00 00 00 00 00 00 00 00  

SNMPv2-SMI::experimental.94.4.5.1.8.16.0.0.5.51.71.208.56.0.0.0.0.0.0.0.0.7 = Hex-STRING: 00 00 00 00 00 00 00 00  

SNMPv2-SMI::experimental.94.4.5.1.8.16.0.0.5.51.71.208.56.0.0.0.0.0.0.0.0.8 = Hex-STRING: 00 00 00 00 00 00 00 00  

SNMPv2-SMI::experimental.94.4.5.1.8.16.0.0.5.51.71.208.56.0.0.0.0.0.0.0.0.9 = Hex-STRING: 00 00 00 00 00 00 00 00  

SNMPv2-SMI::experimental.94.4.5.1.8.16.0.0.5.51.71.208.56.0.0.0.0.0.0.0.0.10 = Hex-STRING: 00 00 00 00 00 24 A8 3B  

SNMPv2-SMI::experimental.94.4.5.1.8.16.0.0.5.51.71.208.56.0.0.0.0.0.0.0.0.11 = Hex-STRING: 00 00 00 00 00 00 8A B8  

SNMPv2-SMI::experimental.94.4.5.1.8.16.0.0.5.51.71.208.56.0.0.0.0.0.0.0.0.12 = Hex-STRING: 00 00 00 00 00 00 00 00  

SNMPv2-SMI::experimental.94.4.5.1.8.16.0.0.5.51.71.208.56.0.0.0.0.0.0.0.0.13 = Hex-STRING: 00 00 00 00 00 00 00 00  

SNMPv2-SMI::experimental.94.4.5.1.8.16.0.0.5.51.71.208.56.0.0.0.0.0.0.0.0.14 = Hex-STRING: 00 00 00 00 00 00 0B C4  

SNMPv2-SMI::experimental.94.4.5.1.8.16.0.0.5.51.71.208.56.0.0.0.0.0.0.0.0.15 = Hex-STRING: 00 00 00 00 00 00 00 00  

SNMPv2-SMI::experimental.94.4.5.1.8.16.0.0.5.51.71.208.56.0.0.0.0.0.0.0.0.16 = Hex-STRING: 00 00 00 00 01 B6 C7 CA  

SNMPv2-SMI::experimental.94.4.5.1.8.16.0.0.5.51.71.208.56.0.0.0.0.0.0.0.0.17 = Hex-STRING: 00 00 00 00 00 00 DA B3  

SNMPv2-SMI::experimental.94.4.5.1.8.16.0.0.5.51.71.208.56.0.0.0.0.0.0.0.0.18 = Hex-STRING: 00 00 00 00 00 00 00 00  

SNMPv2-SMI::experimental.94.4.5.1.8.16.0.0.5.51.71.208.56.0.0.0.0.0.0.0.0.19 = Hex-STRING: 00 00 00 00 00 00 00 00  

SNMPv2-SMI::experimental.94.4.5.1.8.16.0.0.5.51.71.208.56.0.0.0.0.0.0.0.0.20 = Hex-STRING: 00 00 00 00 00 00 00 00  

Regular Contributor
Posts: 178
Registered: ‎04-21-2008

Re: Brocade 5470 and SNMP Switch FC Table

OIDs are defined for each portindex in connUnitPortStatIndex 1.3.6.1.3.94.4.5.1.2. But you don't really have to worry about that ... Take snmpwalk output and parse it  knowning that it matches

"SNMPv2-SMI::experimental.94.4.5.1.8.<blabla>.PortIndex"

And you have 64 bits statistics for all ports ... that's all

Hope this helps

Kind regards,

--

david

Occasional Contributor
Posts: 6
Registered: ‎07-26-2011

Re: Brocade 5470 and SNMP Switch FC Table

Thanks to have spent time to help me.

Last question : do you know why I got as answer ?

The option -OT of snmpwalk command is used to transform OCTET STRING into STRING.

Regular Contributor
Posts: 178
Registered: ‎04-21-2008

Re: Brocade 5470 and SNMP Switch FC Table

You're welcome.

You should use snmpbulwalk instead of snmpwalk, it's more efficient and less stressing for devices ... Concerning options, I don't use -OT and have no problem to translate hex to bigint values.

Kind regards,

--

david

Occasional Contributor
Posts: 6
Registered: ‎07-26-2011

Re: Brocade 5470 and SNMP Switch FC Table

For information it is due to FOS 6.4.

It works well with FOS 7.

Regards,

Samuel Mutel.

Join the Community

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