Fibre Channel (SAN)

Reply
Occasional Contributor
Posts: 17
Registered: ‎02-22-2014

How to check the SCR(State change Notification) and RSCN (Registered State change Notification)

Hi Friends,

 

 

How to check the SCR(State change Notification) and RSCN (Registered State change Notification) happing are not ..?

any where log are avalable , if it's yes plz guide me where and how to check .

Valued Contributor
Posts: 761
Registered: ‎06-11-2010

Re: How to check the SCR(State change Notification) and RSCN (Registered State change Notification)

Hi,

 

You can use 'portlogdump' or 'portlogdumpport <port>' to see if after an event a SCN/RSCN is issued.

 

 

e.g: I have disabled port 11 in switch with D_ID 0x62 that is zoned with the HBA in port 11 of SWITCH_1.

 

SWITCH_1:admin> portlogdumpport 127 |grep 620b00
11:19:15.506 nsd rscn 127637f00 00fffffd,61040008,00620b00,00000000
11:19:23.012 nsd rscn 127637f00 00fffffd,61040008,00620b00,00000000

 

Rgds

Felipon

Valued Contributor
Posts: 539
Registered: ‎03-20-2011

Re: How to check the SCR(State change Notification) and RSCN (Registered State change Notification)

also try with fabriclog
Frequent Contributor
Posts: 130
Registered: ‎02-05-2014

Re: How to check the SCR(State change Notification) and RSCN (Registered State change Notification)

The port needs to register with the f-port controller and namserver which RSCNs it wants to recieve. If it does not register this it will not receive any RSCN. You can check this with the nsshow -r command which should then show something like :

 

Sydney_ILAB_6510-LS128:FID128:admin> nsshow -r
{
Type Pid COS PortName NodeName SCR
N 2d0200; 2,3;10:00:00:00:c9:60:c7:d7;20:00:00:00:c9:60:c7:d7; 0x00000003

......

}

 

The 0x00000003 shows it has registered to received RSCN's for both fabric and N-port events. There used to be a bug in FOS where the nameserver dod not correctly recorded this. Very nasty.

 

Cheers,

Erwin van Londen

Kind regards,
Erwin van Londen
Brocade Distinguished Architect
http://www.erwinvanlonden.net The Fibre Channel blog


Occasional Contributor
Posts: 17
Registered: ‎02-22-2014

Re: How to check the SCR(State change Notification) and RSCN (Registered State change Notification)

Friends,

 

Thank you so much !!

 

plz help me to understand the below .while RSCN some steps are happing .. can u tell the order of the steps and what it's happing in each and every steps ..

 

