Sponsored Content
Full Discussion: World Wide Name (FLEX)
Operating Systems AIX World Wide Name (FLEX) Post 302894905 by akitafan on Thursday 27th of March 2014 10:12:04 PM
Old 03-27-2014
Finding WWN's

Code:
for HBA in $(lsdev -Cc adapter | grep fcs | awk '{print $1}')
do
     HOST=$(uname -n)
     WWN=$(lscfg -vl $HBA | grep Network)
     echo $HOST $HBA $WWN
done

Moderator's Comments:
Mod Comment Thanks for trying to help, but please start using code tags, check your PMs.

Last edited by zaxxon; 03-28-2014 at 04:28 AM.. Reason: code tags
 

5 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Issues getting FLEX up in HP-UX 11

Hi, I am trying to install FLEX in HP-UX 11 and I am having issues in getting it up. After installing the FLEX I got from the HP-UX site for 11.11, it complained as missing libiconv.sl. Then I got the libiconv installed from the DEPOT got from HP-UX site and now its complaining as... (2 Replies)
Discussion started by: tobsinte
2 Replies

2. UNIX for Dummies Questions & Answers

Terminal too wide

Hi Experts, It may be a trivial thing, but I am stuck. Whenver I try to open a file using vi I get error Terminal Too wide. I am using putty to connect to a Sun OS. Please advice. bash-2.05$ vi all_subs_ded_20080203.txt Terminal too wide :q 1 more file to edit:q (3 Replies)
Discussion started by: RishiPahuja
3 Replies

3. HP-UX

flex++ parser for HP-UX11

Hi, can anyone tell me were to download flex++ parser for HP-UX11 BR vasanth (1 Reply)
Discussion started by: vasanthan
1 Replies

4. Red Hat

flex installation problem

hi , when i run ./configure in wine-1.3.10 folder in midway i get error message Your flex version is too old. Please install flex version 2.5.33 or newer. but when i try to install flex using yum install flex it gives me message Package flex-2.5.4a-41.fc6.i386 already installed and latest... (1 Reply)
Discussion started by: anand121
1 Replies

5. What is on Your Mind?

Mad World Remix of Moby Video (Are You Lost In The World Like Me)

This is an excellent video comment on modern society and the remix is good too: https://www.youtube.com/watch?v=5DU1B_XkyIk 5DU1B_XkyIk Watch the video above and post your comments. (3 Replies)
Discussion started by: Neo
3 Replies
FCNSQ(8)							  Open-FCoE Tools							  FCNSQ(8)

NAME
fcnsq - Fibre Channel Name Server Query Tool SYNOPSIS
fcnsq host --gpn port_id [-q | --quiet] fcnsq host --gnn port_id [-q | --quiet] fcnsq host --gspn port_id [-q | --quiet] fcnsq host --gsnn wwpn [-q | --quiet] fcnsq ? DESCRIPTION
The fcnsq command performs Fibre Channel Name Server queries for a user-specified FC Host. The supported name server query commands include: Get Port Name (GPN), Get Node Name (GNN), Get Symbolic Node Name (GSNN), and Get Symbolic Port Name (GSPN) as described in FC-GS-3 for the Common Transport (CT) services. fcnsq takes the host bsg name as the input for the target host. Host bsg name must be a valid bsg device, e.g., "host12" as derived from /dev/bsg/fc_host12. For each name server query command, the argument is either a Port ID or a World Wide Port Name. Port IDs and World Wide Names must be specified in hexadecimal. To disable verbose output, use the --quiet option. OPTIONS
host --gpn port_id Get Port Name by Port ID for host. host --gnn port_id Get Node Name by Port ID for host. host --gspn port_id Get Symbolic Port Name by Port ID for host. host --gsnn wwpn Get Symbolic Node Name by World Wide Port Name for host. -q, --quiet Disable verbose output. ? Display a help message with basic usage instructions. EXAMPLES
Query Get Port Name (GPN) from host12 for Port ID 0xbf0027 fcnsq host12 --gpn bf0027 Query Get Node Name (GNN) from host12 for Port ID 0xbf0027 fcnsq host12 --gnn bf0027 Query Get Symbolic Port Name (GSPN) from host12 for Port ID 0xbf0027 fcnsq host12 --gspn bf0027 Query Get Symbolic Node Name (GSNN) from host12 for WWWPN 0x1000001B213C9DDA fcnsq host12 --gsnn 0x1000001B213C9DDA SEE ALSO
fcoeadm(8) SUPPORT
fcnsq is part of the fcoe-utils package, maintained through the Open-FCoE project. Resources for both developers and users can be found at the Open-FCoE website http://open-fcoe.org/. Open-FCoE 06/09/2010 FCNSQ(8)
All times are GMT -4. The time now is 05:26 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy