I'm currently working on an upgrade from nx-os 5.2.2 to 5.2.8c . We have some internal formalities to be done before the upgrade .
I'm filling up an excel sheet for each mds 9513 (we have 4 , 2 in each fabric ) . Looking for these details
Port No || Port Status || Port Description || Connected device name || pwwn of the connected device .
fc 1/1 up vmax 8e0 ???? ????
fc 1/2 up vnx spa0 ???? ????
fc 1/3 up host tnt tnt ???
I should be filling the sheet with the details above for all 4 switches .
I got the port status and port description ( sh interface brief and sh interface description ) .
How can I get the connected device name and pwwn for each port ? I can get the connected device name through device manager ... I want to know how this is acheived through CLI this can make my life much easier ..
sh flogi data will display device-alias right next to WWN. If you don't have device-alias you will need to take that WWN and look it up in fcalias database (if that's what you are using).
i don't think there is one command to get all the information, it will be a combination of "sh flogi data", "sh int des" and maybe sh fcalias. I see a little (or big) scripting project ahead of you
even a little scripting will help you greatly, things like awk, grep, sed and very useful. For scripting i started out with bash, then moved on to perl. You fill find tons of free tutorials online, just pick one and go for it.
dynamox
11 Legend
•
20419 Posts
•
87439 Points
884
0
Posted June 20th, 2014 13:00
sh flogi data will display device-alias right next to WWN. If you don't have device-alias you will need to take that WWN and look it up in fcalias database (if that's what you are using).