Fibre Channel (SAN)

Reply
Occasional Contributor
Posts: 13
Registered: ‎06-16-2014
Accepted Solution

gather portloginshow data for whole fabric

Hello,

I'm looking for an easy way to gather portloginshow data of every initiator port for every switch in the whole fabric.
I actually only need the "df_sz" (default frame size) value.

The reason for this is that we are planning to activate compression on our DWDM ISL links.
If compression is used, all logged in initiator devices need to have a payload < 2048, so I have to verify this first.

The problem is that the portloginshow command only works per port (you have to give slot/portnumber).
I'm looking for a way to quickly gather this info for every initiator port in the fabric.

Any ideas? :)

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

Re: gather portloginshow data for whole fabric

Hi,

 

you can build an script to check that for you. I am not a scripting expert, but an easy one woud be the following:

 

for ((i=0;i<48;i++)); do (echo 1/$i;portloginshow 1/$i); done

 

where '48' is the number of ports in the blade and '1' is port blade 1 in this example. By complicating the script you can make the checkup more and more automatic.

 

Rgds,

Felipon

Occasional Contributor
Posts: 13
Registered: ‎06-16-2014

Re: gather portloginshow data for whole fabric

Thanks, this was exactly what I needed

Join the Community

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

vADC is now Pulse Secure
Download FREE NVMe eBook