15:17:31.130 FCPH       seq     176   14  20980000,463e229d,000004cc,0004001c,00000000
15:17:31.130 PORT       Tx      176   20  03fffc2d,00fffc14,463e229d,01000000
15:17:31.130 PORT       Rx      176    0  c0fffc14,00fffc2d,463e229d,00000001
15:17:31.134 PORT       Rx      176   24  02fffc14,00fffc2d,5a1fffff,01000000
15:17:31.135 PORT       Tx      176    0  c0fffc2d,00fffc14,5a1f2309,00000001
15:17:31.135 FCPH       read    176   24  02fffc14,00fffc2d,b6000000,00000000,5a1f2309
15:17:31.135 FCPH       seq     176   18  20290000,5a1f2309,000004cc,0000001c,00000000
15:17:31.135 msd        ctin    176   fa  00030126,2e600005,1e363af6
15:17:31.135 msd        ctout   176   fa  00038002,00000000,00000002
15:17:31.135 FCPH       write   176   24  03fffc2d,00fffc14,b6000000,00000000,5a1f2309
15:17:31.135 FCPH       seq     176   18  20980000,5a1f2309,000004cc,0004001c,00000000
15:17:31.135 PORT       Tx      176   24  03fffc2d,00fffc14,5a1f2309,01000000
15:17:31.136 PORT       Rx      176    0  c0fffc14,00fffc2d,5a1f2309,00000001
15:17:31.140 PORT       Rx      176 2048  02fffc14,00fffc2d,383bffff,01000000
15:17:31.140 PORT       Tx      176    0  c0fffc2d,00fffc14,383b215f,00000001
15:17:31.140 PORT       Rx      176 2048  02fffc14,00fffc2d,383bffff,00000000
15:17:31.140 PORT       Tx      176    0  c0fffc2d,00fffc14,383b215f,00000001
15:17:31.141 PORT       Rx      176  284  02fffc14,00fffc2d,383bffff,00000000
15:17:31.141 PORT       Tx      176    0  c0fffc2d,00fffc14,383b215f,00000001
15:17:31.141 FCPH       read    176 2048  02fffc14,00fffc2d,ba000000,00000000,383b215f
15:17:31.141 FCPH       seq     176  800  20210000,383b215f,000004cc,0000000c,00000000
15:17:31.141 msd        ctin    176   fa  00030124,2e600005,1e363af6
15:17:31.141 msd        ctout   176   fa  00018001,00093400
15:17:31.141 FCPH       write   176   16  03fffc2d,00fffc14,ba000000,00000000,383b215f
15:17:31.141 FCPH       seq     176   10  20900000,383b215f,000004cc,0004000c,00000000
15:17:31.141 PORT       Tx      176   16  03fffc2d,00fffc14,383b215f,01000000
15:17:31.142 PORT       Rx      176    0  c0fffc14,00fffc2d,383b215f,00000001
15:17:45.350 FCPH       write   176   40  00fffffd,00fffffd,00000000,00000000,00000000
15:17:45.350 FCPH       seq     176   28  00300000,00000000,00000519,00020182,00000000
15:17:45.350 PORT       Tx      176   40  02fffffd,00fffffd,213cffff,14000000
15:17:45.350 PORT       Rx      176    0  c0fffffd,00fffffd,213c5579,00000001
HDFC_UAT_48K1:user>

Occasional Contributor
Posts: 17
Registered: ‎02-22-2014

Re: How to check the SCR(State change Notification) and RSCN (Registered State change Notification)

