Fibre Channel (SAN)

Reply
Occasional Contributor
Posts: 10
Registered: ‎06-24-2010

Broacade CLI question

I am quite new to Brocade.

I have host WWN, How can I know is it login in the switch or not?

I do not have port number.

Can anyone please provide me command set for this?

Super Contributor
Posts: 425
Registered: ‎03-03-2010

Re: Broacade CLI question

connect to the SW port through Fibre cable.

If it is solaris/Windows/VM/ then it will show you like this :

user> switchshow
switchName:     HDFC_UAT5_FAB1
switchType:     64.3
switchState:    Online
switchMode:     Native
switchRole:     Subordinate
switchDomain:   28
switchId:       fffc1c
switchWwn:      10:00:00:05:1e:86:67:81
zoning:         ON (CFG1UAT)
switchBeacon:   OFF
FC Router:      OFF
FC Router BB Fabric ID: 1

Area Port Media Speed State     Proto
=====================================
  0   0   id    N4   Online           E-Port  10:00:00:05:1e:36:3a:f6 "HDFC_UAT_
48K1" (upstream)(Trunk master)
  1   1   id    N4   Online           E-Port  (Trunk port, master is Port  0 )
  2   2   id    N4   Online           E-Port  (Trunk port, master is Port  0 )
  3   3   id    N4   Online           E-Port  (Trunk port, master is Port  0 )
  4   4   id    N8   No_Light
  5   5   id    N8   No_Light
  6   6   id    N8   No_Light
  7   7   id    N8   No_Light
  8   8   id    N4   Online           F-Port  10:00:00:00:c9:97:b5:48
  9   9   id    N4   Online           F-Port  10:00:00:00:c9:97:ba:30
