# Brocade Fibre Channel Networking Community

View Only

• #### 1.  shared area adressing

Posted 03-26-2014 02:07 AM

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?

Posted 03-27-2014 04:29 AM

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

#pid
#areaid
#hex

• #### 3.  Re: shared area adressing

Posted 04-02-2014 01:52 AM

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

• #### 4.  Re: shared area adressing

Posted 04-20-2014 09:33 PM

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

• #### 5.  Re: shared area adressing

Posted 05-07-2014 07:24 AM

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