DCX1_FAB1:user> portdumpport 162
rbash: portdumpport: command not found
DCX1_FAB1:user> portlogdumpport 162
time         task       event   port cmd  args
-------------------------------------------------
Mon Jul 14 15:36:50 2014
15:36:50.375 PORT       Rx3     162   24  02fffffa,0039a200,3e6effff,01000000
15:36:50.375 FCPH       read    162   24  02fffffa,0039a200,5f000000,00000000,3e6e8395
15:36:50.375 FCPH       seq     162   18  20290000,3e6e8395,0000077d,0000001c,00000000
15:36:50.377 msd        ctin    162   fa  00030116,10000005,330c3400
15:36:50.377 msd        ctout   162   fa  00038002,00000003,1674656c
15:36:50.377 FCPH       write   162  788  0339a200,00fffffa,5f000000,00000000,3e6e8395
15:36:50.377 FCPH       seq     162  314  20980000,3e6e8395,000007c9,00040000,00000000
15:36:50.377 PORT       Tx3     162  788  0339a200,00fffffa,3e6e8395,01000000
15:46:50.387 PORT       Rx3     162   24  02fffffa,0039a200,3e70ffff,01000000
15:46:50.391 FCPH       read    162   24  02fffffa,0039a200,60000000,00000000,3e708c52
15:46:50.391 FCPH       seq     162   18  20290000,3e708c52,0000077d,0000001c,00000000
15:46:50.402 msd        ctin    162   fa  00030116,10000005,330c3400
15:46:50.403 msd        ctout   162   fa  00038002,00000003,1674656c
15:46:50.403 FCPH       write   162  788  0339a200,00fffffa,60000000,00000000,3e708c52
15:46:50.403 FCPH       seq     162  314  20980000,3e708c52,000007c9,00040000,00000000
15:46:50.403 PORT       Tx3     162  788  0339a200,00fffffa,3e708c52,01000000
15:56:50.400 PORT       Rx3     162   24  02fffffa,0039a200,3e72ffff,01000000
15:56:50.400 FCPH       read    162   24  02fffffa,0039a200,61000000,00000000,3e729043
15:56:50.400 FCPH       seq     162   18  20290000,3e729043,0000077d,0000001c,00000000
15:56:50.402 msd        ctin    162   fa  00030116,10000005,330c3400
15:56:50.403 msd        ctout   162   fa  00038002,00000003,1674656c
15:56:50.403 FCPH       write   162  788  0339a200,00fffffa,61000000,00000000,3e729043
15:56:50.403 FCPH       seq     162  314  20980000,3e729043,000007c9,00040000,00000000
15:56:50.403 PORT       Tx3     162  788  0339a200,00fffffa,3e729043,01000000
16:06:50.413 PORT       Rx3     162   24  02fffffa,0039a200,3e74ffff,01000000
16:06:50.413 FCPH       read    162   24  02fffffa,0039a200,62000000,00000000,3e749526
16:06:50.413 FCPH       seq     162   18  20290000,3e749526,0000077d,0000001c,00000000
16:06:50.414 msd        ctin    162   fa  00030116,10000005,330c3400
16:06:50.415 msd        ctout   162   fa  00038002,00000003,1674656c
16:06:50.415 FCPH       write   162  788  0339a200,00fffffa,62000000,00000000,3e749526
16:06:50.415 FCPH       seq     162  314  20980000,3e749526,000007c9,00040000,00000000
16:06:50.415 PORT       Tx3     162  788  0339a200,00fffffa,3e749526,01000000
16:16:50.424 PORT       Rx3     162   24  02fffffa,0039a200,3e76ffff,01000000
16:16:50.424 FCPH       read    162   24  02fffffa,0039a200,63000000,00000000,3e769ccc
16:16:50.424 FCPH       seq     162   18  20290000,3e769ccc,0000077d,0000001c,00000000
16:16:50.426 msd        ctin    162   fa  00030116,10000005,330c3400
16:16:50.426 msd        ctout   162   fa  00038002,00000003,1674656c
16:16:50.427 FCPH       write   162  788  0339a200,00fffffa,63000000,00000000,3e769ccc
16:16:50.427 FCPH       seq     162  314  20980000,3e769ccc,000007c9,00040000,00000000
16:16:50.427 PORT       Tx3     162  788  0339a200,00fffffa,3e769ccc,01000000
16:20:14.241 nsd        rscn    16239a20a 00fffffd,61040008,0039a30a,00000000
16:20:14.241 FCPH       write   162    8  0039a20a,00fffffd,00000000,00000000,00000000
16:20:14.241 FCPH       seq     162    8  00210000,00000000,00000d99,00010180,00000000
16:20:14.241 PORT       Tx3     162    8  2239a20a,00fffffd,9e92ffff,61040008
16:20:14.242 nsd        rscn    16239a20d 00fffffd,61040008,0039a30d,00000000
16:20:14.242 FCPH       write   162    8  0039a20d,00fffffd,00000000,00000000,00000000
16:20:14.242 FCPH       seq     162    8  00210000,00000000,00000d99,00010180,00000000
16:20:14.242 PORT       Tx3     162    8  2239a20d,00fffffd,9e5affff,61040008
16:20:14.242 nsd        rscn    16239a211 00fffffd,61040008,0039a311,00000000
16:20:14.242 FCPH       write   162    8  0039a211,00fffffd,00000000,00000000,00000000
16:20:14.242 FCPH       seq     162    8  00210000,00000000,00000d99,00010180,00000000
16:20:14.242 PORT       Tx3     162    8  2239a211,00fffffd,9e71ffff,61040008
16:20:14.242 PORT       Rx3     162    4  23fffffd,0039a20a,9e92101a,02000000
16:20:14.242 PORT       Rx3     162   20  02fffffc,0039a20a,105affff,01000000
16:20:14.242 PORT       Rx3     162    4  23fffffd,0039a20d,9e5a1161,02000000
16:20:14.242 PORT       Rx3     162   20  02fffffc,0039a20d,1181ffff,01000000
16:20:14.242 FCPH       read    162    4  23fffffd,0039a20a,01000000,00000000,9e92101a
16:20:14.242 FCPH       seq     162    4  01990000,9e92101a,0000077e,0000001c,00000000
16:20:14.242 FCPH       read    162   20  02fffffc,0039a20a,00000000,00000000,105a9f64
16:20:14.242 FCPH       seq     162   14  20290000,105a9f64,0000077e,0000001c,00000000
16:20:14.242 FCPH       read    162    4  23fffffd,0039a20d,01000000,00000000,9e5a1161
16:20:14.242 FCPH       seq     162    4  01990000,9e5a1161,0000077e,0000001c,00000000
16:20:14.242 PORT       Rx3     162    4  23fffffd,0039a211,9e7110d6,02000000
16:20:14.242 PORT       Rx3     162   20  02fffffc,0039a211,1116ffff,01000000
16:20:14.242 FCPH       read    162   20  02fffffc,0039a20d,00000000,00000000,11819ed1
16:20:14.242 FCPH       seq     162   14  20290000,11819ed1,0000077e,0000001c,00000000
16:20:14.242 FCPH       read    162    4  23fffffd,0039a211,01000000,00000000,9e7110d6
16:20:14.242 FCPH       seq     162    4  01990000,9e7110d6,0000077e,0000001c,00000000
16:20:14.242 FCPH       read    162   20  02fffffc,0039a211,00000000,00000000,11169f0a
16:20:14.242 FCPH       seq     162   14  20290000,11169f0a,0000077e,0000001c,00000000
16:20:14.242 nsd        ctin    162   fc  00010112,0039a30a
16:20:14.242 nsd        rscn    16239a212 00fffffd,61040008,0039a312,00000000
16:20:14.242 FCPH       write   162    8  0039a212,00fffffd,00000000,00000000,00000000
16:20:14.242 FCPH       seq     162    8  00210000,00000000,00000d99,00010180,00000000
16:20:14.242 PORT       Tx3     162    8  2239a212,00fffffd,9ebeffff,61040008
16:20:14.242 nsd        rscn    16239a21b 00fffffd,61040008,0039a31b,00000000
16:20:14.242 FCPH       write   162    8  0039a21b,00fffffd,00000000,00000000,00000000
16:20:14.242 FCPH       seq     162    8  00210000,00000000,00000d99,00010180,00000000
16:20:14.242 PORT       Tx3     162    8  2239a21b,00fffffd,9edaffff,61040008
16:20:14.242 nsd        rscn    16239a21d 00fffffd,61040008,0039a31d,00000000
16:20:14.242 FCPH       write   162    8  0039a21d,00fffffd,00000000,00000000,00000000
16:20:14.242 FCPH       seq     162    8  00210000,00000000,00000d99,00010180,00000000
16:20:14.243 PORT       Tx3     162    8  2239a21d,00fffffd,9ec1ffff,61040008
16:20:14.243 nsd        rscn    16239a248 00fffffd,61040008,0039a348,00000000
16:20:14.243 FCPH       write   162    8  0039a248,00fffffd,00000000,00000000,00000000
16:20:14.243 FCPH       seq     162    8  00210000,00000000,00000d99,00010180,00000000
16:20:14.243 PORT       Tx3     162    8  2239a248,00fffffd,9ebbffff,61040008
16:20:14.243 PORT       Rx3     162    4  23fffffd,0039a212,9ebe108e,02000000
16:20:14.243 FCPH       read    162    4  23fffffd,0039a212,01000000,00000000,9ebe108e
16:20:14.243 FCPH       seq     162    4  01990000,9ebe108e,0000077e,0000001c,00000000
16:20:14.257 PORT       Rx3     162   20  02fffffc,0039a212,10ceffff,01000000
16:20:14.257 PORT       Rx3     162    4  23fffffd,0039a21d,9ec11055,02000000
16:20:14.257 PORT       Rx3     162   20  02fffffc,0039a21d,1075ffff,01000000
16:20:14.257 FCPH       read    162   20  02fffffc,0039a212,00000000,00000000,10ce9f4a
16:20:14.257 FCPH       seq     162   14  20290000,10ce9f4a,0000077e,0000001c,00000000
16:20:14.257 FCPH       read    162    4  23fffffd,0039a21d,01000000,00000000,9ec11055
16:20:14.257 FCPH       seq     162    4  01990000,9ec11055,0000077e,0000001c,00000000
16:20:14.257 FCPH       read    162   20  02fffffc,0039a21d,00000000,00000000,10759f2b
16:20:14.257 FCPH       seq     162   14  20290000,10759f2b,0000077e,0000001c,00000000
16:20:14.259 nsd        ctout   162   fc  00038002,20008025,0000006e
16:20:14.259 FCPH       write   162   24  0339a20a,00fffffc,00000000,00000000,105a9f64
16:20:14.259 FCPH       seq     162   18  20980000,105a9f64,000007cb,0004001c,00000000
16:20:14.259 PORT       Tx3     162   24  0339a20a,00fffffc,105a9f64,01000000
16:20:14.259 nsd        ctin    162   fc  00010112,0039a30d
16:20:14.259 nsd        ctout   162   fc  00038002,20008025,000000fe
16:20:14.259 FCPH       write   162   24  0339a20d,00fffffc,00000000,00000000,11819ed1
16:20:14.259 FCPH       seq     162   18  20980000,11819ed1,000007cb,0004001c,00000000
16:20:14.259 PORT       Tx3     162   24  0339a20d,00fffffc,11819ed1,01000000
16:20:14.259 nsd        ctin    162   fc  00010112,0039a311
16:20:14.260 nsd        ctout   162   fc  00038002,20008025,0000002f
16:20:14.260 FCPH       write   162   24  0339a211,00fffffc,00000000,00000000,11169f0a
16:20:14.260 FCPH       seq     162   18  20980000,11169f0a,000007cb,0004001c,00000000
16:20:14.260 PORT       Tx3     162   24  0339a211,00fffffc,11169f0a,01000000
16:20:14.266 PORT       Rx3     162    4  23fffffd,0039a21b,9eda10d9,02000000
16:20:14.266 PORT       Rx3     162   20  02fffffc,0039a21b,1119ffff,01000000
16:20:14.268 nsd        ctin    162   fc  00010112,0039a312
16:20:14.268 nsd        ctout   162   fc  00038002,20008025,000000cf
16:20:14.268 FCPH       write   162   24  0339a212,00fffffc,00000000,00000000,10ce9f4a
16:20:14.268 FCPH       seq     162   18  20980000,10ce9f4a,000007cb,0004001c,00000000
16:20:14.268 PORT       Tx3     162   24  0339a212,00fffffc,10ce9f4a,01000000
16:20:14.268 nsd        ctin    162   fc  00010112,0039a31d
16:20:14.268 nsd        ctout   162   fc  00038002,20008025,0000002e
16:20:14.268 FCPH       write   162   24  0339a21d,00fffffc,00000000,00000000,10759f2b
16:20:14.268 FCPH       seq     162   18  20980000,10759f2b,000007cb,0004001c,00000000
16:20:14.268 PORT       Tx3     162   24  0339a21d,00fffffc,10759f2b,01000000
16:20:14.268 FCPH       read    162    4  23fffffd,0039a21b,01000000,00000000,9eda10d9
16:20:14.268 FCPH       seq     162    4  01990000,9eda10d9,0000077e,0000001c,00000000
16:20:14.268 FCPH       read    162   20  02fffffc,0039a21b,00000000,00000000,11199f70
16:20:14.268 FCPH       seq     162   14  20290000,11199f70,0000077e,0000001c,00000000
16:20:14.269 nsd        ctin    162   fc  00010112,0039a31b
16:20:14.269 nsd        ctout   162   fc  00038002,20008025,000000ff
16:20:14.269 FCPH       write   162   24  0339a21b,00fffffc,00000000,00000000,11199f70
16:20:14.269 FCPH       seq     162   18  20980000,11199f70,000007cb,0004001c,00000000
16:20:14.269 PORT       Tx3     162   24  0339a21b,00fffffc,11199f70,01000000
16:20:14.276 PORT       Rx3     162    4  23fffffd,0039a248,9ebb1011,02000000
16:20:14.276 PORT       Rx3     162   20  02fffffc,0039a248,1051ffff,01000000
16:20:14.276 FCPH       read    162    4  23fffffd,0039a248,01000000,00000000,9ebb1011
16:20:14.276 FCPH       seq     162    4  01990000,9ebb1011,0000077e,0000001c,00000000
16:20:14.277 FCPH       read    162   20  02fffffc,0039a248,00000000,00000000,10519e49
16:20:14.277 FCPH       seq     162   14  20290000,10519e49,0000077e,0000001c,00000000
16:20:14.277 nsd        ctin    162   fc  00010112,0039a348
16:20:14.277 nsd        ctout   162   fc  00038002,20008025,0000006f
16:20:14.277 FCPH       write   162   24  0339a248,00fffffc,00000000,00000000,10519e49
16:20:14.277 FCPH       seq     162   18  20980000,10519e49,000007cb,0004001c,00000000
16:20:14.277 PORT       Tx3     162   24  0339a248,00fffffc,10519e49,01000000

