1、ANSI INCITS 288-1999(formerly ANSI NCITS 288-1999)for Information Technology Fibre Channel Generic Services - 2 (FC-GS-2)ANSINCITS 288-1999Revision of X3.288-1996American National Standardfor Information Technology Fibre Channel Generic Services - 2 (FC-GS-2)SecretariatInformation Technology Industr
2、y CouncilApproved October 14, 1999 American National Standards Institute, Inc.AbstractThis standard describes in detail the basic Fibre Channel services introduced in ANSI X3.230, FC-PH. Inaddition, this document describes any ancillary functions and services required to support the Fibre Chan-nel s
3、ervices. Services described include name services, time services, alias services, SNMP services, andsecurity key distribution.Approval of an American National Standard requires review by ANSI that therequirements for due process, consensus, and other criteria for approval havebeen met by the standar
4、ds developer.Consensus is established when, in the judgement of the ANSI Board ofStandards Review, substantial agreement has been reached by directly andmaterially affected interests. Substantial agreement means much more thana simple majority, but not necessarily unanimity. Consensus requires that
5、allviews and objections be considered, and that a concerted effort be madetowards their resolution.The use of American National Standards is completely voluntary; theirexistence does not in any respect preclude anyone, whether he has approvedthe standards or not, from manufacturing, marketing, purch
6、asing, or usingproducts, processes, or procedures not conforming to the standards.The American National Standards Institute does not develop standards andwill in no circumstances give an interpretation of any American NationalStandard. Moreover, no person shall have the right or authority to issue a
7、ninterpretation of an American National Standard in the name of the AmericanNational Standards Institute. Requests for interpretations should beaddressed to the secretariat or sponsor whose name appears on the titlepage of this standard.CAUTION NOTICE: This American National Standard may be revised
8、orwithdrawn at any time. The procedures of the American National StandardsInstitute require that action be taken periodically to reaffirm, revise, orwithdraw this standard. Purchasers of American National Standards mayreceive current information on all standards by calling or writing the AmericanNat
9、ional Standards Institute.American National StandardPublished byAmerican National Standards Institute, Inc.11 West 42nd Street, New York, NY 10036Copyright 1999 by Information Technology Industry Council (ITI)All rights reserved.No part of this publication may be reproduced in anyform, in an electro
10、nic retrieval system or otherwise,without prior written permission of ITI, 1250 Eye Street NW, Washington, DC 20005. Printed in the United States of AmericaCAUTION: The developers of this standard have requested that holders of patents that may berequired for the implementation of the standard discl
11、ose such patents to the publisher. However,neither the developers nor the publisher have undertaken a patent search in order to identifywhich, if any, patents may apply to this standard. As of the date of publication of this standardand following calls for the identification of patents that may be r
12、equired for the implementation ofthe standard, no such claims have been made. No further patent search is conducted by the de-veloper or publisher in respect to any standard it processes. No representation is made or impliedthat licenses are not required to avoid infringement in the use of this stan
13、dard.iPage1 Scope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Normative References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12.1 Approve
14、d references . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12.2 References under development . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22.3 Other references . . . . . . . . . . . . . . . . . . . .
15、 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Definitions and conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33.1 Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
16、 . . . . . . . . . . . . . . . . . . 33.2 Editorial Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33.2.1 Hexadecimal notation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43.3 Abbrevi
17、ations, acronyms and symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 Common transport for FC services (CT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
18、. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54.2 General concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54.3 CT protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
19、 . . . . . . . . . . . . . . 64.3.1 CT_HDR description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74.3.2 Application Information Unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94.4 FC-2 mapping and management
20、. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94.4.1 Fabric login and N_Port login . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94.4.2 Class of service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
21、 . . . . . . . . . . . . . . 94.4.3 Exchange and Sequence management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94.4.4 Routing bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104.4.5 Information category . . . . . .
22、. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104.4.6 D_ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104.4.7 S_ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
23、. . . . . . . . . . . . . . . . . . . 104.4.8 Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104.4.9 First Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104.4.10 L
24、ast Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104.4.11 Sequence Initiative . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104.4.12 Continue Sequence condition . . . . . . . . . . . . . . . .
25、 . . . . . . . . . . . . . . . . . . . . . . 104.4.13 Exchange reassembly . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104.4.14 Relative offset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104.4.15 Opti
26、onal headers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104.5 Error handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114.6 FS information units . . . . . . . . . . . . . . . .
27、 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114.6.1 FS_REQ information unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114.6.2 FS_ACC information unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
28、 . . 114.6.3 FS_RJT information unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124.7 Correlation of requests and responses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 Overview of directory (name) service . . . . . . . . .
29、. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135.1 Introduction to the directory service model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135.1.1 Directory service subtypes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
30、35.1.2 Name Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135.1.3 Other models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136 Name Server . . . . . . . . . . . . . . . . . . .
31、 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156.1 Name Service protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166.2 Transportation of Name Server IUs . . . . . . . . . . . . . . . . . . . . . . . .
32、 . . . . . . . . . . . . . . . . 166.2.1 Name Server mapping to CT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166.2.2 CT_HDR values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166.3 FCPH constructs . . . . . . .
33、 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186.3.1 Common required FC2 parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186.3.2 Common optional FC parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
34、. . . . 19ContentsiiPage6.4 Name Server objects Formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196.4.1 Port Identifier Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196.4.2 Port Name Format . . . . . . . . . .
35、. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196.4.3 Node Name Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196.4.4 Class of Service Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
36、.4.5 IP Address Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206.4.6 Initial Process Associator Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216.4.7 FC4 TYPEs Format . . . . . . . . . . . . . . . . . . . . . . . . . .
37、. . . . . . . . . . . . . . . . . 216.4.8 Symbolic Port Name Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226.4.9 Symbolic Node Name Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236.4.10 Port Type Format . . . . . . . . . . . . .
38、. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236.4.11 Fabric Port Name Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236.4.12 Hard Address Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236.5 FS_RJT
39、 reason code explanations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236.6 Queries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246.6.1 Query Get all next (GA_NXT) . . . . . . . . . . . .
40、. . . . . . . . . . . . . . . . . . . . . . . . . 256.6.2 Query Get identifiers (GI_A) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266.6.3 Query Get Port Name (GPN_ID) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276.6.4 Query Get Node Name (GNN
41、_ID) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 286.6.5 Query Get Class of Service (GCS_ID) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 286.6.6 Query Get FC4 TYPEs (GFT_ID) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 286.6.7 Query Get Symb
42、olic Port Name (GSPN_ID) . . . . . . . . . . . . . . . . . . . . . . . . . 296.6.8 Query Get Port Type (GPT_ID) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296.6.9 Query Get IP Address (Port) (GIPP_ID) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296.6.10 Query
43、 Get Fabric Port Name (GFPN_ID) . . . . . . . . . . . . . . . . . . . . . . . . . . . 306.6.11 Query Get Hard Address (GHA_ID) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 306.6.12 Query Get Port Identifier (GID_PN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 306.6
44、.13 Query Get IP Address (Port) (GIPP_PN) . . . . . . . . . . . . . . . . . . . . . . . . . . . 306.6.14 Query Get Port Identifiers (GID_NN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 316.6.15 Query Get IP Address (Node) (GIP_NN) . . . . . . . . . . . . . . . . . . . . . . . . . . .
45、 316.6.16 Query Get Initial Process Associator (GIPA_NN) . . . . . . . . . . . . . . . . . . . . . 326.6.17 Query Get Symbolic Node Name (GSNN_NN) . . . . . . . . . . . . . . . . . . . . . . 326.6.18 Query Get Node Name (GNN_IP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 326.6.1
46、9 Query Get Initial Process Associator (GIPA_IP) . . . . . . . . . . . . . . . . . . . . . 336.6.20 Query Get Port Identifiers (GID_FT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336.6.21 Query Get Node Names (GNN_FT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336
47、.6.22 Query Get Port Identifiers (GID_PT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 346.6.23 Query Get Port Identifier (GID_IPP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 356.6.24 Query Get Port Name (GPN_IPP) . . . . . . . . . . . . . . . . . . . . . . . . . .
48、. . . . . . 366.7 Registration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 366.7.1 Register Port Name (RPN_ID) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 376.7.2 Register Node Name (RNN_ID) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 376.7.3 Register Class of Service (RCS_ID) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 386.7.4 Register FC4 TYPEs (RFT_ID) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 386.7.5 Register