Brocade MyBrocade Transformation BCSDL12125SG A


Fibre Channel (SAN)

Reply
Highlighted
New Contributor
Posts: 3
Registered: ‎03-02-2011

nport zoning using CLI

Hello all,

I am interested in zoning an n-port using the CLI.  Would I use the alicreate as I would do normally if I were zoning an physical HBA?  What is the command that would display the PWWNs served up via. NPIV?

I found several articles that detail the GUI procedure creating an alias as an "other" port, but none for the CLI.  Any suggestions would be greatly appreciated.

Regards,

WS

Brocadian
Posts: 470
Registered: ‎03-20-2011

Re: nport zoning using CLI

switchshow:
...
Index Slot Port Address Media Speed State Proto
===================================================
...
48 4 0 0c3000 id N8 Online FC F-Port 1 N Port + 4 NPIV public
...

portshow 48:
...
portWwn of device(s) connected:
10:00:00:00:c9:cb:21:8a
10:00:00:00:c9:cb:5d:78
10:00:00:00:c9:cb:65:74
10:00:00:00:c9:cb:60:e8
20:11:00:05:33:da:02:81
...

portloginshow 48:
Type PID World Wide Name credit df_sz cos
=====================================================
fe 0c3011 10:00:00:00:c9:cb:21:8a 8 2112 8 scr=0x3
fe 0c3010 10:00:00:00:c9:cb:5d:78 8 2112 8 scr=0x3
fe 0c300e 10:00:00:00:c9:cb:65:74 8 2112 8 scr=0x3
fe 0c300a 10:00:00:00:c9:cb:60:e8 8 2112 8 scr=0x3
fe 0c3000 20:11:00:05:33:da:02:81 8 2112 8 scr=0x0
ff 0c3011 10:00:00:00:c9:cb:21:8a 12 2048 c d_id=FFFFFC
ff 0c3010 10:00:00:00:c9:cb:5d:78 12 2048 c d_id=FFFFFC
ff 0c300e 10:00:00:00:c9:cb:65:74 12 2048 c d_id=FFFFFC
ff 0c300a 10:00:00:00:c9:cb:60:e8 12 2048 c d_id=FFFFFC
ff 0c3000 20:11:00:05:33:da:02:81 0 0 8 d_id=FFFFFA

nsshow:
...
N 0c3000; 3;20:11:00:05:33:da:02:81;10:00:00:05:33:da:02:81; 0x00000000
Fabric Port Name: 20:30:00:05:33:60:f9:00
Permanent Port Name: 20:11:00:05:33:da:02:81
Port Index: 48
Share Area: No
Device Shared in Other AD: No
Redirect: No
Partial: No
N 0c300a; 3;10:00:00:00:c9:cb:60:e8;20:00:00:00:c9:cb:60:e8; 0x00000003
FC4s: FCP
PortSymb: "Emulex PPN-10:00:00:00:c9:cb:60:e8"
NodeSymb: "Emulex LPe1205-CIOv FV2.01A3 DV8.2.2.126.50"
Fabric Port Name: 20:30:00:05:33:60:f9:00
Permanent Port Name: 20:11:00:05:33:da:02:81
Port Index: 48
Share Area: No
Device Shared in Other AD: No
Redirect: No
Partial: No
N 0c300e; 3;10:00:00:00:c9:cb:65:74;20:00:00:00:c9:cb:65:74; 0x00000003
FC4s: FCP
PortSymb: "Emulex PPN-10:00:00:00:c9:cb:65:74"
NodeSymb: "Emulex LPe1205-CIOv FV2.01A3 DV8.2.2.126.50"
Fabric Port Name: 20:30:00:05:33:60:f9:00
Permanent Port Name: 20:11:00:05:33:da:02:81
Port Index: 48
Share Area: No
Device Shared in Other AD: No
Redirect: No
Partial: No
N 0c3010; 3;10:00:00:00:c9:cb:5d:78;20:00:00:00:c9:cb:5d:78; 0x00000003
FC4s: FCP
PortSymb: "Emulex PPN-10:00:00:00:c9:cb:5d:78"
NodeSymb: "Emulex LPe1205-CIOv FV2.01A3 DV8.2.2.126.50"
Fabric Port Name: 20:30:00:05:33:60:f9:00
Permanent Port Name: 20:11:00:05:33:da:02:81
Port Index: 48
Share Area: No
Device Shared in Other AD: No
Redirect: No
Partial: No
N 0c3011; 3;10:00:00:00:c9:cb:21:8a;20:00:00:00:c9:cb:21:8a; 0x00000003
FC4s: FCP
PortSymb: "Emulex PPN-10:00:00:00:c9:cb:21:8a"
NodeSymb: "Emulex LPe1205-CIOv FV2.01A3 DV8.2.2.126.50"
Fabric Port Name: 20:30:00:05:33:60:f9:00
Permanent Port Name: 20:11:00:05:33:da:02:81
Port Index: 48
Share Area: No
Device Shared in Other AD: No
Redirect: No
Partial: No
...

New Contributor
Posts: 3
Registered: ‎03-02-2011

Re: nport zoning using CLI

Thank you Alexy.  Once I have the port numbers I assume I can alias and zone as normal?

Brocadian
Posts: 470
Registered: ‎03-20-2011

Re: nport zoning using CLI

yes, sure. they are just WWNs seen by others like anything else. you alias them and then zone them.

New Contributor
Posts: 3
Registered: ‎03-02-2011

Re: nport zoning using CLI

Thank you for your help.

Join the Community

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