02-01-2012 01:38 AM
I need a list of all device node WWNs connected to a switch.
In the Port Administration GUI tool, I can see the Device Node WWN connected to a port if I click "Device Details", but to click like this for every port (and having to copy-paste) is tedious. Is there an easier (and perhaps scriptable) way to get such a list, perhaps somewhat like the zoneshow command displays a long list of information?
02-01-2012 03:33 AM
You can log into the switch via the cli, and run command "switchshow", that will give you a list of wwn's logged in.
Additionally you can run the "nsshow" command if you want to get a different output.
Or in webtools, you open port administration and click on the switch, so you have the overview of the full switch, then scroll trough the right to the columns called "remote node" or "remote port".
02-01-2012 12:36 PM
Or even better if you use webtools, hit the nameserver link in webtools to list all currently loggedin p and n wwwn's.
You can use DCFM to this job as well or have a go at SNMP query's.
02-02-2012 06:05 AM
in CLI perfom:
DCX_LS12:FID12:admin> nsshow | grep 'N '
N c6da40; 3;23:00:00:50:cc:20:31:0b;20:00:00:50:cc:20:31:0b; na
N c6ea40; 3;21:00:00:50:cc:20:31:0b;20:00:00:50:cc:20:31:0b; na
N c6fac0; 3;21:00:00:e0:8b:1c:e8:66;20:00:00:e0:8b:1c:e8:66; na
Important is the Blank after the N in the grep command.
The Red output are the connected NodeWWN.
08-11-2014 09:14 AM - edited 08-11-2014 09:15 AM
It's a pity the nsshow doesn't work for E-Ports.
Any idea how to get the port WWN for an E-Port?
I want to check the Port Numbers.
09-01-2014 02:59 AM
I have worked around this. Now I get the trunkshow information, where I extract the informations I need. In PowerShell I then have the local switchname, the local port, the remote port and the remote wwn, which I convert to the remote switchname, as I get values from all switches, including name and WWN.