UNSOLVED

sanworld

updated

18 years ago

S

sanworld

7 Posts

0

696

June 3rd, 2008 16:00

listing of World Wide Names

Is there a way via CLI or Web Tools to output all the WWNs within a fabric and output it to a file?
  • RRR

    6 Operator

    •

    5739 Posts

    291

    0

    Posted June 4th, 2008 02:00

    On the Brocade website you can download a tool called sanhealth. This tool gatheres information about your fabric which eventually will give you a nive spreadsheet with all info you'd ever want, including licensing, zoning, aliases, port descriptors and so forth. Very handsome tool !
  • mpi2

    2 Intern

    •

    215 Posts

    291

    0

    Posted June 4th, 2008 02:00

    Building a custom script (get all fabric switches with fabricshow and then execute switchshow on every fabric switch) can give you this information.
    But if you need this information once a month for example I would prefer using SAN Health from Brocade. It is a free Tool creating a Report where you can find this information and much more.

    best regards
    Manfred
  • Sabey1

    35 Posts

    291

    0

    Posted July 16th, 2008 05:00

    You can use SNMP to get the WWN of each port (unless you setup a SSH connection with key). Here is sample of my script that check the zoning consistancy of Broicade fabric:


    %oid = (
    activewwn => "1.3.6.1.4.1.1588.2.1.1.1.7.2.1.4",
    activeportid => "1.3.6.1.4.1.1588.2.1.1.1.7.2.1.2"
    );

    @output=`/opt/contrib/bin/snmpwalk -OEq -v1 -c $COMMUNITY $swname $oid{activewwn}`;
    foreach $line (grep(/^\w+/,@output)) {
    chomp $line;
    $line=~s/\s\"/@/;
    $line=~s/\s+\"$//;
    ($iod,$wwn)=split(/@/,$line);
    }

    Sabey
  • RRR

    6 Operator

    •

    5739 Posts

    291

    0

    Posted August 19th, 2008 01:00

    Is your question answered ? If so, please mark your question as such and reward any helpful or correct answers.