FC-LS-2: Permanent Port Name Changes
07-596v0 David Peterson, Brocade
3.2.98 Permanent Port Name (PPN): The Permanent Port Name is the a Name_Identifier associated with a physical Nx_Port and its N_Port_IDs (see FC-GS-5). 6.4.5 The effects of FLOGI, FDISC, and LOGO The effects of FLOGI, FDISC, and LOGO on pre-existing Fabric Logins is summarized in table 148. Table 148 – Effects of FLOGI, FDISC, & LOGO on Permanent Port Name (PPN) Condition of F_Port Condition 3: FDISC(s) completed, & at least one ID logged in
ELS Received (with D_ID FFFFFEh)
Condition 1: FLOGI not completed, or all IDs logged out - LS_ACC, assign first N_Port_ID. - Set PPN of new N_Port_ID to Port_Name the F_Port_Name in the FLOGI request LS_ACC.
Condition 2: FLOGI Completed, & at least one ID logged in
FLOGI S_ID=0d
-set BB_Credit to zero -implicit logout of all logged-in N_Port_IDs - disassociate the logged-out N_Port_IDs - See Condition 2 with PPN (previous -re-assign one N_Port_ID column). - Set PPN of new N_Port_ID to the Port_Name F_Port_Name in the FLOGI request LS_ACC.
a If another N_Port_ID is currently logged in with the same Port Name as contained in the FDISC request payload, or if the Port Name is the same as the Permanent Port Name associated with another N_Port, then the response should be LS_RJT (Logical error, invalid port name). b When an FDISC with S_ID=0 is received when no more N_Port_IDs are available, the F_Port shall respond with an LS_RJT with an LS_RJT Reason Code of Unable to perform command request and an LS_RJT Reason Code Explanation of insufficient resources. c Any assigned N_Port_ID may be individually logged out and disassociated with the Permanent Port Name, including the FLOGI-assigned N_Port_ID; Name Server attributes for the N_Port_ID are cleared. Other logged-in N_Port_IDs continue to be associated with their current Permanent Port Names. See FC-GS-5 for a definition of Permanent Port Nname. d Whenever a new N_Port_ID is assigned by either FLOGI or FDISC, or logged out, the nameserver database is updated and the applicable RSCNs are sent.
Table 148 – Effects of FLOGI, FDISC, & LOGO on Permanent Port Name (PPN) Condition of F_Port Condition 3: FDISC(s) completed, & at least one ID logged in
ELS Received (with D_ID FFFFFEh)
Condition 1: FLOGI not completed, or all IDs logged out
Condition 2: FLOGI Completed, & at least one ID logged in
-confirm or reject S_ID (see 6.2.2.3), "Response to Explicit Fabric Login." - If confirmed, set PPN FLOGI of FLOGI S_ID (i.e. new S_ID not = 0d N_Port_ID ) to Port_Name the F_Port_Name in the FLOGI request LS_ACC.
-set BB_Credit to zero -Implicit logout of all logged-in N_Port_IDs - disassociate logged-out N_Port_IDs with PPN - See Condition 2 -confirm or reject S_ID (see 6.2.2.3), (previous "Response to Explicit Fabric Login." column). - If N_Port_ID logged-in, set PPN of N_Port_ID to the F_Port_Name in the FLOGI request LS_ACC. - LS_ACC (D_ID = assigned N_Port_ID), and set PPN of new N_Port_ID to the F_Port_Name in the FLOGI request LS_ACC.a,b
FDISC S_ID=0d
- If N_Port ID virtualization supported, LS_ACC (D_ID = assigned N_Port_ID), - F_RJT (RC=login and set PPN of new N_Port_ID to the required) for Class 1, or F_Port_Name in the FLOGI request Class 2. LS_ACC.a,b - If N_Port_ID virtualization not supported, - Discard for Class 3. LS_RJT (RC=command not supported, RCE=Request not supported.)
- If S_ID logged-in, LS_ACC - F_RJT (RC=login - See Condition 2 required) for Class 1, or - if S_ID not logged-in: FDISC F_RJT (RC=login required) for Classes 1,2, (previous Class 2. S_ID not = 0 column). or 4. - Discard for Class 3. - Discard for Class 3.
a If another N_Port_ID is currently logged in with the same Port Name as contained in the FDISC request payload, or if the Port Name is the same as the Permanent Port Name associated with another N_Port, then the response should be LS_RJT (Logical error, invalid port name). b When an FDISC with S_ID=0 is received when no more N_Port_IDs are available, the F_Port shall respond with an LS_RJT with an LS_RJT Reason Code of Unable to perform command request and an LS_RJT Reason Code Explanation of insufficient resources. c Any assigned N_Port_ID may be individually logged out and disassociated with the Permanent Port Name, including the FLOGI-assigned N_Port_ID; Name Server attributes for the N_Port_ID are cleared. Other logged-in N_Port_IDs continue to be associated with their current Permanent Port Names. See FC-GS-5 for a definition of Permanent Port Nname. d Whenever a new N_Port_ID is assigned by either FLOGI or FDISC, or logged out, the nameserver database is updated and the applicable RSCNs are sent.
Table 148 – Effects of FLOGI, FDISC, & LOGO on Permanent Port Name (PPN) Condition of F_Port Condition 3: FDISC(s) completed, & at least one ID logged in
ELS Received (with D_ID FFFFFEh)
Condition 1: FLOGI not completed, or all IDs logged out - Perform Primitive Sequence Protocols (see FC-FS-2).
Condition 2: FLOGI Completed, & at least one ID logged in
OLS/NOS
- implicit logout of all logged-in N_Port_IDs; Perform Primitive Sequence Protocols (see - See Condition 2 (previous FC-FS-2). - dissasociate the logged-out N_Port_IDs column). with PPN. - If S_ID logged-in, log out the individual - See Condition 2 S_ID only, and disassociate only the (previous logged-out N_Port_ID with the PPN.c column). - if S_ID not logged-in, LS_ACC no action.
LOGO
d
- LS_ACC, no action
a If another N_Port_ID is currently logged in with the same Port Name as contained in the FDISC request payload, or if the Port Name is the same as the Permanent Port Name associated with another N_Port, then the response should be LS_RJT (Logical error, invalid port name). b When an FDISC with S_ID=0 is received when no more N_Port_IDs are available, the F_Port shall respond with an LS_RJT with an LS_RJT Reason Code of Unable to perform command request and an LS_RJT Reason Code Explanation of insufficient resources. c Any assigned N_Port_ID may be individually logged out and disassociated with the Permanent Port Name, including the FLOGI-assigned N_Port_ID; Name Server attributes for the N_Port_ID are cleared. Other logged-in N_Port_IDs continue to be associated with their current Permanent Port Names. See FC-GS-5 for a definition of Permanent Port Nname. d Whenever a new N_Port_ID is assigned by either FLOGI or FDISC, or logged out, the nameserver database is updated and the applicable RSCNs are sent.