10  10   id    N4   Online           F-Port  10:00:00:00:c9:97:b7:aa
11  11   id    N4   Online           F-Port  10:00:00:00:c9:97:bd:a6
12  12   id    N8   No_Light
13  13   id    N8   No_Light
14  14   id    N8   No_Light
15  15   id    N8   No_Light
16  16   id    N4   Online           L-Port  1 public
17  17   id    N4   Online           L-Port  1 public
18  18   id    N4   Online           F-Port  21:00:00:24:ff:28:2a:72
19  19   id    N4   Online           F-Port  21:00:00:e0:8b:9b:0b:0f
20  20   id    N4   Online           F-Port  21:00:00:24:ff:28:2b:00
21  21   id    N4   Online           F-Port  21:00:00:24:ff:28:2b:22
22  22   id    N4   Online           F-Port  21:00:00:1b:32:9c:16:a9
23  23   id    N4   Online           F-Port  21:00:00:24:ff:28:2a:c4
24  24   id    N8   No_Light
25  25   id    N4   Online           F-Port  21:00:00:1b:32:00:d3:83
26  26   id    N2   Online           F-Port  21:00:00:1b:32:0d:83:e8
27  27   id    N2   Online           F-Port  21:00:00:e0:8b:17:7f:30
28  28   id    N2   Online           F-Port  10:00:00:00:c9:46:22:18
29  29   id    N2   Online           F-Port  10:00:00:00:c9:3e:8c:43
30  30   id    N4   Online           F-Port  21:00:00:1b:32:0a:2d:31
31  31   id    4G   Online           F-Port  21:00:00:1b:32:0a:50:31
32  32   id    N2   Online           F-Port  10:00:00:00:c9:46:6b:54
33  33   id    N2   Online           F-Port  10:00:00:00:c9:46:6f:1f
34  34   id    N2   Online           F-Port  10:00:00:00:c9:55:bf:47
35  35   id    4G   Online           F-Port  21:00:00:1b:32:0a:66:33
36  36   id    N8   No_Light
37  37   id    N2   Online           F-Port  10:00:00:00:c9:59:b8:fe
38  38   id    N4   Online           F-Port  10:00:00:00:c9:59:cb:87
39  39   id    N4   Online           F-Port  10:00:00:00:c9:5f:24:9e
40  40   id    N4   Online           F-Port  50:01:73:80:01:06:01:90
41  41   id    N4   Online           F-Port  50:01:73:80:01:06:01:80
42  42   id    N4   Online           F-Port  50:01:73:80:01:06:01:40
43  43   id    N4   Online           F-Port  50:01:73:80:01:06:01:60
44  44   id    N4   Online           F-Port  50:01:73:80:01:06:01:73
45  45   id    N4   Online           F-Port  50:01:73:80:01:06:01:50
46  46   id    N4   Online           F-Port  10:00:00:00:c9:89:30:1a
47  47   id    N2   Online           F-Port  21:00:00:e0:8b:10:79:e6
48  48   id    N2   Online           F-Port  21:00:00:e0:8b:10:12:3c
49  49   id    N4   Online           F-Port  21:00:00:e0:8b:95:ea:1c
50  50   id    N4   Online           F-Port  50:06:0e:80:10:62:cf:60
51  51   id    N8   No_Light
52  52   id    N4   Online           F-Port  21:00:00:1b:32:11:68:21
53  53   id    N4   Online           F-Port  21:00:00:1b:32:08:c9:bc
54  54   id    N4   Online           F-Port  10:00:00:00:c9:9c:be:c5
55  55   id    N4   Online           F-Port  10:00:00:00:c9:9c:bd:b9
56  56   id    N2   Online           F-Port  10:00:00:00:c9:46:22:23
57  57   id    N2   Online           F-Port  10:00:00:00:c9:3e:8c:53
58  58   id    N2   Online           F-Port  10:00:00:00:c9:3e:96:3c
59  59   id    N2   Online           F-Port  10:00:00:00:c9:3e:96:4f
60  60   id    N2   Online           F-Port  10:00:00:00:c9:3e:96:d1
61  61   id    N2   Online           F-Port  10:00:00:00:c9:46:e5:e4
62  62   id    N2   Online           F-Port  10:00:00:00:c9:3e:95:f7
63  63   id    N2   Online           F-Port  10:00:00:00:c9:3e:8c:2a
64  64   id    N4   Online           F-Port  21:00:00:1b:32:9d:5d:a3
65  65   id    N4   Online           F-Port  21:00:00:1b:32:9d:8f:a3
66  66   id    N4   Online           F-Port  21:00:00:1b:32:9d:09:aa
67  67   id    N4   Online           F-Port  21:00:00:1b:32:9d:56:a4
68  68   id    N4   Online           F-Port  21:00:00:1b:32:9d:cc:a9
69  69   id    N4   Online           F-Port  50:06:0e:80:05:42:a2:69
70  70   id    N4   Online           F-Port  50:06:0e:80:05:42:a2:29
71  71   id    N4   Online           F-Port  50:01:43:80:04:c4:fc:1c
72  72   id    N4   Online           F-Port  50:01:43:80:02:9e:e3:90
73  73   id    N4   Online           F-Port  20:34:00:a0:b8:11:90:2c
74  74   id    N2   Online           F-Port  21:01:00:e0:8b:b2:f8:73
75  75   id    N2   Online           F-Port  21:00:00:e0:8b:92:8c:71
76  76   id    N4   Online           F-Port  21:00:00:1b:32:04:60:a3
77  77   id    N4   Online           F-Port  10:00:00:00:c9:9c:be:f2
78  78   id    N4   Online           F-Port  10:00:00:00:c9:9c:be:c4
79  79   id    N8   No_Light
-------------------------------------------------------------------------------------------------

E ports are ISL ports,

F ports are Fabric login ports, In AIX hosts it will show you L port or IN_SYNC, you have to do a rmdev and cfgmgr , then it will do a Fabric log in and show you F-ports, pls find attached command ref manual

If you find the thread helpful, pls correct the thread

Contributor
Posts: 31
Registered: ‎04-16-2007

Re: Broacade CLI question

Run the following command switchshow | grep -i ce:e3

(ce:e3) is the last Hexs of the host wwn like shown bellow Confirmed that it is your host (complete wwn)

DCX01_A:admploufg> switchshow | grep -i ce:e3
68    9    4   0a4400   id    N8   Online           F-Port  10:00:00:00:c9:87:ce:e3

Write down the port and slot number. After run the following command

DCX01_A:admploufg> portshow 9/4

portName:XXX
portHealth: HEALTHY
Authentication: None
portDisableReason: None
portCFlags: 0x1
portFlags: 0x24b03       PRESENT ACTIVE F_PORT G_PORT LOGICAL_ONLINE LOGIN NOELP LED ACCEPT FLOGI

Look at the port flag it is showing the login process and this mean that the device has log in to the fabric.

You could also used the nsshow, nscamshow

Super Contributor
Posts: 425
Registered: ‎03-03-2010

Re: Broacade CLI question

nsshow/nscamshow will nameserver based only.has doc benefited you?

Occasional Contributor
Posts: 10
Registered: ‎06-24-2010

Re: Broacade CLI question

Hemant,

The document is really helpful to me as beginner.

Thanks for your support.

Join the Community

Get quick and easy access to valuable resource designed to help you manage your Brocade Network.