Fibre Channel (SAN)

Reply
bs
Occasional Contributor
Posts: 10
Registered: ‎10-26-2011
Accepted Solution

shared area adressing

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

Re: shared area adressing

[ 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

 

 

 

 

bs
Occasional Contributor
Posts: 10
Registered: ‎10-26-2011

Re: shared area adressing

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

Brocadian
Posts: 1
Registered: ‎04-22-2013

Re: shared area adressing

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

Phani Kumar Kasibhotla
Lead Engineer, BNA SQA
BODC, Chennai
www.brocade.com
Valued Contributor
Posts: 761
Registered: ‎06-11-2010

Re: shared area adressing

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

Join the Community

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

Download FREE NVMe eBook