protoss

updated

18 years ago

P

protoss

2 Intern

•

128 Posts

0

8002

September 23rd, 2008 09:00

Finding Switch/Port using wwn

Is there a command like "node find " for brocade in cisco using which we can find the Switch/Port into which the HBA is logged into if we know the WWN of HBA
  • AranH1

    2163 Posts

    4765

    0

    Posted September 23rd, 2008 10:00

    Yes. You can perform a 'show flogi database' and search for the pwwn of the HBA.

    For example, I know that the HBA of my host is 21:00:00:e0:8b:80:43:70, so I run the 'show flogi database' command with an output modifier to include only entries with the pwwn of the host I am looking for.

    PXDC-MDS9509a# show flogi database details | include 21:00:00:e0:8b:80:43:70

    fc3/10 10 0x011000 21:00:00:e0:8b:80:43:70 20:00:00:e0:8b:80:43:70

    So from the results above I see that pwwn 21:00:00:e0:8b:80:43:70 is logged in to fc3/10 which is line card module 3, port 10 and that it is in VSAN 10 and the fcid is 0x011000.
  • protoss

    2 Intern

    •

    128 Posts

    4773

    0

    Posted September 23rd, 2008 10:00

    Thankyou Very much.
  • AranH1

    2163 Posts

    4773

    0

    Posted September 23rd, 2008 11:00

    I believe that the flogi database is local to each switch. Do you have that many switches to search to look for a particular HBA?
  • protoss

    2 Intern

    •

    128 Posts

    4773

    0

    Posted September 23rd, 2008 11:00

    what if we do not know which switch the HBA is connected to? Is there a command which finds the WWN in the entire fabric??
  • 4773

    0

    Posted September 23rd, 2008 14:00

    Have you tried a "show fcns database"?
  • AranH1

    2163 Posts

    4773

    0

    Posted September 23rd, 2008 14:00

    But that only provides the fcid and not the switch port right?
  • protoss

    2 Intern

    •

    128 Posts

    4773

    0

    Posted September 23rd, 2008 14:00

    yes we have like 6 switches. I can do flogi database on each one of them. wanted to check if there was an easier way thats all.
  • 4773

    0

    Posted September 23rd, 2008 15:00

    That is correct but there are ways to redirect the output and use other commands to locate the corresponding port.

    The easiest way might be a report from FM instead.
  • protoss

    2 Intern

    •

    128 Posts

    4773

    0

    Posted September 24th, 2008 13:00

    What FM report are you talking about?
  • 751

    1

    Posted September 24th, 2008 14:00

    Log into FM via FM Web Client and click on the Reports tab.

    Thank you.