Valued Contributor
Posts: 761
Registered: ‎06-11-2010

Re: How to check the SCR(State change Notification) and RSCN (Registered State change Notification)

Hi,

 

in the following link: 

 

http://community.brocade.com/dtscp75322/attachments/dtscp75322/fibre/5692/1/447-01_PortlogDump_Reference.pdf

 

you'll find a useful guide to interpret the portlogdump output.

 

In this particular case, it looks that every few secs the device with FCID 0x39a200 performs a couple of queries to the switch Management Server (well-known address 0xfffffa). The Management server is used to get information from the SAN, such as number of switchs in the fabric and the topology. Some HBAs use this service in order to get info from the SAN.

 

time task event port cmd args
-------------------------------------------------
16:06:50.413 PORT Rx3 162 24 02fffffa,0039a200,3e74ffff,01000000
16:06:50.413 FCPH read 162 24 02fffffa,0039a200,62000000,00000000,3e749526 <-- 0x39a200 Request
16:06:50.413 FCPH seq 162 18 20290000,3e749526,0000077d,0000001c,00000000
16:06:50.414 msd ctin 162 fa 00030116,10000005,330c3400 <-- MS_GMAL: Get Mgmt Address list (I reckon that for WWN 10:00:00:05:33:0c:34:00)
16:06:50.415 msd ctout 162 fa 00038002,00000003,1674656c <-- ACCEPT Response
16:06:50.415 FCPH write 162 788 0339a200,00fffffa,62000000,00000000,3e749526 <-- 0xfffffa Reply
16:06:50.415 FCPH seq 162 314 20980000,3e749526,000007c9,00040000,00000000 
16:06:50.415 PORT Tx3 162 788 0339a200,00fffffa,3e749526,01000000

 

Hope that you find it useful,

Rgds,

Felipon

Occasional Contributor
Posts: 17
Registered: ‎02-22-2014

Re: How to check the SCR(State change Notification) and RSCN (Registered State change Notification)

Hi Felipon,

 

Thank you so much . it's use full .

Join the Community

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