Fibre Channel (SAN)

Highlighted
Anonymous
Posts: 0

Hi guys,

I have a question about shared area adressing on the DCX/8510 switches. Is there an easy way to calculate the 24-bit PID of a port above 255? for example port 168 = XXa800 and port 288 = xxa880. I know that brocade uses the third byte to address the ports above 256-512 with xx xx 80 but how can this be translated to decimal and back to hex?

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

[ Edited ]

Hi there,

As you said, for ports in the range of 0-255:

Port number in dec = Area ID in Hex

Ex: 168 = XXa800 = 0xa8

Whilst in the range of 256-512, the rule changes to:

Port number in dec = Area ID in Hex + Node Address in Hex - 8 in Hex

Ex:

272 = XX9880 = 0x98 + 0x80 - 0x8 = 0x110

288 = XXa880 = 0xa8 + 0x80 - 0x8 = 0x120

This been said, If you know the Port number, the Area ID would be:

Area ID = port number in hex - Node Address in Hex + 8

XX9880  = 0x110 - 0x98 - 0x80 + 0x8

XXa880 = 0x120 - 0xa8 - 0x80 + 0x8

and viceversa.

Rgds

Anonymous
Posts: 0

many thanks felipon!! this was exactly what i was looking for!

Anonymous
Posts: 0

Hey Felipon, one small clarification please...

Is the “Node Address in Hex”  & “- 8 in Hex” is always a constant?... Because I remember seeing some last bytes as c0,a0,f0?

Please clarify (if possible with some examples of the calculations for last bytes as c0, a0, f0)

Regards,

Phani

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

Hi pkasibho,

My previous post applied to Directors without VF enabled. Once VF is enabled the addressing system changes, and endings such as c0, 80 appear.

Rgds