brocade fabric os ficon configuration guide, 8.1

116
Supporting Fabric OS 8.1.0 CONFIGURATION GUIDE Brocade Fabric OS FICON Configuration Guide, 8.1.0 53-1004394-02 23 July 2018

Upload: others

Post on 16-Oct-2021

11 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Brocade Fabric OS FICON Configuration Guide, 8.1

Supporting Fabric OS 8.1.0

CONFIGURATION GUIDE

Brocade Fabric OS FICONConfiguration Guide, 8.1.0

53-1004394-0223 July 2018

Page 2: Brocade Fabric OS FICON Configuration Guide, 8.1

Copyright © 2018 Brocade Communications Systems LLC. All Rights Reserved. Brocade and the stylized B logo are among the trademarks of BrocadeCommunications Systems LLC. Broadcom, the pulse logo, and Connecting everything are among the trademarks of Broadcom. The term "Broadcom"refers to Broadcom Inc. and/or its subsidiaries.

Brocade, a Broadcom Inc. Company, reserves the right to make changes without further notice to any products or data herein to improve reliability,function, or design. Information furnished by Brocade is believed to be accurate and reliable. However, Brocade does not assume any liability arising out ofthe application or use of this information, nor the application or use of any product or circuit described herein, neither does it convey any license under itspatent rights nor the rights of others.

The product described by this document may contain open source software covered by the GNU General Public License or other open source licenseagreements. To find out which open source software is included in Brocade products, view the licensing terms applicable to the open source software, andobtain a copy of the programming source code, please visit https://www.broadcom.com/support/fibre-channel-networking/tools/oscd.

Brocade Fabric OS FICON Configuration Guide, 8.1.02 53-1004394-02

Page 3: Brocade Fabric OS FICON Configuration Guide, 8.1

ContentsPreface...................................................................................................................................................................................................................................7

Document Conventions...........................................................................................................................................................................................................................7Notes, Cautions, and Warnings...................................................................................................................................................................................................7Text Formatting Conventions.......................................................................................................................................................................................................7Command Syntax Conventions..................................................................................................................................................................................................8

Brocade Resources................................................................................................................................................................................................................................... 8Contacting Brocade Technical Support............................................................................................................................................................................................ 8

Brocade customers..........................................................................................................................................................................................................................8Brocade OEM customers............................................................................................................................................................................................................. 9

About This Document..................................................................................................................................................................................................... 11Supported hardware and software...................................................................................................................................................................................................11Additional FICON resources.............................................................................................................................................................................................................. 11What's new in this document............................................................................................................................................................................................................. 11

Changes made for the initial release (53-1004394-01)............................................................................................................................................11Changes made for 53-1004394-02................................................................................................................................................................................. 12

Introducing FICON...........................................................................................................................................................................................................13FICON overview......................................................................................................................................................................................................................................13

Fabric OS support for FICON..................................................................................................................................................................................................13Latency guideline...........................................................................................................................................................................................................................14

FICON concepts......................................................................................................................................................................................................................................14FICON configurations...........................................................................................................................................................................................................................17

Switched point-to-point..............................................................................................................................................................................................................17Cascaded FICON.......................................................................................................................................................................................................................... 17

Access control in FICON..................................................................................................................................................................................................................... 26Cascaded zoning........................................................................................................................................................................................................................... 27Error reporting.................................................................................................................................................................................................................................29Secure access control.................................................................................................................................................................................................................. 29

FICON commands.................................................................................................................................................................................................................................30Link and FC addressing....................................................................................................................................................................................................................... 32

Domain ID.........................................................................................................................................................................................................................................33Port area............................................................................................................................................................................................................................................ 33ALPA...................................................................................................................................................................................................................................................33

Administering FICON Fabrics........................................................................................................................................................................................35User security considerations.............................................................................................................................................................................................................. 35Meeting high-integrity fabric requirements..................................................................................................................................................................................35

Enabling the insistent domain ID............................................................................................................................................................................................ 36Creating and activating the SCC policy................................................................................................................................................................................ 36Enabling the fabric-wide consistency policy...................................................................................................................................................................... 37Enabling High-Integrity Fabric mode....................................................................................................................................................................................37Using other security commands............................................................................................................................................................................................. 38

Preparing a switch for FICON............................................................................................................................................................................................................38Cascaded FICON and two-byte addressing considerations.......................................................................................................................................39

Configuring switched point-to-point FICON...............................................................................................................................................................................39Configuring cascaded FICON........................................................................................................................................................................................................... 44FCR and FICON cascading................................................................................................................................................................................................................45

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 3

Page 4: Brocade Fabric OS FICON Configuration Guide, 8.1

FICON and FICON CUP in Virtual Fabrics..................................................................................................................................................................................45FICON Logical Switch feature..................................................................................................................................................................................................46

Addressing modes................................................................................................................................................................................................................................. 46Mode 1 (zero-based addressing)............................................................................................................................................................................................47FICON and blade support for addressing modes........................................................................................................................................................... 47Port swap limitations.................................................................................................................................................................................................................... 47

Disabling and enabling ports - persistent states........................................................................................................................................................................47Clearing the FICON management database...............................................................................................................................................................................48Automating CS_CTL mapping..........................................................................................................................................................................................................48FICON best practices............................................................................................................................................................................................................................50

FICON and FEC-via-TTS.......................................................................................................................................................................................................... 51Latency guideline.................................................................................................................................................................................................................................... 52

Configuring FICON CUP................................................................................................................................................................................................ 53Control Unit Port overview.................................................................................................................................................................................................................. 53

FICON CUP restrictions............................................................................................................................................................................................................. 54CUP configuration recommendations.................................................................................................................................................................................. 55FICON CUP zoning and PDCM considerations.............................................................................................................................................................. 56

Port and switch naming standards for FMS mode...................................................................................................................................................................56FICON CUP Fabric OS commands......................................................................................................................................................................................56

Configuring FICON CUP.....................................................................................................................................................................................................................57Disabling ports 0xFE and 0xFF..............................................................................................................................................................................................57Configuring FICON CUP in Virtual Fabrics........................................................................................................................................................................58

Determining physical port assignment .........................................................................................................................................................................................58FMS mode and FICON CUP............................................................................................................................................................................................................ 58

Fabric OS command limitations and considerations......................................................................................................................................................59Displaying FMS mode.................................................................................................................................................................................................................60Enabling FMS mode.................................................................................................................................................................................................................... 60Disabling FMS mode...................................................................................................................................................................................................................60FMS mode and FICON 0xFE or 0xFF ports....................................................................................................................................................................60Upgrade considerations..............................................................................................................................................................................................................61Port swap limitations.................................................................................................................................................................................................................... 61

Mode register bit settings.................................................................................................................................................................................................................... 61FICON file access facility........................................................................................................................................................................................................... 62Considerations for setting mode register bits....................................................................................................................................................................64Setting the mode register bits.................................................................................................................................................................................................. 64

Setting the MIHPTO value..................................................................................................................................................................................................................64Persistently enabling and disabling ports for CUP................................................................................................................................................................... 65

Administering FICON Extension Services.................................................................................................................................................................. 67Platforms supporting FICON extension over IP........................................................................................................................................................................67FICON emulation overview................................................................................................................................................................................................................ 67

IBM z/OS Global Mirror emulation........................................................................................................................................................................................68Tape emulation............................................................................................................................................................................................................................... 70Teradata emulation........................................................................................................................................................................................................................72

FCIP configuration requirements for FICON extension......................................................................................................................................................... 72Configuration requirements for switches and directors...........................................................................................................................................................72

High-integrity fabric requirements for cascaded configurations................................................................................................................................72FICON emulation requirement for a determinate path..................................................................................................................................................73

Configuring FICON emulation...........................................................................................................................................................................................................73Configuration examples.............................................................................................................................................................................................................. 74

Brocade Fabric OS FICON Configuration Guide, 8.1.04 53-1004394-02

Page 5: Brocade Fabric OS FICON Configuration Guide, 8.1

Displaying FICON emulation configuration values......................................................................................................................................................... 74Modifying FICON emulation..............................................................................................................................................................................................................75Displaying FICON emulation performance statistics...............................................................................................................................................................75

FICON emulation monitoring...................................................................................................................................................................................................75Options for displaying statistics...............................................................................................................................................................................................77

Maintaining and Troubleshooting FICON................................................................................................................................................................... 79Firmware management in a FICON environment.....................................................................................................................................................................79

Upgrade and downgrade considerations.............................................................................................................................................................................79Firmware download disruption.................................................................................................................................................................................................79Non-disruptive firmware upload and download................................................................................................................................................................80

Configuration restoration in a FICON environment..................................................................................................................................................................80Traffic Isolation Zoning..........................................................................................................................................................................................................................81

Determining ports for the TI Zone..........................................................................................................................................................................................81Enhanced TI Zoning..................................................................................................................................................................................................................... 82

Monitoring and Alerting Policy Suite.............................................................................................................................................................................................. 88Port fencing............................................................................................................................................................................................................................................... 88

Defining port fencing....................................................................................................................................................................................................................88Settings for FICON environments..........................................................................................................................................................................................89

FICON information.................................................................................................................................................................................................................................89Link incidents...................................................................................................................................................................................................................................89Registered listeners.......................................................................................................................................................................................................................90Node identification data.............................................................................................................................................................................................................. 90FRU error reporting...................................................................................................................................................................................................................... 90

Swapping port area IDs........................................................................................................................................................................................................................ 92Important notes.............................................................................................................................................................................................................................. 92

Blade swapping........................................................................................................................................................................................................................................92Common FICON issues...................................................................................................................................................................................................................... 93Troubleshooting FICON.......................................................................................................................................................................................................................95

General information to gather for all cases......................................................................................................................................................................... 95Switched point-to-point topology checklist........................................................................................................................................................................96Cascaded topology checklist....................................................................................................................................................................................................96Gathering additional information.............................................................................................................................................................................................97Link information............................................................................................................................................................................................................................. 97CUP diagnostics............................................................................................................................................................................................................................ 97

Troubleshooting FICON CUP............................................................................................................................................................................................................97Troubleshooting NPIV...........................................................................................................................................................................................................................98

Platforms Supporting FICON........................................................................................................................................................................................ 99Introduction................................................................................................................................................................................................................................................99Supported platforms with end-of-support announcements................................................................................................................................................ 99Currently supported platforms....................................................................................................................................................................................................... 100Supported Brocade blades..............................................................................................................................................................................................................100

Basic Switch Configuration......................................................................................................................................................................................... 103

Address Binding Examples..........................................................................................................................................................................................107Sequential address binding..............................................................................................................................................................................................................107

Example scripts for binding ports (Mode 1)....................................................................................................................................................................108Unbinding multiple ports.................................................................................................................................................................................................................. 112

Configuration Information Record............................................................................................................................................................................. 113

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 5

Page 6: Brocade Fabric OS FICON Configuration Guide, 8.1

EBCDIC Code Page.......................................................................................................................................................................................................115

Brocade Fabric OS FICON Configuration Guide, 8.1.06 53-1004394-02

Page 7: Brocade Fabric OS FICON Configuration Guide, 8.1

Preface• Document Conventions..................................................................................................................................................................................... 7• Brocade Resources..............................................................................................................................................................................................8• Contacting Brocade Technical Support.......................................................................................................................................................8

Document ConventionsThe document conventions describe text formatting conventions, command syntax conventions, and important notice formats used inBrocade technical documentation.

Notes, Cautions, and WarningsNotes, cautions, and warning statements may be used in this document. They are listed in the order of increasing severity of potential

hazards.

NOTEA Note provides a tip, guidance, or advice, emphasizes important information, or provides a reference to related information.

ATTENTIONAn Attention statement indicates a stronger note, for example, to alert you when traffic might be interrupted or the device mightreboot.

CAUTIONA Caution statement alerts you to situations that can be potentially hazardous to you or cause damage to hardware,firmware, software, or data.

DANGERA Danger statement indicates conditions or situations that can be potentially lethal or extremely hazardous to you. Safetylabels are also attached directly to products to warn of these conditions or situations.

Text Formatting ConventionsText formatting conventions such as boldface, italic, or Courier font may be used to highlight specific words or phrases.

Format Description

bold text Identifies command names.

Identifies keywords and operands.

Identifies the names of GUI elements.

Identifies text to enter in the GUI.

italic text Identifies emphasis.

Identifies variables.

Identifies document titles.

Courier font Identifies CLI output.

Identifies command syntax examples.

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 7

Page 8: Brocade Fabric OS FICON Configuration Guide, 8.1

Command Syntax ConventionsBold and italic text identify command syntax components. Delimiters and operators define groupings of parameters and their logicalrelationships.

Convention Description

bold text Identifies command names, keywords, and command options.

italic text Identifies a variable.

value In Fibre Channel products, a fixed value provided as input to a command option is printed in plain text, forexample, --show WWN.

[ ] Syntax components displayed within square brackets are optional.

Default responses to system prompts are enclosed in square brackets.

{ x | y | z } A choice of required parameters is enclosed in curly brackets separated by vertical bars. You must selectone of the options.

In Fibre Channel products, square brackets may be used instead for this purpose.

x | y A vertical bar separates mutually exclusive elements.

< > Nonprinting characters, for example, passwords, are enclosed in angle brackets.

... Repeat the previous element, for example, member[member...].

\ Indicates a “soft” line break in command examples. If a backslash separates two lines of a commandinput, enter the entire command at the prompt without the backslash.

Brocade ResourcesVisit the Broadcom website and MyBrocade to locate related documentation for your product and additional Brocade resources.

White papers, data sheets, and the most recent versions of Brocade software and hardware manuals are available at www.broadcom.com.

Product documentation for all supported releases is available to registered users at MyBrocade. Log in to my.brocade.com, then click theSupport tab, and select Document Library. You can locate documentation by product or by operating system.

Release notes are bundled with software downloads on MyBrocade. Links to software downloads are available on the MyBrocade landingpage.

Contacting Brocade Technical SupportAs a Brocade customer, you can contact Brocade Technical Support 24x7 online or by telephone. Brocade OEM customers shouldcontact their OEM/solution provider.

Brocade customersFor product support information and the latest information on contacting the Technical Assistance Center, go to http://www2.brocade.com/en/support/contact-brocade-support.html .

Brocade Resources

Brocade Fabric OS FICON Configuration Guide, 8.1.08 53-1004394-02

Page 9: Brocade Fabric OS FICON Configuration Guide, 8.1

If you have purchased Brocade product support directly from Brocade, use one of the following methods to contact the BrocadeTechnical Assistance Center 24x7.

Online Telephone

Preferred method of contact for non-urgent issues:

• My Cases through MyBrocade

• Software downloads and licensing tools

• Knowledge Base

Required for Sev 1-Critical and Sev 2-High issues:

• North America: 1-800-752-8061 (Toll-free)

• International: 1-408-333-6061 (Not toll-free)

• Toll-free numbers are available in many countries and are listedon the http://www2.brocade.com/en/support/contact-brocade-support.html.

Brocade OEM customersIf you have purchased Brocade product support from a Brocade OEM/solution provider, contact your OEM/solution provider for all ofyour product support needs.

• OEM/solution providers are trained and certified by Brocade to support Brocade® products.

• Brocade provides backline support for issues that cannot be resolved by the OEM/solution provider.

• Brocade Supplemental Support augments your existing OEM support contract, providing direct access to Brocade expertise.For more information, contact Brocade or your OEM.

• For questions regarding service levels and response times, contact your OEM/solution provider.

Contacting Brocade Technical Support

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 9

Page 10: Brocade Fabric OS FICON Configuration Guide, 8.1

Brocade Fabric OS FICON Configuration Guide, 8.1.010 53-1004394-02

Page 11: Brocade Fabric OS FICON Configuration Guide, 8.1

About This Document• Supported hardware and software..............................................................................................................................................................11• Additional FICON resources.........................................................................................................................................................................11• What's new in this document........................................................................................................................................................................11

Supported hardware and softwareAlthough many different software and hardware configurations are tested and supported by Brocade Communications Systems, Inc. forFabric OS 8.1.0, documenting all possible configurations and scenarios is beyond the scope of this document.

For a complete list of platforms supported by FICON and Fabric OS OS 8.1.0, refer to Introduction on page 99.

In cases where procedures or parts of procedures do not apply to all Brocade hardware platforms, this guide identifies which platformsare supported.

Additional FICON resourcesUseful Brocade product resources are available as described in Brocade Resources on page 8. In addition, a dedicated communityresource page for mainframe and FICON information is available at Mainframe & FICON Solutions.

What's new in this document

Changes made for the initial release (53-1004394-01)The following information was added or changed in this document, in addition to other changes made for accuracy and clarity:

• In FICON concepts on page 14, added additional information about buffer credits.

• In Cascaded FICON on page 17, added z14 to the mainframe list.

• In Qualified FICON cascaded configurations on page 19, updated the information to match IBM qualifications for Fabric OS8.1.0.

• In Triangular topology on page 83, added a note clarifying multi-hop support.

• In FICON hops on page 19, added information about hops of no concern and updated the multi-hop information to matchIBM qualifications for Fabric OS 8.1.0.

• In FICON commands on page 30, added information about the ficonCupSet UALERT_type command and the lscfg -ficoncommand.

• In Configuring switched point-to-point FICON on page 39, added 32 Gbps port information.

• In FICON and blade support for addressing modes on page 47, added Brocade X6 Director.

• In FICON and FICON CUP in Virtual Fabrics on page 45, updated allowed Virtual Fabric logical switches allowed on Gen 6platforms. The FICON Logical Switch feature is introduced. Mode 1 addressing is clarified as the supported mode.

• In Mode 1 (zero-based addressing) on page 47, added Linux OS on IBM z Systems and updated the Note to include BrocadeX6 Directors.

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 11

Page 12: Brocade Fabric OS FICON Configuration Guide, 8.1

• In FICON CUP restrictions on page 54 and Port and switch naming standards for FMS mode on page 56, Fabric OS 8.1.0switch and port naming requirements are updated.

• FICON and FEC-via-TTS on page 51 is new information.

• In Upgrade considerations on page 61, Fabric OS 8.1.0 for Gen 6 platforms updated and references to Fabric OS prior toversion 7.0 are removed.

• In Automating CS_CTL mapping on page 48, added information about buffer credit use with QoS enabled.

• In Remote tape vaulting topology on page 86, references to System Data Mover (SDM) are removed.

• In Monitoring and Alerting Policy Suite on page 88, added a recommendation not to use SDDQ in a FICON environment.

• In Port fencing on page 88, a note about deprecation of OOP in IBM z/OS is added.

• In Identifying ports on page 89, information about the tag field content was updated.

• Link information on page 97 is a new section.

• Supported platforms with end-of-support announcements on page 99 is updated.

• Currently supported platforms on page 100 and Supported Brocade blades on page 100 are updated for Fabric OS 8.1.0.

• In Basic Switch Configuration on page 103, iodset command information is updated.

Throughout the document, references to printer emulation are removed. Printer emulation is no longer a supported feature.

Changes made for 53-1004394-02The following changes were made for this release of book:

• In Triangular topology on page 83, removed conflicting content regarding multi-hop paths certification for FICONconfigurations. Multi-hop paths are certified for FICON configurations beginning with Fabric OS 7.4.0.

What's new in this document

Brocade Fabric OS FICON Configuration Guide, 8.1.012 53-1004394-02

Page 13: Brocade Fabric OS FICON Configuration Guide, 8.1

Introducing FICON• FICON overview.................................................................................................................................................................................................13• FICON concepts................................................................................................................................................................................................ 14• FICON configurations......................................................................................................................................................................................17• Access control in FICON................................................................................................................................................................................26• FICON commands........................................................................................................................................................................................... 30• Link and FC addressing..................................................................................................................................................................................32

FICON overviewIBM Fibre Connection (FICON®) is an industry-standard, high-speed input/output (I/O) interface for mainframe connections to storagedevices. This guide discusses support offered by Brocade Fabric OS in intermix mode operations, in which FICON and Fibre Channeltechnology work together.

For specific information about intermix mode and other aspects of FICON, refer to the IBM Redbook FICON® Implementation Guide(SG24-6497-03) and IBM z System Connectivity Handbook (G24-5444-15).

NOTEIn this guide, the term switch is used to refer to a Brocade switch, backbone, or director unless otherwise noted.

Fabric OS support for FICONThe following Fabric OS standard features support FICON fabrics:

• Blade swapping

Allows you to swap a blade of the same type so that you can replace a field-replaceable unit (FRU) with minimal trafficdisruption. This feature is available for both FICON and open system environments. Blade swapping resolves situations in whichthe hardware has failed and the channel configurations cannot be changed quickly. In addition, a blade swap minimizes andeliminates the need to make changes to the I/O sysgen in the hardware configuration definition (HCD). Blade swapping hasminimal or no impact on other switch features.

• Routing policies

IBM z Systems FICON supports port-based and device-based routing (PBR and DBR). For details on these policies, refer tothe "Routing Traffic" chapter in the Brocade Fabric OS Administration Guide.

Check the IBM z Systems qualification letter for information about IBM z Systems FICON support for exchange-based routing(EBR).

• FICON MIB module

Addresses link incident data for FICON hosts and devices connected to a switch. The FICON MIB module supplements otherManagement Information Bases (MIBs) used to manage switches and should be used in conjunction with those other MIBs.

• Insistent Domain ID (IDID)

Disables the dynamic domain ID feature and allows the switch to use only a pre-set domain ID. All switches in a fabric musthave a unique domain ID. An insistent domain ID is required with 2-byte addressing. IDID is the recommended best practice forsingle-byte addressing.

• Link incident detection, registration, and reporting

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 13

Page 14: Brocade Fabric OS FICON Configuration Guide, 8.1

Provides administrative and diagnostic information.

• Swap port area IDs (PIDs) of physical ports

Redirects resources from a failed port to a healthy port without changing the mainframe hardware configuration definition (HCD)settings. This feature, also called "port swapping," is available for both FICON and open system environments. Swapping PIDson ports resolves situations in which the hardware has failed and the channel configurations cannot be changed quickly. Portswapping has minimal or no impact on other switch features.

• Switch connection control (SCC) policy

Includes fabric security methods that prevent unauthorized switches from joining a fabric. An SCC policy configured in strictmode is required for cascaded FICON configurations and whenever 2-byte addressing is used.

• Traffic Isolation (TI) zones and enhanced TI zones (EITZ)

TI zones are used to direct traffic across links through a specified path. Enhanced TI zones allow you to have ports in more thanone TI Zone and to program domain controller routes to destination domains for F-class traffic, ensuring fabric stability.

NOTEFor more detail on these features and configuration procedures, refer to the Brocade Fabric OS Administration Guide.

Brocade management tools provide further support:

• Brocade Network Advisor

Brocade Network Advisor is an optional software program that can be used to manage a fabric that supports FICON and FibreChannel Protocol (FCP) devices and traffic. Brocade Network Advisor is the recommended GUI management tool for FICONenvironments on B-series enterprise-class switches. For more information on Brocade Network Advisor, refer to the manualappropriate for your version requirements:

– Brocade Network Advisor SAN + IP User Manual– Brocade Network Advisor SAN User Manual

• Web Tools

Web Tools is an embedded GUI-management tool that can be used to manage a Brocade switch or director that supportsFICON and FCP devices and traffic. For more information on Web Tools, refer to the Brocade Web Tools Administration Guide.

Latency guidelineThe maximum supported distance for a FICON channel is 300 km (1.5 msec of delay). Synchronous remote data replication for DASDis generally limited to 100 km (0.5 msec of delay). Asynchronous remote data replication for direct-access storage devices (DASD) andremote tape reads/writes require that the Brocade Advanced Accelerator for FICON feature be used with FCIP. The AdvancedAccelerator for FICON feature emulates control unit response to the channel to improve the performance over distances greater thanlocally attached distances.

FICON conceptsThe following figure shows how the traffic in a switched point-to-point configuration flows in a FICON environment. The logical path ofthe traffic is defined as frames moving from the channel to the switch to the control unit. FICON traffic moves from a logical partition(LPAR) and through the channel, through a Fibre Channel link to the switch through the control unit, and ends at the device. This is alsocalled a channel path, which is a single interface between a central processor and one or more control units along which signals and datacan be sent to perform I/O requests. The channel path uses the logical path to traverse the Fibre Channel fabric. The channel path is

FICON concepts

Brocade Fabric OS FICON Configuration Guide, 8.1.014 53-1004394-02

Page 15: Brocade Fabric OS FICON Configuration Guide, 8.1

defined using an ID called the channel path ID (CHPID). This information is stored in the Input/Output Definition File (IODF) and may bedynamically configured. The IODF is typically built using the hardware configuration definition (HCD). The traffic on the channel pathcommunicates using the channel command word (CCW) channel for Command Mode FICON and the transport control word (TCW)channel for z High Performance FICON (zHPF) channel programs.

FIGURE 1 FICON traffic

In a FICON environment, buffer credits are used at the Fibre Channel Protocol (FCP) level for flow control between optically adjacentports, whereas information unit (IU) pacing is the flow control mechanism used by the channel. There are times when there are no morebuffer credits to pass back to the other end of the link and a frame pacing delay occurs. The frame pacing delay is the number ofintervals of 2.5 microseconds that a frame had to wait to be transmitted due to a lack of available buffer credits. Frame pacing delayinformation is reported via the z/OS Resource Measurement Facility (RMF), specifically in the FICON Director Activity Report (RMF74-7).

On the mainframe side, I/O is done on a 2K, or 2,048-byte, page boundary. Even though the maximum size of a FC frame is 2,112bytes, the mainframe I/O uses 2,048 bytes. Also, when using IBM System z High Performance FICON (zHPF), the average frame sizeis seldom more than 1,800 bytes. FICON rarely creates full FC frames. The point is, do not assume that full data frames are alwaysused. As a result, do not allocate too few buffer credits.

FICON introduces the following concepts:

• FICON Control Unit Port (CUP)

The internal port in a switch that assumes a Fibre Channel (FC) address such that it is the FC domain ID (DID) used to directFICON traffic to the FICON Management Server (FMS).

• Hardware configuration definition (HCD)

FICON concepts

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 15

Page 16: Brocade Fabric OS FICON Configuration Guide, 8.1

HCD is an IBM interactive interface application that allows you to define the hardware configuration for both the processorchannel subsystem and the operating system running on the processor.

• Information unit

A unit of FICON data consisting of from one to four Fibre Channel frames.

• Link Incident Record Registration (LIRR)

The LIRR Extended Link Service (ELS) requests that the recipient add the requesting port to its list of ports that are to receive aRegistered Link Incident Report (RLIR).

• Node

A node is an endpoint that contains information. It can be a computer (host), a device controller, or a peripheral device such as aDASD array or tape drive. A node has a unique 64-bit identifier known as the Node_Name. The Node_Name is typically usedfor management purposes.

• Prohibit Dynamic Connectivity Mask (PDCM) and connectivity attributes

PDCM controls whether communication between a pair of ports in the switch is prohibited. Connectivity attributes controlwhether the communication is blocked for a port.

• Read Record Set (RRS)

RRS is an IBM channel-initiated CCW command. The command is used in IBM z/OS Global Mirror configurations to readupdates from a volume in an active mirroring session.

• Registered Link Incident Report (RLIR)

RLIR ELS provides a way for a node port to send an incident record to another node port.

• Request Node Identification Data (RNID)

RNID ELS acquires the associated node’s identification data, which provides configuration discovery and managementinformation.

• Resource Measurement Facility (RMF)

RMF is the performance monitoring component of z/OS that gathers transaction data from the environment and generatesperformance reports. All Level II reports, which include port statistics, require the FICON Control Unit Port (CUP) and FICONManagement Server (FMS), the FICON director included in the IOSysGen as a 2032 Control Unit, and the appropriate parmlibsettings configured to enable the RMF 74-7 record generation and statistics collection.

• Systems Operations (SysOps)

SysOps provides the ability to monitor and control all subsystems in a sysplex from any system in the sysplex. This includescontrolled startup, controlled shutdown, and automated recovery of software resources.

• Sysplex

In IBM mainframe computers, a systems complex, commonly called a sysplex, allows multiple processors to be joined into asingle unit, sharing the same sysplex name and couple data sets.

• IPL file

The initial program load (IPL) file, located in nonvolatile storage, contains the current, active configuration settings for the FICONdirector. It functions to initialize data on the director during a Power-on Reset (POR) event. When the “Active=Saved” FICONCUP mode register bit setting is on, any active configuration in switch memory is automatically saved to the IPL file.

FICON concepts

Brocade Fabric OS FICON Configuration Guide, 8.1.016 53-1004394-02

Page 17: Brocade Fabric OS FICON Configuration Guide, 8.1

FICON configurationsThere are two types of FICON configurations that are supported using Brocade Fabric OS: switched point-to-point and cascadedtopologies.

Switched point-to-pointA single-switch configuration, called switched point-to-point, allows the channel to use single-byte addressing. The following illustrationshows switched point-to-point between FC and FICON control unit (CU) devices.

FIGURE 2 Switched point-to-point FICON

Cascaded FICONCascaded FICON refers to an implementation of FICON that uses one or more FICON channel paths in which the domain ID of theentry switch is different than the domain ID of the switch where the control unit (CU) is attached. Therefore, cascading requires a 2-bytelink address. Anytime a 2-byte link address is defined on a channel, all link addresses associated with that channel must be 2-byte linkaddresses.

Switches may be interconnected using the following links:

• Traditional Inter-Switch Links (ISLs)

• Inter-Chassis Links (ICLs)

• Fibre Channel over Internet Protocol (FCIP)

The processor interface is connected to one switch, known as the entry switch, and the storage interface is connected to the other switch.See the following figure. This configuration is supported for both DASD and tape, with multiple processors, DASD subsystems, and tape

FICON configurations

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 17

Page 18: Brocade Fabric OS FICON Configuration Guide, 8.1

subsystems sharing the ISLs or ICLs between the switches and directors. Multiple ISLs between the switches and the directors are alsosupported. Cascading between switches and the directors is also supported.

FIGURE 3 Cascaded FICON

A cascaded configuration requires 2-byte addressing. 2-byte addressing requires a list of authorized switches. This authorization feature,called fabric binding, is available through the Secure Access Control List feature. The fabric binding policy allows a predefined list ofswitches (domains) to exist in the fabric, and it prevents other switches from joining the fabric. This type of configuration is described in User security considerations on page 35. The Switch Connection control policy must also be configured in strict mode.

There are hardware and software requirements specific to 2-byte addressing:

• Both FICON switches must be Brocade switches.

• The mainframes must be zArchitecture machines: z114, z196, z800, 890, 900, 990, z9 BC, z9 EC, z10 BC, z10 EC,zEC12, zBC12, z13, z13s, and z14. Cascaded FICON requires a 64-bit architecture to support the 2-byte addressingscheme. Cascaded FICON is not supported on 9672 G5/G6 or earlier mainframes.

• z/OS version 1.4 or later, or z/OS version 1.3 with required Program Temporary Fixes (PTFs) and Microcode Loads (MCLs) tosupport 2-byte link addressing (DRV3g and MCL [J11206] or later), is required.

• Switch configuration requirements:

– Make sure that E_D_TOV is the same on all switches in the fabric (typically, this is not changed from the default).– Make sure that R_A_TOV is the same on all switches in the fabric (typically, this is not changed from the default).

FICON configurations

Brocade Fabric OS FICON Configuration Guide, 8.1.018 53-1004394-02

Page 19: Brocade Fabric OS FICON Configuration Guide, 8.1

– Configure insistent Domain ID (IDID).– Configure fabric binding (strict SCC policy).

FICON hopsWith the release of Fabric OS 8.1.0c, Brocade and IBM qualified FICON multi-hop configurations. Initial multi-hop configurations arelimited to three hops with specific configurations. For details on FICON multi-hop, refer to the IBM support website and look for thewhite paper WP102704, “FICON Multihop Requirements and Configurations.”

There are configurations that appear to create multi-hop paths, but they are certified by IBM to be “hops of no concern,” as follows:

• In-line inter-chassis links (ICLs) between two or three Gen 5 or Gen 6 directors

• Inter-switch links (ISLs) from a director to a Brocade extension switch, as long as the switch is only providing extension servicesand not doing any source-target FCP or FICON switching

Qualified FICON cascaded configurationsNot all fibre channel fabrics are qualified for FICON. Cascaded FICON configurations are limited to well-controlled paths. The resultingfabric scenario after ISL failures must not result in an unsupported configuration. When physical cabling is not practical to enforce theseconfigurations, zoning or Traffic Isolation zoning (TI zoning) with failover disabled may be used to ensure that unsupported fabrics cannotbe formed. Note that these restrictions apply to logical switches and not the chassis.

The following figures show two cascaded configurations. These configurations require Channel A to be configured for 2-byte addressingand require IDID and fabric binding. It is recommended that there be only two domains in a path from a FICON channel interface to aFICON control unit interface. There are exceptions to the two-domain rule in extended fabric configurations. Refer to Extended fabricconfigurations on page 20 for examples.

FIGURE 4 Cascaded configuration: two switches

The following figure illustrates multiple switches cascaded off of switch 21. As of Fabric OS 8.1.0b, up to three hops are supported fromfrom channel to control unit.

FICON configurations

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 19

Page 20: Brocade Fabric OS FICON Configuration Guide, 8.1

FIGURE 5 Cascaded configuration: core-edge architecture

Extended fabric configurationsSwitches in cascaded configurations may be connected through interchassis links (ICLs), interswitch links (ISLs), and FCIP. Connectionusing FCIP is through Fibre Channel extension devices, such as Brocade 7840 switches, SX6 blades, and FX8-24 blades. Following areexample configurations.

For more information on long-distance and extended fabrics, refer to the Brocade Fabric OS Administration Guide. For moreinformation on extension products, including FCIP and IP Extension, refer to the Brocade Fabric OS Extension Configuration Guide.

The following figure illustrates a multi-hop ICL triangle configuration that uses ICLs. Note that three switches are connected through ICLsonly.

FICON configurations

Brocade Fabric OS FICON Configuration Guide, 8.1.020 53-1004394-02

Page 21: Brocade Fabric OS FICON Configuration Guide, 8.1

FIGURE 6 Multi-hop ICL triangle

The following figure illustrates a multi-hop configuration that uses ICLs and ISLs. This configuration is supported with or without switches4 or 1. All switches must be either Gen 5 switches or Gen 6 switches. You cannot mix Gen 5 and Gen 6 switches on ICL connections.

FICON configurations

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 21

Page 22: Brocade Fabric OS FICON Configuration Guide, 8.1

FIGURE 7 Multi-hop configuration with ICLs and ISLs

The following figure illustrates a multi-hop configuration that uses ICLs and FCIP. The two 7840 switches are for ISL extension onlyusing FCIP. Channel or control unit connections are not permitted. These switches may be replaced with a switch director with either SX6or FX8-24 blades installed. This configuration can be supported with or without switches 4 or 1. All switches must be Gen 5 or Gen 6.You cannot mix Gen 5 and Gen 6 switches with ICLs.

FICON configurations

Brocade Fabric OS FICON Configuration Guide, 8.1.022 53-1004394-02

Page 23: Brocade Fabric OS FICON Configuration Guide, 8.1

FIGURE 8 Multi-hop with ICLs and FCIP

The following figure illustrates a configuration that uses FCIP between 7840 switches that are used as routers only, for ISL extension. Inthis configuration topology, direct FICON channel or control unit connections into the 7840 FC ports are not supported. The 7840switches may be replaced with FX8-24 or SX6 blades installed in directors.

FICON configurations

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 23

Page 24: Brocade Fabric OS FICON Configuration Guide, 8.1

FIGURE 9 FCIP with 7840 switches as routers only

The following figure illustrates a configuration that uses cascaded FCIP with four 7840 switches. The 7840 switches at site 1 are usedfor ISL extension only. Channel or control unit connections are not permitted. The 7840 switches at site 2 are only for network, channel,and control unit connections. The 7840 switches on either site may be replaced with the FX8-24 or SX6 blades installed in directors.

FICON configurations

Brocade Fabric OS FICON Configuration Guide, 8.1.024 53-1004394-02

Page 25: Brocade Fabric OS FICON Configuration Guide, 8.1

FIGURE 10 Cascaded configuration using FCIP and 7840 switches

The following figure illustrates a cascaded configuration that uses FCIP and 7840 switches as edge switches. At site 1, the 7840switches are used for ISL extension only. Channel or control unit connections are not permitted. At site 2, only channel and control unitconnections are permitted on the 7840 switches. The 7840 switches at either site may be replaced with the FX8-24 or SX6 bladesinstalled in directors.

FICON configurations

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 25

Page 26: Brocade Fabric OS FICON Configuration Guide, 8.1

FIGURE 11 Cascaded configuration using FCIP and 7840 edge switches

Access control in FICONZoning is used to control access in a FICON environment. A zone consists of a group of ports or World Wide Names (WWNs).Connectivity is permitted only between connections to the switch that are in the same zone. There are three types of zoning: WWN, port,and domain index zoning. A zone configuration includes at least one zone. In open systems environments and in more complex FICONdeployments, the zone configuration contains multiple zones. Although domain index zoning is supported, WWN zoning for Quality ofService (QoS) is recommended in environments where N_Port ID Virtualization (NPIV) is deployed. For more information on how toimplement QoS domain index zoning in your fabric, refer to the “QoS” section of the Brocade Fabric OS Administration Guide fordetails.

Access control in FICON

Brocade Fabric OS FICON Configuration Guide, 8.1.026 53-1004394-02

Page 27: Brocade Fabric OS FICON Configuration Guide, 8.1

When zoning changes occur, Registered State Change Notification (RSCN) messages are sent throughout the zone. RSCNs are part ofthe low-level Fibre Channel Protocol that alerts channels and devices to changes in the fabric. As a best practice, Brocade recommendsone zone for all FICON connectivity.

NOTESession-based zoning enforcement is not recommended on a FICON switch. For more information on session-based zoningenforcement, refer to the Brocade Fabric OS Administration Guide.

Cascaded zoningThe figure below illustrates multiple sites sharing the same disaster-recovery site. Each switch or Director at a remote site, labeledDirector 1 and Director 3, can pass traffic to Director 2, but no traffic is permitted between Zone A and Zone B.

FIGURE 12 Simple cascaded zoning

The figure below illustrates the multiple zoning concepts that can be used to restrict traffic. Any host channel at the backup site(connected to Director 11 or Director 12) can connect to the backup tape contained within the same zone. Notice that no more than asingle hop is ever allowed and only Channel Path Identifiers (CHPIDs) 79 and 7A on the primary site can connect to the backup tape.Furthermore, CHPIDs 79 and 7A can connect only to the backup tape at the backup site.

NOTEZoning does not replace the need to set up the connectivity from the host to storage control units in the HCD or Input/OutputConfiguration Program (IOCP). For more information on zoning, refer to the Brocade Fabric OS Administration Guide.

Access control in FICON

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 27

Page 28: Brocade Fabric OS FICON Configuration Guide, 8.1

FIGURE 13 Complex cascaded zoning

Zone A (Light Blue): Any CHPID connected to Director 1, except CHPID 79, can get to any control unit connected to Director 1. Thezone includes all ports in Director 1 except ports 4, 5, and 6.

Zone B (Orange): Any CHPID connected to Director 2, except CHPID 7A, can get to any control unit connected to Director 2. The zoneincludes all ports in Director 2 except ports 4, 5, and 6.

Zone C (Green): Any CHPID connected to Director 11 can get to any control unit connected to Director 11. The zone includes all ports inDirector 11 except ports 5 and 6. Adding ports 5 and 6 to the zone, so that all ports in the switch or Director are in the same zone, wouldnot affect permitted connectivity and may be a more practical alternative.

Zone D (Yellow): Any CHPID connected to Director 12 can get to any control unit connected to Director 12. The zone includes all portsin Director 12 except ports 5 and 6, which are used for ISLs.

Zone E (Red): CHPID 79 can talk only to the remote tape connected to ports 7 and 8 on Director 11. The zone includes port 4 ofDirector 1 and ports 7 and 8 of Director 11. Either ISL can be used.

Access control in FICON

Brocade Fabric OS FICON Configuration Guide, 8.1.028 53-1004394-02

Page 29: Brocade Fabric OS FICON Configuration Guide, 8.1

Zone F (Dark Blue): CHPID 7A can talk only to the remote tape connected to ports 7 and 8 on Director 12. The zone includes port 4 ofDirector 2 and ports 7 and 8 of Director 12. Either ISL can be used.

Error reportingNon-implicit link incidents (such as Fabric OS recognized or bit error rate threshold exceeded) and implicit link incidents (such as an FRUfailure) are reported to registered listeners on the local switch. The RMF 74-7 record (FICON Director Activity Report, which is the sameRMF record containing the average frame pacing delay information) reports port errors, which in turn are also reported back to themainframe host management consoles.

Secure access controlBinding is a method used to prevent devices from attaching to the switch or director. Secure Access Control Lists (ACLs) provide thefollowing fabric, switch, and port binding features:

• Fabric binding is a security method for restricting switches within a multiple-switch fabric. Brocade recommends using fabricbinding for cascaded FICON. SCC ACLs with strict fabric-wide consistency are required for FICON fabric binding.

• Switch binding is a security method for restricting devices that connect to a particular switch or director. If the device is anotherswitch, this is handled by the SCC policy. If the device is a host or storage device, the device connection control (DCC) policybinds those devices to a particular switch. Policies range from completely restrictive to reasonably flexible, based uponcustomer needs. SCC ACLs with strict fabric-wide consistency are required for FICON switch binding.

• Port binding is a security method for restricting host or storage devices that connect to particular switch ports. The DCC policyalso binds device ports to switch ports. Policies range from completely restrictive to reasonably flexible, based on customerneeds.

The figure below demonstrates the three types of binding that you can use depending on the security requirements of your fabric.

Access control in FICON

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 29

Page 30: Brocade Fabric OS FICON Configuration Guide, 8.1

FIGURE 14 Types of binding for access control

FICON commandsNOTEThe Fabric OS CLI supports only a subset of the Brocade management features for FICON fabrics. The full set of FICON CUPadministrative procedures is available using the Brocade Network Advisor and Web Tools software features. You can also usean SNMP agent and the FICON Management Information Base (MIB).

FICON commands

Brocade Fabric OS FICON Configuration Guide, 8.1.030 53-1004394-02

Page 31: Brocade Fabric OS FICON Configuration Guide, 8.1

The table below summarizes the Fabric OS CLI commands that can be used for managing FICON fabrics. For detailed information onthese commands, refer to the Brocade Fabric OS Command Reference.

TABLE 1 Fabric OS commands related to FICON

Command Description

Standard Fabric OS commands

bladeSwap Swaps the area numbers for matching port pairs of two blades.

configure Changes a variety of switch configuration settings, including setting thedomain ID and the insistent mode.

configUpload Backs up the current Fabric OS feature and switch configuration,including FMS or FICON-specific configuration such as the IPL file,active configuration, mode register, and host data.

firmwareShow Displays the current version of the firmware.

licenseAdd Adds a license to the switch. The license key is case-sensitive and mustbe entered exactly.

licenseRemove Removes a license from the switch. Note that FMS mode must bedisabled before removing the FICON license.

licenseShow Displays current license keys, along with a list of licensed productsenabled by these keys.

licenseSlotCfg Enables and displays slot-based licenses for a switch chassis. Note thatfor a switch without blades, such as the Brocade 7840 Extension Switch,slot 0 is used as the slot-based license target. For blades, slot numbersare based on the switch chassis numbering scheme. A license key withthe specified capacity must be installed with the licenseAdd commandbefore you can enable a feature on a specified slot with this command.

portAddress Binds the 16-bit address to the lower two bytes of a port 24-bit FibreChannel address. Also unbinds the currently bound address for thespecified port.

portSwap Swaps ports. Note that the portswap --restore command restoresswapped ports to an unswapped state.

portSwapDisable Disables the portSwap feature. The portSwap command cannot be usedafter this feature is disabled. The disabled state is persistent acrossreboots and power cycles. Enabling or disabling the portSwap featuredoes not affect previously performed portSwap operations.

portSwapEnable Enables the portSwap feature.

portSwapShow Displays information about swapped ports.

supportShowCfgEnable ficon Turns on logging of FICON information on the switch.

Commands specific to FICON

lscfg --create FID -ficon Creates a new logical switch for FICON

lscfg --change FID -ficon Changes a logical switch to a FICON logical switch.

ficonClear RNID Removes all outdated RNID records from the local RNID database.

ficonCfg --set LIRR port Sets the current LIRR device port number persistently.

ficonCfg --reset LIRR port Clears the currently configured LIRR port number.

ficonCupSet fmsmode enable | disable | reset Enables, disables, or resets FICON Management Server (FMS) mode.

CAUTIONUse the ficonCupSet fmsmode reset option only underdirection from technical support personnel. Indiscriminateuse can disrupt CCW processing and create errors at thehost.

ficonCupSet modereg bitname 0 | 1 Sets FICON-CUP mode register bits.

FICON commands

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 31

Page 32: Brocade Fabric OS FICON Configuration Guide, 8.1

TABLE 1 Fabric OS commands related to FICON (continued)

Command Description

ficonCupSet MIHPTO seconds Sets missing interrupt handler primary timeout (MIHPTO) values.

ficonCupSet CRP PID CHID Sets the current reporting path (CRP).

ficonCupSet UALERT_type enable | disable Sets the specified unsolicited alert types and displays the status of theunsolicited alerts. Allowed types are as follows:

• UALERT_HSC

• UALERT_FRU

• UALERT_INVATT

• UALERT_ALL

ficonCupShow UALERT_MODE Displays the current settings of which types of UALERT are enabled ordisabled.

ficonCupShow DD_LOG Displays the log information associated with the last diagnosticcommand processed by the CUP.

ficonCupShow diag_info Displays the diagnostic interval setting and related statistic samplinginformation for diagnostic information collected by the CUP.

ficonCupShow fmsmode Displays the current FMS mode setting.

ficonCupShow hlthchk_log Displays health check logs for the logical switch.

ficonCupShow modereg bitname Displays FICON-CUP mode register bits.

ficonCupShow MIHPTO Displays MIHPTO values.

ficonCupShow LP Displays the CUP logical path and error-reporting path information.

ficonHelp Displays a list of FICON support commands.

ficonShow lirr fabric Displays registered listeners for link incidents for the local switch or forthe fabric, if specified.

ficonShow rlir fabric Although all FICON channels register as “conditional” recipients ofregistered link incident reports (RLIRs) and are added to the switch LIRRdatabase, only one channel per switch is selected to forward reports tothe host. The command output displays all channels which haveregistered and indicates which node on each switch is selected togenerate reports to the host.

ficonShow rnid fabric Displays node identification data for all devices registered with the localswitch or for all devices registered with all switches defined in the fabric, ifspecified.

ficonShow rnid port Displays node identification data for a specified port.

ficonShow rnid table Displays the local node identification database in tabular format.

ficonShow switchrnid fabric Displays node identification data for the local switch or for the fabric, ifspecified.

For limitations and considerations for using Fabric OS commands with FMS mode enabled, refer to Fabric OS command limitations andconsiderations on page 59.

Link and FC addressingTo understand the addressing mode requirements and restrictions for FICON, it is important to understand the relationship between thelink address and the FC address. Understanding this relationship is also valuable for troubleshooting paths.

The following figure represents components of link and FC addresses that are explained in this section.

Link and FC addressing

Brocade Fabric OS FICON Configuration Guide, 8.1.032 53-1004394-02

Page 33: Brocade Fabric OS FICON Configuration Guide, 8.1

FIGURE 15 Link and FC address components

Domain IDAlthough you enter the domain ID in decimal format when configuring a switch, it is represented in hexadecimal format in the FCaddress.

For single-byte addressing, the domain area returned from the switch where the channel logs in is used for the FC address. Therefore,the channel and control unit must be in the same logical switch. With 2-byte link addressing, the most significant byte of the link addressis used for the domain area of the FC address. Once 2-byte link addressing is defined for a channel, all link addressing for that channelmust use 2-byte link addressing.

Port areaThe port area address is the single-byte link address or the least significant byte of a 2-byte link address. The link address is entered inthe HCD in hexadecimal format and is represented in hexadecimal in the FC address.

ALPAThe Arbitrated Loop Physical Address (ALPA) was originally used in fibre channel for loop devices. Currently, the ALPA is used forN_Port ID Virtualization (NPIV), which allows multiple WWNs to log in to the same switch port. The ALPA determines the logical entity towhich frames belong. This is how virtual servers using Linux on IBM z Systems or z/VM can share the same channel. Because BrocadeDCX 8510-8 and Brocade X6 directors can have up to 512 ports, the upper two bits of the ALPA are used in certain addressingmodes.

FICON does not use the ALPA byte. However, the ALPA is a required byte in the FC address. The channel completes the FC address fora control unit link address by acquiring the ALPA that the switch returned to the channel when the channel logged in. This is why theALPA must be the same for both the channel port and the control unit port. This is also the reason why 10-bit addressing mode cannotbe used for FICON (refer to Addressing modes on page 46).

Link and FC addressing

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 33

Page 34: Brocade Fabric OS FICON Configuration Guide, 8.1

Brocade Fabric OS FICON Configuration Guide, 8.1.034 53-1004394-02

Page 35: Brocade Fabric OS FICON Configuration Guide, 8.1

Administering FICON Fabrics• User security considerations.........................................................................................................................................................................35• Meeting high-integrity fabric requirements.............................................................................................................................................35• Preparing a switch for FICON...................................................................................................................................................................... 38• Configuring switched point-to-point FICON......................................................................................................................................... 39• Configuring cascaded FICON......................................................................................................................................................................44• FCR and FICON cascading.......................................................................................................................................................................... 45• FICON and FICON CUP in Virtual Fabrics............................................................................................................................................ 45• Addressing modes............................................................................................................................................................................................46• Disabling and enabling ports - persistent states.................................................................................................................................. 47• Clearing the FICON management database..........................................................................................................................................48• Automating CS_CTL mapping.....................................................................................................................................................................48• FICON best practices...................................................................................................................................................................................... 50• Latency guideline...............................................................................................................................................................................................52

User security considerationsTo administer FICON, you must have one of the following roles associated with your login name on the switch:

• Admin

• Operator

• SwitchAdmin

• FabricAdmin

The User and BasicSwitchAdmin roles are view-only. The ZoneAdmin and SecurityAdmin roles have no access.

In an Admin Domain-aware fabric, if you use the FICON commands (ficonShow, ficonClear, ficonCupShow, and ficonCupSet) for anyAdmin Domain other than AD0 and AD255, the current switch must be a member of that Admin Domain. The output is not filteredbased on the Admin Domain. In Virtual Fabrics, these commands apply to the current logical or specified switch only.

Meeting high-integrity fabric requirementsIn a cascaded switch configuration, FICON channels use an Extended Link Service Query Security Attributes (ELS QSA) function todetermine whether they are connected to a high-integrity fabric. Each switch in a high-integrity fabric must have the following attributesconfigured:

• An insistent domain ID (IDID)

• A valid SCC policy, configured and activated

• A fabric-wide consistency policy greater than or equal to switch connection control - strict mode (SCC:S)

NOTEYou enable the fabric-wide consistency policy on the fabric once the switch joins the fabric.

NOTEIf FMS mode is enabled before upgrading from any earlier release to v7.3.0 or later, including v8.1.0 on supportedplatforms, the IDID, SCC_Policy, and SCC:S are validated. If any of the validations fail, the firmware upgrade will fail.When validation is successful, high-integrity fabric (HIF) mode will automatically enable when the firmware installs.

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 35

Page 36: Brocade Fabric OS FICON Configuration Guide, 8.1

If a FICON channel tries to connect to a fabric switch without these attributes configured, the channel segments from the fabric.

With HIF mode not configured, new channel bring-up is not possible in v7.3.0 or later firmware, including v8.1.0. The absence of HIFmode configuration will fail all the security attributes in QSA even though they are actually present. Therefore, you must perform HIFmode configuration when upgrading from v7.3.0 or later firmware.

Once these attributes are configured, you must enable the switch in HIF mode using the Fabric OS configure command. This verifiesthat the required features are set and locks the configuration to ensure connection with the FICON channel. Once the HIF mode is set,you cannot change the IDID, fabric-wide consistency policy, and SCC policy without disabling HIF mode.

Following are considerations for using HIF mode:

• Once at 7.3.0 or later firmware, HIF mode must be enabled before you can enable FMS mode.

• Before a Fabric OS downgrade, you must disable HIF mode. Note that this operation is not recommended for FICON andshould be used only when downgrading firmware. You will receive a warning to this effect if FMS mode is enabled. If HIF isdisabled, any new channel initialization will fail as the Query Security Attribute (QSA) reply from the switch to the channel will fail.The existing channel will continue to operate.

• Before a Fabric OS firmware upgrade, be sure that the switch has appropriate IDID, fabric-wide consistency policy, SCC policysettings enabled.

• FICON users should verify that HIF is enabled after the upgrade to v7.3.0 or later.

The following instructions are provided in this section to configure a switch as part of a high-integrity fabric:

• Enabling the insistent domain ID on page 36

• Creating and activating the SCC policy on page 36

• Enabling the fabric-wide consistency policy on page 37

• Enabling High-Integrity Fabric mode on page 37

Enabling the insistent domain IDTo enable the insistent domain ID, complete the following steps for each switch in the fabric.

1. Connect to the switch and log in using an account assigned to the admin role.

2. Enter the configure command and step through the interactive prompts.

a) At the "Fabric parameters" prompt, type y.

b) At the "Insistent Domain ID Mode" prompt, type y.

Creating and activating the SCC policyCreating a switch connection control (SCC) policy defines the switches allowed in the fabric.

To configure and activate an SCC policy, perform the following steps.

1. Connect to the switch and log in.

Meeting high-integrity fabric requirements

Brocade Fabric OS FICON Configuration Guide, 8.1.036 53-1004394-02

Page 37: Brocade Fabric OS FICON Configuration Guide, 8.1

2. Perform one of the following actions:

• Enter the secpolicycreate command to add all switches in the fabric, if they are connected.

secpolicycreate "SCC_POLICY","*"

• Enter the secpolicyadd command to add one or more members to an existing policy. The following command is anexample of adding a member using device WWNs.

secpolicyadd "SCC_POLICY","wwn1;wwn2"

3. Enter the secpolicyactivate command to activate the currently defined SCC policy.

This activates the policy set on the local switch or all switches in the fabric, depending on the configured fabric-wide consistencypolicy.

Enabling the fabric-wide consistency policyEnable the fabric-wide consistency policy after all switches have joined the merged fabric. If there are fabric-wide data distribution (FDD)conflicts on any of the ISLs, disable the fabric-wide consistency policy on each switch in the fabric.

Once the fabric has merged successfully (use fabricShow to verify), enter the following command.

fddcfg --fabwideset "SCC:S"

When enabling the fabric-wide security policy, SCC:S enforces strict mode, which is required for FICON.

Enabling High-Integrity Fabric modeSetting High-Integrity Fabric (HIF) mode on a switch verifies that the switch meets high-integrity fabric requirements through thechannel's Extended Link Service Query Security Attributes (ELS QSA) function.

For a list of high-integrity fabric requirements for switches, refer to Meeting high-integrity fabric requirements on page 35. Setting HIFmode locks the IDID, fabric-wide consistency policy, and SCC policy settings to ensure that the fabric is of high integrity so that it canconnect with the FICON channel. You cannot change these settings without disabling HIF mode.

NOTEHIF mode must be enabled to enable FMS mode.

To enable HIF mode, perform the following steps.

1. Connect to the switch and log in using an account assigned to the admin role.

2. Enter the configure command and step through the interactive prompts.

a) At the "Fabric parameters" prompt, type y.

b) At the "High Integrity Fabric Mode" prompt, type y.

If HIF configuration requirements have not been met, an error message describes what you must configure for the command to succeed.For example, the following message states that an IDID, SCC policy, or fabric-wide consistency policy has not been configured for theswitch. Perform additional configuration if required, and then enable HIF mode.

Error: Unable to set HIF Mode. No valid IDID settings, SCC policy and/or Fabric wide(SCC:S) configuration

Meeting high-integrity fabric requirements

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 37

Page 38: Brocade Fabric OS FICON Configuration Guide, 8.1

Using other security commandsYou may find the following security-related commands useful.

Disabling the fabric-wide consistency policyTo disable the fabric-wide consistency policy, enter the fddcfg --fabwideset command.

Displaying the fabric-wide consistency policyTo display fabric-wide consistency policy information, enter the fddcfg --showall command.

Displaying the current security policyTo display the current security policy, enter the secpolicyshow command.

Deleting the SCC_POLICYEnter the secpolicydelete "SCC_POLICY" command if you get messages that the E_Port is in a security violation state.

Recovering the E_PortEnter the following commands for each switch if the E_Port is down:

secpolicyactivateportenable n

NOTEFor more detailed information on commands and command output referenced in this section, refer to the Brocade Fabric OSCommand Reference.

Preparing a switch for FICONUse the following steps to verify and prepare a switch for use in a switched point-to-point FICON environment. A single-switchconfiguration does not require insistent domain IDs (IDIDs) or fabric binding, provided that connected channels are configured for single-byte addressing. However, you should configure an IDID to ensure that domain IDs are maintained.

1. Connect to the switch and log in using an account assigned to the admin role.

2. Verify the management IP addresses have been set up.

3. Verify the switches can be seen by your management tool.

4. Verify the switches have the correct version of Fabric OS.

5. Add feature keys, if applicable.

6. Enter the configUpload command to save a baseline of the switch configuration.

Preparing a switch for FICON

Brocade Fabric OS FICON Configuration Guide, 8.1.038 53-1004394-02

Page 39: Brocade Fabric OS FICON Configuration Guide, 8.1

Cascaded FICON and two-byte addressing considerationsThe following are considerations when installing a switch in a FICON environment where two-byte addressing is used. Two-byteaddressing is always used in cascaded environments but may be used in single-switch fabrics as well. Making changes to your switch ordirector may require scheduled downtime.

• All fabric operating parameters, such as timeout values, must be the same. If you have not made any changes outside thescope of this document, there is nothing additional to consider regarding these parameters.

• The domain IDs of all switches must be unique and insistent.

• Although not required, it will be easier to configure the security policies if the zoning matches. Ensuring proper zoningconfiguration, ISL connections, and that switches and directors have merged into a fabric will also make the process of settingthe security attributes much easier.

Configuring switched point-to-point FICONThis section provides detailed steps and commands to configure a switch for point-to-point FICON operation. The following stepsassume that you have used your hardware reference manual to perform the initial setup of the switch and have performed all the stepsfrom Preparing a switch for FICON on page 38.

For basic steps and commands in a checklist format to quickly configure a switch for fabric and possible FICON operation, refer to theBasic Switch Configuration chapter, then return to this chapter for detailed FICON configuration procedures.

Use the worksheet in the Configuration Information Record appendix to record your configuration information.

Refer to FICON commands on page 30 for a list of FICON-related Fabric OS commands.

CAUTIONConfiguring the switch for FICON is a disruptive process. The switch must be disabled prior to configuring switchparameters.

1. Connect to the switch and log in using an account assigned to the admin role.

2. Enter the switchDisable command. You will need to disable the switch to access all the switch parameters.

3. Configure the switch and chassis name, if applicable.

4. Set the routing policy by entering the aptPolicy command.

Port-based routing (PBR) and device-based routing (DBR) are qualified for IBM z Systems; however, reference your systemqualification letter for current support information. The recommended policy is DBR (aptPolicy 2).

If FICON Emulation features (IBM z/OS Global Mirror or Tape Pipelining) are enabled on an FCIP Tunnel in the switch, eitherPBR (aptPolicy 1) or DBR (aptPolicy 2) should be set in the switch.

5. Configure Dynamic Load Sharing.

The recommended best practice is to enable Dynamic Load Sharing (DLS); however, DLS is only supported when Lossless isenabled.

• To enable Lossless with DLS, use the dlsSet --enable -lossless command.

• If Lossless will not be used, use the dlsReset command.

NOTEIf Lossless DLS is not enabled, the routing policy must be port-based routing (aptPolicy 1).

6. Set In-Order Delivery using the iodSet command.

Configuring switched point-to-point FICON

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 39

Page 40: Brocade Fabric OS FICON Configuration Guide, 8.1

7. Configure the switch parameters using the configure command and enter the responses shown in the table below whenprompted. (Items in italics are top-level parameters.)

TABLE 2 FICON switch parameters

Parameter Response Comment

Fabric parameter Yes Prompts for the fabric parameters.

Domain The domain ID is the switch address. Therecommended best practice is to set theswitch address and domain ID to be thesame. The domain ID is entered in decimal,so a switch address of hexadecimal 0x22would have a domain ID of decimal 34.

R_A_TOV 10000 Do not change. The Resource AllocationTimeOut Value (R_A_TOV) is entered inmilliseconds. This works with the variableE_D_TOV to determine switch actions whenpresented with an error condition.

Allocated circuit resources with detectederrors are not released until the time valuehas expired. If the condition is resolved priorto the timeout, the internal timeout clockresets and waits for the next error condition.

E_D_TOV 2000 The Error Detect TimeOut Value (E_D_TOV)is a timeout value entered in milliseconds.This timer is used to flag a potential errorcondition when an expected response is notreceived within the set time limit. If the timefor an expected response exceeds the setvalue, then an error condition occurs. Leavethis value at 2 seconds (2000) unlessconnected to extension equipment. In somecases, when connecting to extensionequipment, it must be set to 5 seconds(5000).

NOTEThis field should only bechanged after consulting aBrocade Certified FabricProfessional.

WAN_TOV 0 Wide-Area Network TimeOut Value(WAN_TOV) is set in milliseconds. This is themaximum frame timeout value for a WAN, ifany, interconnecting the Fibre Channelislands.

MAX HOPS 7 This parameter should not be confused withthe one- hop FICON cascading limitation.There are configurations that are more thanone hop because more than two domain IDsare used in the path that fit within the IBMsupport limitation of "one hop." Also, Linuxon IBM z Systems using FCP channels is notrestricted to "one hop".

Data field size 2112 Do not change. Specifies the largest possiblevalue, in bytes, for the size of a type 1 (data)frame. The switch advertises this value toother switches in the fabric during

Configuring switched point-to-point FICON

Brocade Fabric OS FICON Configuration Guide, 8.1.040 53-1004394-02

Page 41: Brocade Fabric OS FICON Configuration Guide, 8.1

TABLE 2 FICON switch parameters (continued)

Parameter Response Comment

construction of the fabric and to otherdevices when they connect to the fabric.Setting this value smaller than 2112 mayresult in decreased performance.

Sequence level switching 0 Do not change. When set to 1, frames of thesame sequence from a particular source aretransmitted together as a group. When set to0, frames are interleaved among multiplesequences when transmitted. Under normalconditions, sequence-level switching shouldbe disabled for better performance.

Disable device probing 1 The recommended best practice is to disabledevice probing. When disable device probingis set to 1, devices that do not register withthe Name Server will not be present in theName Server database.

Suppress Class F traffic 0 Do not change. By default, the switch cansend Class F frames. When this option isturned on (set to 1), Class F traffic isconverted to Class 2 traffic before beingtransmitted to support remote fabrics thatinvolve ATM gateways.

Per-frame route priority 0 Do not change. In addition to the virtualchannels used in frame routing priority, whenthis value is set to 1, support is also availablefor per-frame-based prioritization.

Long-distance fabric 0 Do not change. The recommended bestpractice is to configure individual ports forlong distance when cascading at extendeddistances.

Insistent Domain ID Mode Yes The recommended best practice is to set thedomain ID to be insistent. Setting theinsistent domain ID is required for two-byteaddressing.

High Integrity Fabric Mode No Before setting HIF mode, the followingattributes must be configured:

• An insistent domain ID (IDID

• A Fabric Wide Consistency Policy =>SCC:S (Strict mode)

• A valid SCC_Policy (configured andactivated)

Setting HIF mode locks the IDID, fabric wideconsistency policy, and SCC policy settingsto ensure that the fabric is of high integrity sothat it can connect with the FICON channel.You cannot change these settings withoutdisabling HIF mode.

After configuring the attributes, set thisparameter to Yes.

Virtual Channel parameters No Do not change. The switch allows fine-tuningof a specific application through virtualchannel parameters. The default virtualchannel settings have already been

Configuring switched point-to-point FICON

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 41

Page 42: Brocade Fabric OS FICON Configuration Guide, 8.1

TABLE 2 FICON switch parameters (continued)

Parameter Response Comment

optimized for switch performance. Changingthese values can improve switchperformance, but can also degradeperformance.

F_Port login parameters No With Fabric OS v6.1.0 and later, it is notnecessary to make any changes to F_Portlogin parameters. The only other reason toanswer yes (y) to this prompt is if NPIV isbeing used and there is a need to change thedefault number of NPIV logins.

Maximum logins per switch Change this only if NPIV is being used andthe number of fabric logins will exceed thedefault or there is a need to limit the numberof logins.

Maximum logins per port Change this only if NPIV is being used andthe number of port logins will exceed thedefault or there is a need to limit the numberof logins.

Maximum logins per second For Fabric OS v6.1.0b and later - Do notchange. Leave at default.

Login stage interval Do not change. Specifies the stage interval inthe staged F_Port login, in milliseconds.

Zoning operation parameters No Do not change. Disables and enablesNodeName Zone Checking.

RSCN transmission mode No Configures end-device RSCN TransmissionMode values such as:

• RSCN only contains single PID

• RSCN contains multiple PIDs (Default)

• Fabric addresses RSCN

Arbitrated Loop parameters No Parameters include Send FAN frames,Enable CLOSE on OPEN received, andAlways send RSCN. Refer to the configurecommand in the Brocade Fabric OSCommand Reference for more information.

System services No Enables or disables the read link status (RLS)probing performed by the FCP daemon.

Portlog events enable No Determines whether various types of portevents are logged.

SSL attributes No Enables or disables Secure Socket Layerattributes.

RPCD attributes No Enables or disables Remote Procedure CallDaemon (RPCD) attributes.

cfgload attributes No Configures configuration upload anddownload parameters. Refer to theconfigureChassis command in the BrocadeFabric OS Command Reference for moreinformation.

Web Tools attributes No Modifies Webtools attributes such asenabling the Basic User Enabled PerformLicense, Checking and Warning, Allow FabricEvent Collection, and Login Session Timeout.

8. Enter the switchEnable command to set the switch online.

Configuring switched point-to-point FICON

Brocade Fabric OS FICON Configuration Guide, 8.1.042 53-1004394-02

Page 43: Brocade Fabric OS FICON Configuration Guide, 8.1

9. Enter the trackChangesSet command to enable or disable the track-changes feature and to configure the SNMP-TRAP mode.

10. Enter the fabricPrincipal command on the switch you want to be the principal switch.

In cascaded fabrics, only one switch should be the principal. In core-edge designs, the director class switch should be theprincipal.

11. Enter the portCfgSpeed command to configure port speeds.

By default, all ports are configured to auto-negotiate. Normally, the only time the port configuration is changed is whenconnecting to 1 Gbps ports. Some Dense Wavelength Division Multiplexing (DWDM) ports are known not to auto-negotiatewell.

NOTE8 Gbps ports will auto-negotiate to 4 or 2 Gbps. They will not support or auto-negotiate to 1 Gbps.16 Gbps ports will auto-negotiate to 8 or 4 Gbps. They will not support or auto-negotiate to 2 Gbps or 1 Gbps.32 Gbps ports will auto-negotiate to 16 or 8 Gbps. They will not support or auto-negotiate to 4 Gbps or less.

12. Enter the portCfgLongDistance command for ports with fiber connections exceeding 10 km.

For ports with fiber connections exceeding 10 km, configuring the port for long distance mode increases the number of buffer-to-buffer (BB) credits available on that port. If you have any Extended Fabrics links, enable VC translation link initialization tostabilize them. Refer to the Brocade Fabric OS Administration Guide for details on this option of the portCfgLongDistancecommand.

13. Configure the fill word on Gen 4 (8 Gbps capable) switches using the portCfgFillWord command. The following example showsthe command with mode 3 and passive operands set:

portcfgfillword slot/port, 3 passive

NOTEThis command is only supported on Gen 4 (8 Gbps capable) switch products. It is not supported on Gen 2 (4 Gbpscapable) switches and is automatic in Gen 5 (16 Gbps capable) and Gen 6 (32 Gbps capable) switches. Refer to yourswitch vendor for appropriate fill word settings, such as mode. For more information on the portCfgFillWordcommand, refer to the Brocade Fabric OS Command Reference.

14. Enter the defZone --noaccess command to disable the default zone.

15. Configure zoning for your fabric.

Follow standard FICON zoning practices published by IBM. For more information on zoning, refer to the administrator’s guidefor your management tool.

16. Enter the statsClear command to clear port statistics.

17. Enter the switchShow command to verify that the switch and devices are online.

18. Enter the ficonShow rnid command to verify that the FICON devices are registered with the switch. Enter this command only iffabric binding is enabled; otherwise, channels will be attached as invalid. The ficonShow rnid port command displays RNIDinformation for a port.

19. Enter the ficonShow lirr command to verify that the FICON host channels are registered to listen for link incidents. Enter thiscommand only if fabric binding is enabled; otherwise, channels will be attached as invalid.

20. Enter the configUpload command to save your configuration.

NOTEThis command backs up the current Fabric OS feature and switch configuration, including FMS or FICON-specificconfiguration such as IPL file, active configuration, mode register, and host data.

Configuring switched point-to-point FICON

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 43

Page 44: Brocade Fabric OS FICON Configuration Guide, 8.1

21. Enter the command appropriate for your environment:

• If you do not have access to an FTP server, use a Telnet session that can log console output and enter the supportShowcommand to save a FICON baseline.

• If you have access to an FTP server, enter the supportSave command to save the FICON baseline of your switch.

22. Take the appropriate action based on your configuration:

• If you have a cascaded configuration, continue configuring your switches using the instructions in Configuring cascadedFICON on page 44.

• If you have and plan to use a CUP license, continue configuring your switches using the instructions in Configuring FICONCUP on page 57.

• If you have a switched point-to-point configuration, you have completed the switch configuration.

Configuring cascaded FICONIn addition to performing the steps listed in Configuring switched point-to-point FICON on page 39, you also must perform the followingsteps to configure cascaded FICON.

CAUTIONConfiguring the switch for FICON is a disruptive process. The switch must be disabled to configure switch parameters. Thisprocedure must be followed prior to channels joining the fabric.

1. Perform the following actions for each switch:

a) Enable the IDID mode using the Fabric OS configure command. For details on enabling the IDID mode, refer to Enablingthe insistent domain ID on page 36.

b) Set the domain ID. It is highly recommended that the switch ID used in hardware configuration definition (HCD) and Input/Output Configuration Program (IOCP) be the same as the switch address in hexadecimal. All switches ship from the factorywith a default domain ID of 1. The best practice is to use something other than 1 so that a new switch can be added to thefabric without changing the domain ID.

2. Use the secPolicyCreate command to configure the SCC policies on all switches to limit connectivity to only the switches in theselected fabric.

switch:admin> secPolicyCreate SCC_POLICY, member;...;member

In the command syntax, member indicates a switch that is permitted to join the fabric. Specify switches by WWN, domain ID, orswitch name. Enter an asterisk (*) to indicate all the switches in the fabric. To create a policy that includes all the switches in thefabric, enter the following command:

switch:admin> secPolicyCreate SCC_POLICY "*"

3. Save or activate the new policy by entering either the secPolicySave or the secPolicyActivate command. If neither of thesecommands is entered, the changes are lost when the session is logged out.

4. Enter the fddCfg command to enable the ACL fabric-wide consistency policy and enforce a strict SCC policy.

switch:admin> fddcfg --fabwideset "SCC:S"

5. Enable High-Integrity Fabric mode using the Fabric OS configure command. For details on enabling HIF mode, refer to Enabling High-Integrity Fabric mode on page 37.

Setting HIF mode locks the IDID, fabric-wide consistency policy, and SCC policy settings to ensure that the fabric is of highintegrity to connect with the FICON channel. You cannot change these settings without disabling HIF mode.

Configuring cascaded FICON

Brocade Fabric OS FICON Configuration Guide, 8.1.044 53-1004394-02

Page 45: Brocade Fabric OS FICON Configuration Guide, 8.1

6. Connect and enable channel and control unit (CU) devices. The Query Security Attributes (QSA) response to the channelindicates that the fabric binding and IDID are enabled.

FCR and FICON cascadingFor Fabric OS v7.3 and later, FICON cascading is allowed in an FCR configuration when front or translate domains are present. Thesedomains can co-exit with a fabric-wide "strict" SCC policy.

To connect edge fabrics to high-integrity backbone fabrics that use a FCR, use the following these general steps:

1. Define the FC Router EX_Ports.

2. Enter the portcfgexport slot/port command to obtain the front domain WWN.

3. Add the front domain WWN to the SCC Policy lists in the edge switches to be merged.

4. Connect the switches.

FICON and FICON CUP in Virtual FabricsFor FICON CUP, FICON Management Server (FMS) mode is enabled on the logical switch and not the chassis. For example, in a VirtualFabrics environment on a Brocade switch or a Brocade DCX directors, enable CUP on each logical switch.

You can configure up to four logical switches as CUP switches in a Virtual Fabrics-enabled platform in FMS mode. Completeinstructions for creating a logical switch using Fabric OS commands are in the Brocade Fabric OS Administration Guide. Instructions forfor creating a logical switch using Brocade Network Advisor are in the Brocade Network Advisor User Manual. Once a logical switch isconfigured, CUP must be installed on the switch per the instructions under Configuring FICON CUP on page 57.

The table below specifies the maximum number of logical switches and maximum number of logical switches with FMS mode enabledfor supported Brocade FICON switches and directors.

TABLE 3 Maximum logical switches for FICON switches and directors

Switch or director Maximum number of logical switches Maximum number of logical switches with FMS(CUP) enabled

G620 4 2

X6-4 16 8

X6-8 16 8

DCX 8510-4 8 4

DCX 8510-8 8 4

7840 4 (the base switch cannot be FMS-enabled) 4

6510 4 (3 if using a base switch) 2

When creating a logical switch, consider the following for FICON:

• Set the addressing mode to Mode 1 (zero-based) FICON CUP. Setting these modes may be required for specific hardwareconfigurations; refer to the following examples:

– For 48-port blades in an 8-slot chassis, FICON is supported only on a logical switch with mode 1 addressing configured.– For 48-port blades in an 4-slot chassis, FICON may work but is not supported on a logical switch defined for mode 2

addressing. Mode 1 is the recommended mode.

For more information on addressing modes, refer to Addressing modes on page 46.

FICON and FICON CUP in Virtual Fabrics

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 45

Page 46: Brocade Fabric OS FICON Configuration Guide, 8.1

NOTEFICON is not supported on the default logical switch.

• You can use the Fabric OS configure command to allow XISL use.

An extended interswitch link (XISL) is an interswitch link (ISL) that connects the logical switch to a base switch and carries trafficfor multiple logical fabrics. The XISL is a logical switch feature, not a link feature. It is shared by multiple logical switches and canbe used for multiple Fabric IDs (FIDs). Creating an XISL is disruptive because it provides a core routing function for the switch.For more information on creating XISLs and restrictions, refer to the configure command in the Brocade Fabric OS CommandReference.

When using XISLs, the effective routing policy for all logical switches configured to allow XISL use is that of the base switchregardless of how the routing policy is defined. The best practice is to set the routing policy in all logical switches that allow XISLuse to have the same routing policy as the base switch to avoid confusion about the routing policy used. A base switch can onlybe used for XISLs. Therefore, the switch cannot be managed through a CUP port and cannot report statistics for RMF.

• The following policies are qualified for IBM z Systems:

– Port-based routing (PBR)– Device-based routing (DBR)– Exchange-based routing (EBR)There are caveats with EBR as to specific processor type, z/OS level and storage device support. Refer to the z Systemsqualification letter and storage vendor support matrixes for current EBR support details. The recommended policy is DBR oraptPolicy 2.

• If addresses 0xFE or 0xFF have been assigned to physical ports, those ports must be disabled before FMS can be enabled.

• Each logical switch has its own configuration data, such as the following:

– Initial Program Load (IPL) file.– Configuration data elements, such as Prohibit Dynamic Connectivity Mask (PDCM), Port Information Block (PIB), port

address names, mode register, and key counter.– CUP configuration files.

• Ports moved into a logical switch will have persistent states based on the Active=Saved (ASM) bit setting and other factors.Refer to Disabling and enabling ports - persistent states on page 47 for more information.

FICON Logical Switch featureBeginning with Fabric OS 8.1.0, a FICON Logical Switch feature provides simplified configuration of logical switches for use in FMSmode. A -ficon option is provided for the lscfg command, which creates a logical switch with FICON configurations. This includes suchconfiguration attributes as IDID, fabric binding, high integrity fabric mode, DBR routing policy, and 256-area limited addressing mode.

For details and configuration steps, refer to the Brocade Fabric OS Administration Guide.

Addressing modesThe following 256-area addressing modes provide extended functionality in dynamically created partitions:

• Mode 0: 10-bit addressing. For more information about 10-bit addressing, refer to the Brocade Fabric OS AdministrationGuide.

• Mode 1: zero-based addressing. Zero-based addressing is the recommended method when configuring FICON support.

• Mode 2: port-based addressing. For more information about port-based addressing, refer to the Brocade Fabric OSAdministration Guide.

Addressing modes

Brocade Fabric OS FICON Configuration Guide, 8.1.046 53-1004394-02

Page 47: Brocade Fabric OS FICON Configuration Guide, 8.1

Mode 1 (zero-based addressing)Mode 1 is the recommended mode for FICON. With zero-based addressing, unique area assignments begin at zero regardless of wherethe port is physically located. This allows FICON users to make use of high port count blades with port indexes greater than 256.

Zero-based addressing assigns areas when the ports are added to the logical switch, beginning at area 0x00. When a port is assigned toa logical switch, the next free PID starting from 0x00 is assigned. This mode allows FICON customers to make use of the upper ports ofa 48-port blade.

The arbitrated loop physical address (ALPA) is always 0x00. Therefore, Mode 1 addressing limits the maximum switch size to 256 ports.Mode 1 does not use any of the ALPA bits and may be preferred for native FCP with IBM z/VM or IBM Linux on z Systems to allow upto 256 (255 practical) NPIV logins.

NOTEAlthough port addresses are assigned when moved to a logical switch, the address is not bound to the port. To ensure that thelink address for a control unit attached to a port does not change, the portAddress command must be used to bind the addressto the port even if you are not changing the port address assignments. Refer to Sequential address binding on page 107 for alist of commands that will bind ports on DCX Directors or X6 Directors fully populated with 32-port blades.

FICON and blade support for addressing modesFICON is supported on blades that are attached to a logical switch other than the default logical switch. A non-default logical switch andits attached blade(s) require Mode 1 addressing (zero-based) for FICON support.

Port swap limitationsFor limitations for port swapping on logical switches and when FMS mode is enabled, refer to Port swap limitations on page 61.

Disabling and enabling ports - persistent statesYou cannot issue the portCfgPersistentDisable command if FMS mode is enabled. When FMS mode is enabled, persistently enabled ordisabled configuration states are saved in the CUP's IPL file. When FMS mode is enabled and Active=Saved Mode (ASM) is ON, theuser can achieve persistent port configuration states by using the portDisable and portEnable command. IBM CUP documentationrefers to these persistent configuration states as blocked and unblocked.

The persistent configuration state depends on the following factors:

• If ASM is set to one (1) and you change the port's enabled state to block, unblock, enable, or disable in the CUP ActiveConfiguration, then that setting will update the IPL file and will be in a persistent configuration state.

• If ASM is set to zero (0) and you change the port's enabled state to block, unblock, enable, or disable in the CUP ActiveConfiguration, then that setting will not update the IPL file and will not be in a persistent configuration state.

The following tables compare the achievement of port persistent enable and disable states with interactions between the ASM Modesetting, IPL state. and use of the portdisable or portenable command.

TABLE 4 ASM 1 ON

Initial IPL state Blocked Blocked Unblocked Unblocked

User action portenable command portdisable command portenable command portdisable command

Physical state of port Enabled Disabled Enabled Disabled

Port state in IPL file Unblocked Blocked Unblocked Blocked

Disabling and enabling ports - persistent states

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 47

Page 48: Brocade Fabric OS FICON Configuration Guide, 8.1

TABLE 4 ASM 1 ON (continued)

PortCfgShow commanddisplay for persistent state

OFF ON OFF ON

TABLE 5 ASM 0 OFF

Initial IPL state Blocked Blocked Unblocked Unblocked

User action portenable command portdisable command portenable command portdisable command

Physical state of port Enabled Disabled Enabled Disabled

Port state in IPL file Blocked Blocked Unblocked Unblocked

PortCfgShow commanddisplay for persistent state

ON ON OFF OFF

Following are summaries of important points in the tables:

• The only time "Persistent Disable ON" should display with the PortCfgShow command is when you disable a port and ASM isset to ON.

• The only time the IPL file changes is when ASM is set to ON.

• When FMS mode is enabled, persistence is controlled by the interaction of ASM mode and the IPL file.

Clearing the FICON management databasePerform the following steps to clear RLIR and RNID records from the FICON management database.

1. Connect to the switch and log in as admin.

2. Enter ficonClear rlir to remove all the RLIR records from the local RLIR database.

3. Enter ficonClear rnid to remove all the RNID records marked "not current" from the local RNID database.

Automating CS_CTL mappingThe CS_CTL-based frame prioritization feature allows you to prioritize the frames between a host and Control Unit (CU) as having high,medium, or low priority, depending on the value of the CS_CTL field in the FC frame header. High, medium, and low priority frames areallocated to different virtual channels (VCs). High priority frames receive more VCs than medium priority frames, which receive more VCsthan low priority frames. The virtual channels are allocated according to the CS_CTL value.

When QoS is enabled, buffers are reserved for the VCs. Most traffic occurs on the medium-priority channel, which means a number ofavailable buffers are not being used. The recommended action is to disable QoS on ports unless you have a well-defined plan forestablishing priorities in your FICON environment. When QoS is enabled on a port, you risk depleting buffers and experiencingperformance degradation. Be aware that disabling QoS disrupts the link when it is taken offline and brought back online as a result ofdisabling or enabling QoS.

NOTEQoS zoning is not supported in FICON environments.

NOTECheck with your host and storage manufacturer to determine if they support Fibre Channel CS_CTL prioritization on theirdevices.

Clearing the FICON management database

Brocade Fabric OS FICON Configuration Guide, 8.1.048 53-1004394-02

Page 49: Brocade Fabric OS FICON Configuration Guide, 8.1

The Brocade Fabric OS Administration Guide provides additional information on this feature and steps to enable CS_CTL-based frameprioritization on your switch using the portCfgQos command.

The configureChassis command allows you to set chassis-level configuration parameters, such as cfgload, custom, system, and FabricOS attributes, to be used by ASIC drivers. The following procedure uses the Fabric OS attribute, CS_CTL QoS Mode, to change CS_CTLvalues mapped to VCs for priority levels from default to auto mode. While default mode maps CS_CTL values 1-8 (low), 9-16(medium), and 17-24 (high) to specific VCs, auto mode maps CS_CTL values 1 (low), 2 (medium), and 3 (high) to VCs based on theASIC supported by your platform. For DCX 8510-4, DCX 8510-8, and 6510 models, a single CS_CTL value is mapped to multipleVCs.

To enable auto mode for CS_CTL to VC mapping on a FICON switch, use the following steps.

NOTEThis process is disruptive as you must reboot the chassis to reset the configuration in the ASIC. You cannot enable CS_CTLmapping on individual ports until this is done. If auto mode is selected, you must select auto mode for each chassis in thefabric. Not doing so will mean different virtual channels (VCs) will be used across the fabric with undesirable results.

1. Connect to the switch and log in to an account that has admin permissions.

2. Launch the configureChassis command.

3. Select no when prompted to modify cfgload attributes, custom attributes, and system attributes, then select yes to modifyFabric OS attributes.

switch:admin> configurechassisConfigure... cfgload attributes (yes, y, no, n): [no] Custom attributes (yes, y, no, n): [no] system attributes (yes, y, no, n): [no] fos attributes (yes, y, no, n): [no] y

4. Select 1 (auto mode) when prompted to configure CS_CTL QoS mode.

CSCTL QoS Mode (0 = default; 1 = auto mode): (0..1) [0] 1

5. Reboot the switch or chassis.

6. To verify if auto mode or default mode is set for the chassis, enter the configShow --all command.

root> configshow -all | grep fos.csctlModefos.csctlMode:1

• If auto mode is set, the following should display in the command output:

fos.csctlMode:1

• If default mode is set, the following should display in the command output:

fos.csctlMode:0

To return to default mode, follow the preceding steps, but select 0 (default mode) for CS_CTL QoS mode when modifying fosattributes through the configureChassis command.

NOTEThe configureChassis command does not provide options to enable the CS_CTL QoS mode on individual ports inthe chassis. Once you set the mode on the chassis, you must enable individual ports to use this mode with theportCfgQos command. For details on the configureChassis and portCfgQos commands, refer to the Brocade FabricOS Command Reference for details.

Automating CS_CTL mapping

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 49

Page 50: Brocade Fabric OS FICON Configuration Guide, 8.1

FICON best practicesUse the following best practices for configuring FICON on Brocade switches and directors:

• Configuring Domain ID

Give all switches a unique domain ID and always set the IDs to "insistent."

• Switch ID

Make the Switch ID in the IOCP or HCD the same as the hexadecimal equivalent of the domain ID. Although not required, thiswill make it easier to correlate switches to the IOCP. For example, if the domain ID is 32 (0x20), the Switch ID should be 20.

• Firmware

– Use only qualified firmware for FICON.– All versions of firmware for switches that Brocade Network Advisor will be managing should be in the Brocade Network

Advisor repository.– All switches in a fabric should be at the same code level.– When upgrading code more than two levels, plan the upgrades so that no switch in the fabric is more than one release

apart.– Always check the version of firmware on a switch before putting the switch into production.– If a firmware upgrade is required on a new switch installation, upgrade the firmware before making any configuration

changes.

• CHPID and control unit placement

Place CHPID and control unit connections on the same port card when possible to minimize the impact of a card failure. Thisalso allows for maximum use of Brocade local switching to minimize latency and optimize performance. Consult your BrocadeSE for more specifics on maximizing the benefits of local switching with your specific configuration. This should be done inconjunction with your IOCDS planning.

• Default switch

Leave the default switch FID at 128.

• Logical switches

Always use a logical switch other than the default switch for FICON and do not disable Virtual Fabrics.

• Cascading

When cascading switches, connect ISLs so that a fabric forms before configuring switches for FICON. Merging switches ordirectors into the fabric after configuring FICON is possible, but allowing the fabrics to form before applying the FICON settingssimplifies the configuration process.

• Addressing mode

Always use Mode 1 addressing. You can bind ports to specific addresses and ensure Mode 1 or Mode 2 addressing using theportAddress --bind command. Use the Fabric OS scripts in Sequential address binding on page 107 to help simplifyconfiguration.

• Port fencing

Set the port fencing parameters with the following values:

– C3 Discard Frames - 2 per minute– Invalid Words - 25 per minute– Invalid CRCs - 3 per minute– Link Reset - 2 per minute– Protocol Error - 2 per minute

FICON best practices

Brocade Fabric OS FICON Configuration Guide, 8.1.050 53-1004394-02

Page 51: Brocade Fabric OS FICON Configuration Guide, 8.1

– State Change - 7 per minute

• WWN-based persistent port area IDs (PIDs)

Do not enable WWN-based persistent PIDs for FICON environments.

FICON and FEC-via-TTSAll known devices that support FEC-via-TTS have it enabled by default; however, not all devices that support 16GFC support FEC-via-TTS. FEC is enabled by default on Brocade switches, but FEC-via-TTS is disabled by default.

Enabling or disabling FEC-via-TTS momentarily disables the port. As with any switch action that disables a port, CHIPIDs connected tothat port should be configured offline. Operators should quiesce all traffic or vary offline any link address associated with a port that willbe disabled.

The best practice is to always leave FEC enabled; however, a best practice regarding FEC-via-TTS depends on current and future plansregarding 16GFC attachments. If the only plans for 16GFC attachments are with HBAs and devices that will support FEC-via-TTS, thena data center may choose to establish a best practice to enable it during installation. Otherwise, FEC-via-TTS should be enabled only onports intended for connections to HBAs and devices that also support FEC-via-TTS.

Because enabling FEC-via-TTS is disruptive, the use of this feature should be considered before putting the port into production.

The Gen 5 director must be set to enable FEC with TTS to enable Forward Error Correction on the IBM Channel (FICON Express16S) or16G Control Unit links.

In cases where Gen 5 16G switches are connected to FICON Express8S or 8G CUs, enabling FEC with TTS on 16G F_Ports on theswitch is fine regardless of the device port capability. The idea is that the switch will be ready for the transition to the new FICONExpress16s cards or the 16G Control Unit adapter cards, so there's less disruption when they are added (for example, you don't have toreconfigure the switch port).

FEC-via-TTS is supported on the FICON Express16s channel card, which is used for both FICON and FCP.

This feature is not FICON dependent and is supported in FCP environments such as PPRC.

In Gen 6 directors 32G F_Ports are automatically enabled with FEC based on 32G FC standards, there are no portcfgfec commands toenter if connecting to a 32G device. For Gen 6 directors connected to 16G channels and CUs the 32G switch port will negotiate to 16Gand the behavior is the same as Gen 5 16G and the portcfgfec command is required to enable FEC-via-TTS.

For further information on FEC limitations and instruction on enablement and disablement, refer to the Brocade FICON AdministrationGuide and theBrocade Fabric OS Command Reference, which contain additional information on configuring and using this feature. Also,refer to the Brocade Forward Error Correction (FEC) for Gen 5 Supporting Fabric OS 7.3 and Later Feature Guide.

TABLE 6 Forward Error Correction (FEC) Gen 6 to Gen 5 Device Behavior

SFPs With FEC-via-TTS Enabled With FEC-via-TTS Disabled

16G SFPs 16G FEC-via-TTS 16G

16G SFPs 8G 8G

16G SFPs 4G 4G

32G SFPs 32G FEC 32G FEC

32G SFPs 16G FEC-via-TTS 16G

32G SFPs 8G 8G

FICON best practices

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 51

Page 52: Brocade Fabric OS FICON Configuration Guide, 8.1

Latency guidelineThe maximum supported distance for a FICON channel is 300 km (1.5 msec of delay). Synchronous remote data replication for DASDis generally limited to 100 km (0.5 msec of delay). Asynchronous remote data replication for direct-access storage devices (DASD) andremote tape reads/writes require that the Brocade Advanced Accelerator for FICON feature be used with FCIP. The AdvancedAccelerator for FICON feature emulates control unit response to the channel to improve the performance over distances greater thanlocally attached distances.

Latency guideline

Brocade Fabric OS FICON Configuration Guide, 8.1.052 53-1004394-02

Page 53: Brocade Fabric OS FICON Configuration Guide, 8.1

Configuring FICON CUP• Control Unit Port overview.............................................................................................................................................................................53• Port and switch naming standards for FMS mode............................................................................................................................. 56• Configuring FICON CUP............................................................................................................................................................................... 57• Determining physical port assignment ....................................................................................................................................................58• FMS mode and FICON CUP.......................................................................................................................................................................58• Mode register bit settings...............................................................................................................................................................................61• Setting the MIHPTO value.............................................................................................................................................................................64• Persistently enabling and disabling ports for CUP..............................................................................................................................65

Control Unit Port overviewThe Control Unit Port (CUP) provides an in-band management interface defined by IBM that defines the channel command words(CCWs) that the FICON host can use for managing the switch. The protocol used is the IBM version of the ANSI FC-SB4 single-bytecommand code specification, which defines the protocol used for transporting CCWs to the switch, and for the switch to direct data andstatus back. The CUP is an optional licensed feature.

The CUP provides an interface for host in-band management and collection of FICON switch performance metrics using the ResourceMeasurement Facility (RMF) 74-7 record, more commonly known as the FICON Director Activity Report. Host-based managementprograms manage the FICON switches by sending commands to the switch control unit defined in the I/O Configuration Data Set(IOCDS) and hardware configuration definition (HCD). A FICON switch that supports CUP can be controlled by one or more host-basedmanagement programs or switch consoles. Control of the FICON switches can be shared between these options. CUP commands, orCCWs, monitor and control FICON switch functions. CUP commands are oriented towards management of a single switch, even thoughthe use of CUP in a cascaded FICON environment is fully supported.

NOTEThe CUP port address will always be xxFExx. Port addresses xxFE and xxFF are unavailable to assign to physical ports whenFMS is enabled. For more information, refer to Disabling ports 0xFE and 0xFF on page 57.

FICON Management Server mode (FMS mode) must be enabled on the switch to enable CUP management features. For moreinformation, refer to FMS mode and FICON CUP on page 58.

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 53

Page 54: Brocade Fabric OS FICON Configuration Guide, 8.1

FIGURE 16 FICON CUP

The figure above is a simplified representation of a FICON environment and how CUP fits into that environment. FICON switches withFMS enabled use port address "FE" as the embedded internal port for host connectivity to the CUP, and port address "FF" is reserved.Therefore, addresses "FE" and "FF" cannot be used for assignment to physical ports when FMS is enabled. For more information, referto Disabling ports 0xFE and 0xFF on page 57.

In a FICON environment, only one RMF logical partition (LPAR) should be configured to poll the CUP for port statistical counter data tominimize contention for the CUP device. Host contention for access to the CUP can lead to missing interrupts, potentially causing thehost to box the device. It is a best practice to have more than one CHPID defined as a path to the CUP to ensure redundancy for host-to-CUP connectivity.

FICON CUP restrictionsThe following restrictions apply to Brocade FICON switches having at least 256 ports when FMS mode is enabled and when hostapplications are used for in-band monitoring and management of the switch:

• FICON Management Server mode (FMS mode) must be enabled on the switch to enable CUP management features. Whenthis mode is enabled, Fabric OS prevents configuration requests from out-of-band management interfaces from interfering withhost in-band configuration requests by serializing access to switch parameters.

ATTENTIONOnce FMS mode is enabled, you cannot bind addresses 0xFE or 0xFF to any ports using either the portAddress orwwnAddress commands.

• The switch is advertised to the mainframe by the CUP as having a specific number of ports, which is based on the hardwareplatform. The maximum supported switch size is 256 ports.

• The FE and FF addresses are not components of the Allow/Prohibit Matrixes (as they are called in Brocade Network Advisorand Web Tools), because the Prohibit Dynamic Connectivity Masks (PDCMs) for the ports associated with FE and FF aredefined architecturally and cannot be modified by the user.

Control Unit Port overview

Brocade Fabric OS FICON Configuration Guide, 8.1.054 53-1004394-02

Page 55: Brocade Fabric OS FICON Configuration Guide, 8.1

• The port address name for the internal FE port can be read by the host, and corresponds to the switch name that is set for theswitch. A switch name in Fabric OS must begin with an ASCII alphanumeric character and must contain only alphanumericcharacters, an underscore, a dash, or a period. The switch name can be modified by the host and is subject to the followingrestrictions:

– If the host-assigned FMS name is all numeric, the first character will be converted to an “x” and the remainder of thenumbers remain. For example, the name “12345” will appear as “x2345” in Fabric OS.

– If the first character of an FMS name is not ASCII alphanumeric, that character will be converted to an “x”. For example, thename “_switch_1” will appear as “xswitch_1” in Fabric OS.

– Spaces in the middle of an FMS name will be converted to underscores. Trailing spaces are removed. For example, thename “ switch name 1 ” will appear as “switch_name_1” in Fabric OS.

– If the host-assigned FMS name is all spaces, the Fabric OS value will be set to the format “FID fabid__________”, wherefabid is the fabric ID of the logical switch and the spaces are converted to underscore characters. For example, an FMSname of 10 spaces on fabric ID 32 will appear as “FID32__________” in Fabric OS.

– Any character other than ASCII alphanumeric, underscore, dash, period, and space in the FMS name will be converted to aperiod. For example, the FMS swithch name “switch(1)” will appear as “switch.1.” in Fabric OS.

• Addresses FE and FF are not available for external connections. Before enabling FMS mode, you must manually disablephysical ports associated with FE and FF if there is an active device connected to these ports. If there is an active deviceconnected to either of these ports, Fabric OS will not enable FMS mode until either the port is disabled or the device is takenoffline (logs out of the switch). If there is no active device connected, these ports will automatically disable when FMS enables.Because the ports associated with FE and FF are not available after enabling FMS mode, you should first move any fiberconnected to either of them to another free port. For more information, refer to Disabling ports 0xFE and 0xFF on page 57.

CUP configuration recommendationsThe following are recommendations for setting up FICON CUP:

• Device Type: 2032

Use device type 2032 as the CUP "UNIT" type for the CNTLUNIT and IODEVICE statements in the IOCDS or HCD. AlthoughIBM has developed new machine types for switches, all Brocade FICON directors and switches regardless of model ormanufacture should be configured as 2032.

• Paths

Define at least two CHPIDs as paths to the CUP in the IOCDS Control Unit statement for the switch to ensure redundancy forhost connectivity.

• RMF 74-7 statistics gathering

So as not to overwhelm the CUP, the recommended best practice in a sysplex environment is to disable FICON switch statistics(RMF polling) on all but one host system that has in-band access to the CUP. If no FICON statement is specified, the systemwill gather switch statistics by default so FICON switch statistics should be disabled on all but the system intended to gatherstatistics.

• Missing Interrupt Handler (MIH)

Set the MIHPTO to three minutes (180 seconds).

NOTEAlthough 180 seconds should be the default value set on the switch when FMS mode is enabled, this value may notbe set when older versions of Fabric OS are upgraded. This value must be set on the host system as well.

Control Unit Port overview

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 55

Page 56: Brocade Fabric OS FICON Configuration Guide, 8.1

FICON CUP zoning and PDCM considerationsThe FICON PDCMs control whether or not communication between a pair of ports in the switch is prohibited or allowed. PDCMs are aper-port construct. Each port on the switch has its own PDCM that defines whether communication is allowed between that particularport and each of the other ports in the switch, including itself. The Allow/Prohibit Matrix presents a matrix that allows you to set and clearthe PDCMs for all external ports. If there are any differences between restrictions set up with Brocade Advanced Zoning and PDCMs, themost restrictive rules are automatically applied.

FMS mode must be enabled for the Allow/Prohibit Matrix to be operational, and there must be an active zoning configuration.Domain,Index (D,I) zoning is recommended for FICON, but is not specifically required. Hard-port or hard WWN zoning enforcement isrequired however. PDCMs will not be enforced on ports with session-based enforcement.

If Brocade Advanced Zoning is in use, refer to the Brocade Fabric OS Administration Guide for more information on configuration.

Port and switch naming standards for FMS modeThe FICON management server and the FICON programming interface employ 8-bit EBCDIC characters in port address names andswitch names. Fabric OS employs 7-bit characters. Therefore, when FMS mode is enabled, all characters greater than 0x40 and notequal to 0xFF are allowed in port address names. However, a switch name in Fabric OS must begin with an ASCII alphanumericcharacter and must contain only alphanumeric characters, an underscore, a dash, or a period. Refer to FICON CUP restrictions on page54 for additional information about Fabric OS switch and port name handling.

A host can set a name with nonprintable characters or characters other than the set allowed by Fabric OS. Because of this, it is possiblefor a host to set a name with nonprintable characters or characters not allowed by Fabric OS. If a name contains nonprintable characters,those characters are displayed as dots (...). The following characters are also displayed as dots: semicolon (;), comma (,), equal sign (=),and at sign (@). Refer to EBCDIC Code Page on page 115.

The port name for the CUP must be unique within the chassis.

IMPORTANTChange to FMS mode first and then configure port names. If you configure port names before changing to FMS mode, youwill not see the port names when you do enable FMS mode.

FICON CUP Fabric OS commandsThe table below summarizes the Fabric OS CLI commands related to managing FICON CUP. For detailed information on thesecommands, refer to the Brocade Fabric OS Command Reference.

TABLE 7 Fabric OS commands related to FICON CUP

Command Description

ficonCupSet fmsmode Sets FICON Management Server mode on or off for the switch.

ficonCupSet crp Sets the current reporting path (CRP).

ficonCupSet MIHPTO Sets the Missing Interrupt Handler Primary Timeout value.

ficonCupSet modereg Sets the mode register bits for the switch.

ficonCupSet UALERT_ALL | UALERT_HSC | UALERT_FRU |UALERT_INVATT

Sets which alert types are enabled for display for the switch.

ficonCupShow lp Displays the host logical path information for the CUP.

ficonCupShow fmsmode Displays the FICON Management Server enabled or disabled state for theswitch.

ficonCupShow modereg Displays the mode register bit settings for the switch.

Port and switch naming standards for FMS mode

Brocade Fabric OS FICON Configuration Guide, 8.1.056 53-1004394-02

Page 57: Brocade Fabric OS FICON Configuration Guide, 8.1

TABLE 7 Fabric OS commands related to FICON CUP (continued)

Command Description

ficonCupShow UALERT_MODE Displays the UALERT mode settings for the switch.

Configuring FICON CUPTo set up FICON CUP, use the following procedure.

1. Connect to the switch and log in using an account assigned to the admin role.

2. Verify that the switch or director has been set up according to the instructions in Configuring switched point-to-point FICON onpage 39 and, if in a cascaded topology, Configuring cascaded FICON on page 44.

3. For switches with at least 256 ports installed, use the portDisable command to disable ports 0xFE and 0xFF. Refer to Disabling ports 0xFE and 0xFF on page 57 for more information.

4. Enter the ficonCupShow fmsmode command to verify if FMS mode is disabled.

5. Take the appropriate action based on whether FMS mode is enabled or disabled:

• If FMS mode is disabled, proceed to step 6.

• If FMS mode is enabled, disable it using the ficonCupSet fmsmode disable command.

ATTENTIONIf FMS mode is already enabled, disabling it may be disruptive to operations because ports that were previouslyprohibited from communicating will be allowed to do so because prohibits are no longer enforced.You must disableFMS mode to continue setting up CUP.

6. Install a CUP license on the switch. For more information on installing a license, refer to the Brocade Fabric OS AdministrationGuide.

7. Be sure that the switch meets requirements for a high-integrity fabric, and then enable High-Integrity Fabric (HIF) mode usingthe configure command. For details, refer to Meeting high-integrity fabric requirements on page 35.

NOTEYou must enable HIF mode to enable FMS mode.

8. Enter the ficonCupSet modereg command to set the mode register bits. Refer to Mode register bit settings on page 61 formore information.

9. Verify with the systems programmer that the CUP ports, and the switches and directors, are defined properly in their IOCDS.

FICON ports are defined as part of the sysgen process. The z/OS systems programmer can verify if the CUP ports are definedproperly.

Disabling ports 0xFE and 0xFFAddresses 0xFE and 0xFF are not available for external connections, so they must be disabled to configure FICON CUP. Note that inlogical switches or in cases where port address binding or port swapping has occurred, addresses 0xFE and 0xFF are not necessarilytied to specific physical ports, such as 254 and 255. After FMS mode has been successfully enabled, these two ports remain disabledand cannot be used either as an F_Port or an E_Port. Because these ports are not available after enabling FMS mode, you should firstmove any cable connected to either of them to another free port.

Configuring FICON CUP

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 57

Page 58: Brocade Fabric OS FICON Configuration Guide, 8.1

You must manually disable ports associated with 0xFE and 0xFF to enable FMS mode only if there is an active device connected tothese ports. Otherwise, if physical ports have been assigned these addresses by default prior to enabling FMS mode, they will beautomatically disabled when FMS mode is enabled.

On Brocade DCX 8510 Directors, when Virtual Fabrics is not enabled or addressing Mode 1 is not used, you must disable physicalports associated with addresses 0xFE and 0xFF (if ports were assigned by default) before enabling FMS mode. Note that physical portsassociated with 0xFE and 0xFF may be different in logical switches using Mode 1 addressing. Disable these addresses manually if thereis an active device attached. If an active device is not attached to the ports, they will be disabled automatically when you enable FMSmode.

You can only disable ports if there is a card present in the slot.

If FMS mode is enabled in a logical switch with Mode 2 addressing, the physical ports with addresses 0xFE and 0xFF are essentiallywasted and may be used better elsewhere. This is the same for a switch with Mode 1 addressing where all available addresses are used,and thus no addresses are available for binding to these ports. On logical switches with Mode 1 addressing, such ports may bereclaimed for external connections by binding a new address to the port, if unused addresses are available.

Ports that are disabled for having addresses "FE or "FF" when FMS mode is enabled are not eligible for port swapping.

Configuring FICON CUP in Virtual FabricsBeginning with Fabric OS 8.1.0, a FICON Logical Switch feature provides simplified configuration of logical switches for use in FMSmode. A -ficon option is provided for the lscfg command, which creates a logical switch with FICON configurations. This includes suchconfiguration attributes as IDID, fabric binding, high integrity fabric mode, DBR routing policy, and 256-area limited addressing mode.

For details on FICON and FICON CUP in Virtual Fabrics, refer to FICON and FICON CUP in Virtual Fabrics on page 45.

Determining physical port assignmentThe following steps help you identify the physical port from CUP_PortAddress.

1. Connect to the switch and log in using an account assigned to the admin role.

2. Set the context to the appropriate logical switch.

3. Enter the switchShow command.

4. Look for the PID in the Address column.

5. Read across to the Slot and Port columns to find the physical port number.

For more information and example output from the switchShow command, refer to the Brocade Fabric OS CommandReference.

FMS mode and FICON CUPEnabling FICON Management Server (FMS) mode in a Fabric OS environment allows the switch to behave within the context of theFICON architecture and creates a FICON director. The FMS mode setting can be changed whether the switch is disabled or enabled. IfFMS mode is changed while the switch is enabled, a device reset is performed for the control device and an RSCN is generated with PID0xDDFE00, where 0xDD is the domain ID of the switch.

IMPORTANTChange to FMS mode first and then configure port names. If you configure port names before changing to FMS mode, youwill not see the port names when you do enable FMS mode.

Determining physical port assignment

Brocade Fabric OS FICON Configuration Guide, 8.1.058 53-1004394-02

Page 59: Brocade Fabric OS FICON Configuration Guide, 8.1

The following are required on the switch to enable FMS mode:

• For Fabric OS 7.0 and later, a FICON CUP license.

• For Fabric OS 7.3 and later, High-Integrity Fabric (HIF) mode must also be enabled.

Changing FMS mode from disabled to enabled triggers the following events:

• Access to switch configuration parameters is serialized.

• The active CUP configuration data, including the following, is initialized according to the IPL file:

– Port and switch names– Port "Block" and "Unblock" values– PDCM values

• Brocade Advanced Zoning, if used, continues to be enforced. If there are any differences between the port-to-port connectivityrestrictions defined by Brocade Advanced Zoning and those defined by PDCMs, the most restrictive rules are automaticallyapplied.

• RSCNs are sent to devices if PDCM changes result in changes to connectivity between a set of ports that are zoned together.

• An RSCN for the CUP is generated to all mainframe FICON and FCP channels in the fabric.

Changing FMS mode from enabled to disabled triggers the following events:

• A device reset is performed on the control device.

• Prohibits are no longer enforced.

• RSCNs may be generated to some devices if PDCM removal results in changes to connectivity between a set of ports that arezoned together.

• If a given port was set to "Block" or "Unblock," that port remains disabled or enabled.

• The switch interface for host in-band management is no longer enabled.

• An RSCN for the CUP is generated to all mainframe FICON and FCP channels in the fabric.

NOTEFMS mode cannot be enabled in a Virtual Fabrics environment when a logical switch is using Mode 0 addressing.

Fabric OS command limitations and considerationsThis section describes limitations and considerations for using Fabric OS commands with FMS mode enabled. For a list of Fabric OScommands related to FICON, refer to FICON commands on page 30.

• The following Fabric OS commands return a "switch busy" response if they are issued when the host-based managementapplication is performing a write operation. This prevents interference from out-of-band management applications when a host-based management program is being used to administer the switch.

– bladeEnable– portName– portShow– portSwap– switchCfgPersistentDisable– switchDisable– switchEnable– switchName– switchShow– portDisable

FMS mode and FICON CUP

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 59

Page 60: Brocade Fabric OS FICON Configuration Guide, 8.1

– portEnable

• You cannot use the portCfgPersistentEnable and portCfgPersistentDisable commands to persistently enable and disableports. Refer to Persistently enabling and disabling ports for CUP on page 65 for instructions.

• Specifying a range of ports for the portName command will fail except for the first port in the range. FMS mode does notpermit multiple ports with the same name.

Displaying FMS modeUse the ficonCupShow fmsmode command to display the enabled or disabled state of FMS mode for the switch.

Enabling FMS modeBefore enabling FMS mode, you must enable attributes for high-integrity fabrics and HIF mode. For more information, refer to Meetinghigh-integrity fabric requirements on page 35.

IMPORTANTChange to FSM mode first and then configure port names. If you configure port names before changing to FMS mode, youwill not see the port names when you do enable FMS mode.

1. Connect to the switch and log in using an account assigned to the admin role.

2. Enter ficonCupSet fmsmode enable.

3. Enter the ficonCupShow fmsmode command to verify that FMS mode is enabled.

Disabling FMS modePerform the following steps to disable FMS mode.

1. Connect to the switch and log in using an account assigned to the admin role.

2. Enter ficonCupSet fmsmode disable.

3. Enter the ficonCupShow fmsmode command to verify that FMS mode is disabled.

FMS mode and FICON 0xFE or 0xFF ports0xFE and 0xFF addresses are assigned to the CUP and cannot be associated with any physical port with FMS mode enabled. Therefore,note the following when using FMS mode:

• You must manually disable ports associated with 0xFE and 0xFF using the portDisable command before you can enable FMSmode, but only if there is an active device connected to these ports. Otherwise, these ports will disable automatically when FMSis enabled. Refer to Disabling ports 0xFE and 0xFF on page 57 for more information.

• Enabling FMS mode disables all ports with 0xFE and 0xFF addresses.

• If you enable FMS mode, you will get port-disable messages for physical ports with 0xFE or 0xFF FICON addresses.

• You cannot enable FMS mode when physical ports have 0xFE or 0xFF FICON addresses with live devices connected.

• Port swapping and blade swapping cannot be performed on ports where FMS mode is enabled and ports have either 0xFF or0xFE FICON addresses.

FMS mode and FICON CUP

Brocade Fabric OS FICON Configuration Guide, 8.1.060 53-1004394-02

Page 61: Brocade Fabric OS FICON Configuration Guide, 8.1

Upgrade considerationsTake the CUP offline before performing a firmware upgrade or downgrade operation. This means you should vary the CUP offline at thehost. The upgrade can disrupt host communication with the CUP, especially for active RMF sessions.

For Fabric OS 7.0 and later, a FICON CUP license is required to enable FMS mode. Consider the following when using FMS mode andupgrading from Fabric OS 7.3.0:

• Upgrading with FMS mode enabled from Fabric OS 7.2.1 or prior to 7.3.0 or later requires that the following attributes beconfigured. If FMS mode is enabled on the switch and these are not configured, the upgrade will fail. Refer to AdministeringFICON Fabrics on page 35 for configuration information.

– An insistent domain ID (IDID)– A valid SCC_Policy (configured and activated)– A Fabric Wide Consistency Policy, where SCC:S (Strict mode)

NOTEYou enable the Fabric Wide Consistency Policy on the fabric once the switch joins the fabric.

– HIF mode enabled.

• The following Gen 6 chassis are supported in Fabric OS 8.1.0.

– Brocade G620– Brocade X6-4– Brocade X6-8

Port swap limitationsThe following limitations apply to swapping ports or blades using CLI commands or Brocade Network Advisor options. Note that someof these constraints apply to logical switches in general, and are not necessarily limited to switches enabled for FMS mode.

• A port can be swapped with only one other port at a time.

• Ports cannot be swapped if one of the ports has a value of 0xFE or 0xFF in the Fibre Channel Port ID (FC ID) field.

• The logical switch addressing mode cannot be changed if the logical switch contains swapped ports.

• Logical switch configuration (LSCFG) operations cannot operate on swapped ports.

• You cannot swap ports that are in two different logical switches.

• Swapped ports cannot be moved out of a logical switch.

• The portaddress - -bind command is not allowed on swapped ports.

• The wwnaddress - -bind command is not recommended on swapped ports.

Mode register bit settingsA mode register controls the behavior of the switch with respect to CUP itself, and with respect to the behavior of other managementinterfaces. The FICON CUP mode register bits are described in the table below.

TABLE 8 FICON CUP mode register bits

ACP Alternate control prohibited. Because the Fabric OS CLI, Web Tools, andBrocade Network Advisor are considered to be switch consoles, this bithas no effect on their operations. Attempts to set CUP parameters throughSNMP are denied when this bit is set on. The default setting is 1 (on).

Mode register bit settings

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 61

Page 62: Brocade Fabric OS FICON Configuration Guide, 8.1

TABLE 8 FICON CUP mode register bits (continued)

ASM Active=Saved mode. When this bit is set on, all CUP configurationparameters are persistent, meaning that they will be saved in nonvolatilestorage in the IPL file that is applied upon a cold reboot or a power cycle.The default setting is 1 (on).

DCAM Switch clock alert mode. When this bit is set on, a warning is issued whenthe date, tsClockServer, or tsTimeZone commands are entered to set thetime and date on the switch. The default setting is 0 (off).

HCP Host control prohibited. When this bit is set on, the host is not allowed toset CUP parameters. The default setting is 0 (off).

POSC Programmed offline state control. If the bit is set (=1), the command fromthe host sets the switch offline. If the bit is off (=0), the command from thehost is rejected and the switch does not go offline. The default setting is 1(on).

UAM User alert mode. When this bit is set on, a warning is issued when anaction is attempted that will write CUP parameters on the switch; forexample, changing the block/unblock state of a port, the portname, or aPDCM by means of the out of band interfaces. This bit can only bemodified in-band by the host. The default setting is 0 (off).

When the POSC bit=1, the FICON host is allowed to set the switch offline. The bit is set to 1 by default. If you do not want to allow thehost to have permission to set the switch offline, the bit should be turned off. The state of this bit cannot be changed by the FICON host;it can only be changed through the command line.

The ficonCupShow modereg command displays the mode register bit settings for the switch. A display of 0 indicates that the moderegister bit is set to off; 1 indicates that the bit is set to on. To display the mode register bit HCP for the switch, enter the command asshown in the following example:

switch:admin> ficoncupshow modereg HCP

For more information on this command and an example of command output, refer to the Brocade Fabric OS Command Reference.

FICON file access facilityThe FICON file access facility (FAF) stores configuration files. This includes the initial program load (IPL) and other configuration files.Fabric OS saves the IPL and all other configuration files on the switch. The FAF supports a maximum of 16 configuration files, includingthe IPL file.

You can upload the configuration files saved on the switch to a management workstation using the configUpload command.

For more information on the configUpload process, refer to the configuration file backup section in the Brocade Fabric OSAdministration Guide.

Configuration files uploadedWhen you execute the configUpload command, all the files saved in the file access facility are uploaded to a management workstation.There is a section in the uploaded configuration file labeled [FICU SAVED FILES] where the files are stored in an encoded format.

Configuration files downloaded with Active=Saved mode enabledWhen the Active=Saved mode register bit is set to on, the contents of existing files saved on the switch, also present in the FICON_CUPsection of the configuration file, are overwritten.

Mode register bit settings

Brocade Fabric OS FICON Configuration Guide, 8.1.062 53-1004394-02

Page 63: Brocade Fabric OS FICON Configuration Guide, 8.1

The files in the [FICU SAVED FILES] section of the configuration file, which are not currently on the switch, are saved on the switch.

The IPL file is not replaced because Active=Saved mode is enabled. A warning message is displayed in the event log to warn users thatthe IPL will not be overwritten.

Configuration files downloaded with Active=Saved mode disabledThe contents of existing files saved on the switch, which are also present in the [FICU SAVED FILES] section, are overwritten.

When the Active=Saved mode register bit is set to off, the contents of existing files saved on the switch, also present in the [FICU SAVEDFILES] section of the configuration file, are overwritten.

The IPL is replaced because Active=Saved mode is disabled.

Sample IOCP configuration fileThe channel subsystem controls communication between a configured channel, the control unit, and the device. The I/O ConfigurationData Set (IOCDS) defines the channels, control units, and devices to the designated logical partitions (LPARs) within the server; this isgenerated using the Input/Output Configuration Program (IOCP). The IOCP statements are typically built using the hardwareconfiguration definition (HCD). The interactive dialog is used to generate the Input/Output Definition File (IODF), invoke the IOCP, andsubsequently build the production IOCDS.

Each FICON switch in a fabric must have a unique domain ID and a unique switch ID. The switch ID used in the IOCP definitions can beany value between x00 to xFF. The domain ID range for switches is hex x01 to xEF or decimal 1 to 239. When defining the switch IDs inthe IOCP definitions, ensure that you use values within the FICON switch’s range.

The switch ID must be assigned by the user and must be unique within the scope of the definitions (IOCP and HCD).

The domain ID is assigned by the manufacturer and can be customized to a different value. It must be unique within the fabric.

Brocade recommends that the switch ID (IOCP or HCD) be set to the same value as the domain ID of the FICON switch, which isdefined to the switch at installation time. This simplifies the configuration and reduces confusion by having a common designation acrossall definitions.

For more information on switch numbering, refer to the IBM Redbook FICON® Planning and Implementation Guide (SG24-6497-03).

In the following sample IOCP configuration file, the UNIT value for FICON CUP definitions is 2032 for any FICON switch regardless ofvendor or platform. All Brocade switches require UNIT=2032 for the CUP definition. All domain IDs are specified in hex values in theIOCP (and not in decimal values).

*------------------------------------------------------------------ * Brocade Domain_ID=0x3c0000*------------------------------------------------------------------ CNTLUNIT CUNUMBR=0D8,UNITADD=00,UNIT=2032, PATH=(50,51), LINK=(60FE,60FE) IODEVICE ADDRESS=(0D8,1),CUNUMBR=0D8,UNIT=2032,STADET=Y,UNITADD=00 *--------------------------------------------------------------- CNTLUNIT CUNUMBR=0D9,UNITADD=00,UNIT=2032, PATH=(8A,8B), LINK=(22FE,22FE) IODEVICE ADDRESS=(0D9,1),CUNUMBR=0D9,UNIT=2032,STADET=Y,UNITADD=00 *------------------------------------------------------------------ * Brocade Domain_ID=0x190000*------------------------------------------------------------------ * CNTLUNIT CUNUMBR=0DB,UNITADD=00,UNIT=2032, PATH=(5A,5B), LINK=(25FE,25FE) IODEVICE ADDRESS=(0DB,1),CUNUMBR=0DB,UNIT=2032,STADET=Y,UNITADD=00

Mode register bit settings

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 63

Page 64: Brocade Fabric OS FICON Configuration Guide, 8.1

* *------------------------------------------------------------------

Considerations for setting mode register bitsConsider the following when changing mode register bits:

• The UAM bit can only be set by host programming.

• All mode register bits except UAM are saved across power cycles; the UAM bit is reset to 0 following a power-on.

• Mode register bits can be changed when the switch is offline or online. If the ACP or HCP bits are changed when the switch isonline, they will take effect any time between the completion of the current command and the end of the CCW command chain(or the next alternate manager operation).

Setting the mode register bitsPerform the following steps to set mode register bits:

1. Connect to the switch and log in using an account assigned to the admin role.

2. Enter the ficonCupSet modereg command to set the FICON CUP mode register bits for the local switch.

Example of setting the mode register bit HCP to off

switch:admin> ficoncupset modereg HCP 0

Example of setting the mode register bit ACP to on

switch:admin> ficoncupset modereg ACP 1

Setting the MIHPTO valueThe missing interrupt handler primary timeout (MIHPTO) value determines how long the channel will wait before timing out an expectedresponse from the CUP. This value is part of the data returned to the host when it reads the configuration data, but the host is under noobligation to adhere to this value. The actual value that the host will use before detecting a timeout can be set by the system programmer(overriding the value returned by the switch).

Use the ficonCupSet MIHPTO command to increase, decrease, or display the MIHPTO value that the CUP returns to the host whenconfiguration data is read. Changing the MIHPTO value requires that the CUP control device be varied offline from the host, as the hostwill not automatically be notified when the value is changed. The host will normally read the new value using the Read Configuration Datacommand when the CUP is varied back online.

The MIHPTO setting will persist across switch reboots, power on reset (POR), and failovers. Setting this value to the upper end of thetime range will allow the CUP more time to process requests during intervals of peak usage, without causing the host to detect timeouts.It is recommended that the value be set to 180 seconds (default).

Complete the following steps to set the MIHPTO value.

1. Connect to the switch and log in using an account assigned to the admin role.

2. Enter the ficonCupSet MIHPTO command and set the value from 15 through 600.

Setting the MIHPTO value

Brocade Fabric OS FICON Configuration Guide, 8.1.064 53-1004394-02

Page 65: Brocade Fabric OS FICON Configuration Guide, 8.1

Persistently enabling and disabling ports for CUPWhen FMS mode is enabled, you cannot use the portCfgPersistentEnable and portCfgPersistentDisable commands to persistentlyenable and disable ports. Instead, use the following procedure.

1. Connect to the switch and log in using an account assigned to the admin role.

2. Enter the ficonCupShow modereg command to display the mode register bit settings.

3. Verify that the ASM bit is set on (1).

4. If the ASM bit is set off (0), enter the ficonCupSet modereg asm 1 command to set the bit to on.

For more information on this command and an example of command output, refer to the Brocade Fabric OS CommandReference.

5. Use the portEnable and portDisable commands to enable and disable ports as necessary.

The ports remain enabled or disabled after a switch reboot.

switch:admin> portenable 1/1

Refer to Disabling and enabling ports - persistent states on page 47 for more information on enabling and disabling ports and persistentstates.

Persistently enabling and disabling ports for CUP

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 65

Page 66: Brocade Fabric OS FICON Configuration Guide, 8.1

Brocade Fabric OS FICON Configuration Guide, 8.1.066 53-1004394-02

Page 67: Brocade Fabric OS FICON Configuration Guide, 8.1

Administering FICON Extension Services• Platforms supporting FICON extension over IP...................................................................................................................................67• FICON emulation overview...........................................................................................................................................................................67• FCIP configuration requirements for FICON extension....................................................................................................................72• Configuration requirements for switches and directors..................................................................................................................... 72• Configuring FICON emulation..................................................................................................................................................................... 73• Modifying FICON emulation........................................................................................................................................................................ 75• Displaying FICON emulation performance statistics......................................................................................................................... 75

Platforms supporting FICON extension over IPIn Fabric OS 8.1.0, FICON extension over IP is supported on the following platforms:

• Brocade 7840 Extension Switch.

– The Brocade 7840 switch has 24 physical Fibre Channel ports, two 40 GbE ports, and 16 1/10 GbE ports.

• Brocade DCX 8510-4 with FX8-24 extension blade

• Brocade DCX 8510-8 with FX8-24 extension blade

– The FX8-24 blade has 12 Fibre Channel ports, ten 1 GbE ports, and two 10 GbE ports.

• Brocade X6-4 with SX6 blade

• Brocade X6-8 with SX6 blade

– The SX6 blade has 16 FC ports, two 40G GbE ports, and 16 1/10 GbE ports.

FICON emulation overviewFICON emulation supports FICON traffic over IP WANs using FCIP as the underlying protocol. FICON emulation can be extended tosupport performance enhancements for specific applications through use of the following licensed features:

• IBM z/OS Global Mirror emulation (formerly eXtended Remote Copy or XRC)

• FICON tape emulation (tape read and write pipelining)

Brocade extension products use the following licenses:

• Advanced Accelerator for FICON (FTR_AFA)

Allows interoperability for the following features and products:

– Write and read tape pipelining– Teradata emulation– IBM z/OS Global Mirror emulation

This license contains the following options:

– Capacity 1– Consumed 1– Configured Blade Slots 1

This is a slot-based license for extension switches and blades.

• Advanced Extension (FTR_AE)

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 67

Page 68: Brocade Fabric OS FICON Configuration Guide, 8.1

Required for multiple-circuit tunnels, FCIP Trunking, Adaptive Rate Limiting, and other FCIP features. Advanced Extension isnot required for FICON Acceleration features, but multiple circuits could be used in a FICON emulation environment. This is aslot-based license for extension switches and blades.

This license contains the following options:

– Capacity 1– Consumed 1– Configured Blade Slots 1

ATTENTIONUse the licenseShow command to verify the licenses are installed on the hardware at both ends of the FCIP tunnel. For slot-based licenses, use the licenseSlotCfg --show command to display all slot-based licenses in a chassis.

For more information on licensing, such as licensing required per product, refer to the Fabric OS Software Licensing Guide.

IBM z/OS Global Mirror emulationThe IBM z/OS Global Mirror (formerly eXtended Remote Copy or XRC) application is is an IBM zSystems mainframe application thatimplements host-based asynchronous disk mirroring, as supported by the disk hardware architecture and a host software componentcalled the System Data Mover (SDM). Within this application, a specific application channel program invokes a well-constrained type ofchannel program called a Read Record Set (RRS) channel program. This channel program is used to read only updates to disk volumes(record sets) after they have been brought into synchronization with the aim of writing only record updates to a mirrored volume. The RRSchannel program accesses primary volumes from a remote host for the purpose of reading these record sets (updates) supported byIBM z/OS Global Mirror emulation. The Brocade emulation feature thus allows the primary volume to be located at a distance from itsmirrored secondary without encountering performance degradation associated with IU pacing.

FICON emulation overview

Brocade Fabric OS FICON Configuration Guide, 8.1.068 53-1004394-02

Page 69: Brocade Fabric OS FICON Configuration Guide, 8.1

FIGURE 17 IBM z/OS Global Mirror emulation

The figure above shows how the primary volume and the secondary mirrored volume may be geographically distant across an IP WAN.Updates to the primary disk volumes are completed by the production applications and then staged in a control unit cache to be read bySDM. SDM then writes the updates to the secondary volumes. The latency introduced by greater distance creates delays in anticipatedresponses to certain commands. The FICON IU pacing mechanism may interpret delays as an indication of a large data transfer thatcould monopolize a shared resource and react by throttling the I/O. IBM z/OS Global Mirror emulation provides local responses toremote hosts, eliminating distance-related delays. You can use the Brocade 7840 switch, the FX8-24 blade, or the SX6 blade withFICON emulation.

For information on configuring IBM z/OS Global Mirror emulation, refer to Configuring FICON emulation on page 73. For informationon displaying IBM z/OS Global Mirror emulation status and statistics, refer to Displaying FICON emulation performance statistics onpage 75.

For z/OS Global Mirror implementations with cascaded FICON, it is recommended that device based routing (DBR) be used for therouting policy on the ISLs instead of PBR.

FICON Emulation features operate in DBR or PBR mode. FICON emulation can tolerate EBR, but WAN consumption is not affected forFICON flows with EBR enabled.

Exchange-based routing, which IBM calls FICON Dynamic Routing (FIDR), is only qualified on the IBM z13-class (and higher) platforms.If you are running IBM z13 fabrics with FDIR, you must isolate those fabrics from the earlier IBM platforms in your fabric. The earlierIBM platforms only use port-based or device-based routing.

It is recommended that the z13 be connected to a Brocade Gen 5 or Gen 6 switch through the use of FICON Express 16S channelsand for the disk storage to utilize 16G control unit adapters. IBM Health Checker for z/OS is designed to detect and advise the user ifany down-level hardware or drivers are operating in the system. Using logical switches is one approach for providing this isolation.

FICON emulation overview

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 69

Page 70: Brocade Fabric OS FICON Configuration Guide, 8.1

Tape emulationTape emulation (also called tape pipelining) refers to the concept of maintaining a series of I/O operations across a host-WAN-deviceenvironment and should not be confused with the normal FICON streaming of CCWs and data in a single command chain. Normally,tape access methods can be expected to read data sequentially until they reach the end-of-file delimiters (tape marks) or to write datasequentially until either the data set is closed or an end-of-tape condition occurs (multi-volume file). The emulation design strategyattempts to optimize performance for sequential reads and writes, while accommodating any other nonconforming conditions in a lowerperformance non-emulating frame shuttle. Because write operations can be expected to comprise the larger percentage of I/Ooperations for tape devices (for archival purposes), they are addressed first.

For information on configuring tape emulation, refer to Configuring FICON emulation on page 73. For information on displaying tapeemulation status and statistics, refer to Displaying FICON emulation performance statistics on page 75.

Tape Write PipeliningFICON Tape Write Pipelining improves performance for a variety of applications when writing to tape over extended distances. FICONTape Write Pipelining locally acknowledges write data records, enabling the host to generate more records while previous records are intransit across the IP WAN. If an exception status is received from the device, the writing of data and emulation is terminated.

FIGURE 18 Tape Write Pipelining

FICON emulation overview

Brocade Fabric OS FICON Configuration Guide, 8.1.070 53-1004394-02

Page 71: Brocade Fabric OS FICON Configuration Guide, 8.1

Tape Read PipeliningFICON Tape Read Pipelining improves performance for certain applications when reading from FICON tape over extended distances.FICON Tape Read Pipelining reads data on the tape directly from the tape device. Reading of the tape continues until a threshold isreached. The buffered data is forwarded to the host in response to requests from the host. When the host sends the status accept frameindicating that the data was delivered, the read processing on the device side credits the pipeline and requests more data from the tape. Ifan exception status is received from the device, the reading of data and emulation is terminated.

FIGURE 19 Tape Read Pipelining

FICON and ESCON conversion supportBrocade extension switches and blades can operate with the Prizm FICON to ESCON converter and ESBT Bus/Tag Interface Modulefor Prizm from Optica Technologies, Inc. This allows FICON tape emulation when connecting to ESCON and to bus and tag devicesincluding 3480, 3490, and 3590 controllers. Discovery of these devices is automatic when FICON emulation is enabled on an FCIPtunnel.

FICON emulation overview

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 71

Page 72: Brocade Fabric OS FICON Configuration Guide, 8.1

Teradata emulationTeradata emulation reduces latency on links to Teradata Warehouse systems caused by WAN propagation delays and bandwidthrestrictions. It accomplishes this by processing selected FICON commands for associated control, data, and status responses. FICONTeradata emulation is only supported between FICON channels and FICON Teradata controllers.

For write commands, control and status frames are generated for the host side of the WAN in order to pipeline write commands over thesame or multiple exchanges. Such pipelined write commands and their data are queued at the device side of the WAN for asynchronoustransfer to the device.

For read operations received by the device side of the WAN, a number of anticipatory read commands are autonomously generated andtransferred to the device. The data and status associated with such commands are sent to the host side of the WAN and queued inanticipation of host-generated read commands.

FICON emulation for Teradata sequences over an FCIP tunnel is controlled by using FICON emulation feature flags in the PortCfgfciptunnel command associated with the FCIP tunnel.

For information on configuring Teradata emulation or tape emulation, refer to Configuring FICON emulation on page 73. Forinformation on displaying Teradata emulation status and statistics, refer to Displaying FICON emulation performance statistics on page75.

FCIP configuration requirements for FICON extensionFICON extension uses FCIP for transport. FCIP interfaces and tunnels used for FICON extension must be defined prior to configuringFICON emulation. Ports should remain persistently disabled until after FICON emulation is configured. Refer to the Brocade Fabric OSExtension Configuration Guide for information about configuring FCIP interfaces, tunnels, and circuits.

Configuration requirements for switches and directorsConsider these configuration issues when an extension switch or blade is connected to a switch or director in a FICON configuration:

• If you are creating a cascaded configuration (connecting two switches or directors with different domain IDs), be aware of IBMrequirements for high integrity fabrics.

• In configurations with ISLs, ensure that ISL paths are properly configured to meet FICON emulation requirements for adeterminate path for FICON commands and responses.

• FICON networks with FCIP emulating and non-emulating tunnels do not support Exchange Based Routing (aptpolicy 3)configurations.

• When running FICON emulation features over an FCIP tunnel, it is highly recommended that both switches providing the FCIPtunnel use the same Fabric OS release level.

High-integrity fabric requirements for cascaded configurationsYou can use extended FICON connections between or through Brocade extension switches or blades to create a cascaded FICONswitched configuration. The fabric must be set up to provide a secure, or high integrity, fabric to enable this configuration to operate in anIBM environment. Refer to Meeting high-integrity fabric requirements on page 35 for an explanation of these requirements.

FCIP configuration requirements for FICON extension

Brocade Fabric OS FICON Configuration Guide, 8.1.072 53-1004394-02

Page 73: Brocade Fabric OS FICON Configuration Guide, 8.1

FICON emulation requirement for a determinate pathFICON emulation processing creates FICON commands and responses on extended CHPIDs, and intercepts all exchanges between achannel and a CU. For FICON emulation processing to function correctly, all the exchanges between a channel and a CU must take asingle tunnel path.

There are two ways to ensure a determinate path for FICON commands and responses:

• Define only one FCIP tunnel between sites.

• When multiple FICON emulation FCIP tunnels are required between a pair of chassis, define a new logical switch pair (onelogical switch in each chassis) for each tunnel. The logical switches and the FCIP tunnel in those logical switches will provide adeterminant path for all FICON sequences between the host and device ports in that logical switch pair.

• When it is not possible to create logical switches, use Traffic Isolation Zones (TI Zones) to define the host and device ports thattraverse each required FCIP tunnel.

FCIP tunnel between sitesBrocade extension switches and blades use FCIP trunking features to overcome the limitation of one Ethernet interface, one IP address,and one FCIP tunnel. In Fabric OS v6.3 and later, an FCIP tunnel is created with multiple FCIP circuits over different IP interfaces toprovide WAN load balancing and failover recovery in the event of a limited WAN outage. This provides a highly redundant WANconfiguration for all FICON or FCP emulation technologies with Fabric OS. The figure below shows that a tunnel can have up to fourcircuits per GbE port.

FIGURE 20 FCIP tunnel and circuits

Configuring FICON emulationBefore you configure FICON emulation, you need to understand the available options, and whether those options are to be implementedin your installation. If FICON emulation is new to you, refer to FICON emulation overview on page 67.

Configuring FICON emulation

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 73

Page 74: Brocade Fabric OS FICON Configuration Guide, 8.1

ATTENTIONMake sure both ends of the tunnel match before bringing it up or the tunnel will not form.

1. Verify that the following ports are opened in the IP network for FCIP:

• TCP 3225--FC Class F frames

• TCP 3226--FC Class 2 and 3 frames

• TCP 3227--Brocade proprietary IP path performance utility (ipPerf)

• IP protocol 6--Transmission Control Protocol

• IP protocol 108--IP Payload Compression Protocol (IPComp)

2. Verify that the firmware is Fabric OS v6.1.0e or later using the firmwareShow command.

3. Verify the correct licenses are installed using the licenseShow command. You can verify all slot-based licenses in a chassisusing the licenseSlotCfg --show command.

4. Verify the switches have been set up according to the instructions in Configuring switched point-to-point FICON on page 39and Configuring cascaded FICON on page 44.

5. Configure the FCIP tunnel according to the Brocade Fabric OS Extension Configuration Guide.

6. Enable compression on the FCIP tunnel.

7. Configure FICON emulation on the tunnel that is solution-specific. Refer to Configuration examples on page 74.

8. If you have more than one tunnel being configured, take the following actions:

• If there is more then one tunnel to the same destination and their tunnel commit rates are different, configure the link costvalues the same.

• Configure TI Zones ensuring that if there are multiple E_Ports of different link costs, from one switch to another switchwithin TI Zones, configure the link cost values to be the same.

Configuration examplesYou can configure FICON emulation with such features as Teradata read, Teradata write, tape write pipelining, tape read pipelining, TIN/TIR, device level ACK, and IBM z/OS Global Mirror (formerly XRC) emulation enabled.

Following are examples for enabling IBM z/OS Global Mirror, Teradata emulation, tape read and write pipelining.

portcfg fciptunnel 23 modify --ficon-xrc 1 portcfg fciptunnel 23 modify --ficon-tera-read 1 1 --ficon-tera-write 1 portcfg fciptunnel 23 modify --ficon-tape-write 1 --ficon-tape-read 1

Note that the preceding commands assume that an FCIP tunnel was a enabled for FICON operation by using the -F or --ficon option.Following are two examples:

• To create a empty tunnel as a FICON FCIP tunnel, use the following command:

portcfg fciptunnel 1/17 create -F -c 1

• To modify a tunnel to be FICON enabled and with hardware compression enabled, use the following command:

portcfg fciptunnel 1/17 modify -c 1 -F 1

Displaying FICON emulation configuration valuesFor Brocade extension switches or blades, use the portShow fciptunnel command to display FICON configuration values. Commandoutput shows which emulation features are enabled or disabled and displays related emulation parameters for each tunnel.

Configuring FICON emulation

Brocade Fabric OS FICON Configuration Guide, 8.1.074 53-1004394-02

Page 75: Brocade Fabric OS FICON Configuration Guide, 8.1

For more information, refer to Displaying FICON emulation performance statistics on page 75.

Modifying FICON emulationFICON emulation can be enabled on a per-FCIP tunnel basis. For Brocade extension switches and blades, use the portCfg fciptunnelcommand to make modifications to the FICON emulation feature.

For details on command usage, refer to the Brocade Fabric OS Command Reference.

ATTENTIONYou must bring the FCIP tunnel down in order to make changes. The following process is disruptive to all traffic on the tunnel.

1. Connect to the switches at both ends of the FCIP tunnel and log in using an account assigned to the admin role.

2. Disable the FCIP tunnel at both ends where FICON emulation is enabled.

3. Use the portCfg fciptunnel modify command for the Brocade extension switches and blades.

4. Make matching FICON emulation changes to both ends of the tunnel.

5. Enable the FCIP tunnel.

Displaying FICON emulation performance statisticsYou can use the portShow command to view performance statistics and monitor the behavior of FICON emulation. You do not need todisable any FICON emulation feature to display statistics.

1. Connect to the switch and log in using an account assigned to the admin role.

2. Use the portShow xtun command to display the statistics for the Brocade extension switches and blades.

Refer to FICON emulation monitoring on page 75, Options for displaying statistics on page 77, and the Brocade Fabric OSCommand Reference for information on command formats that you can use to display various FICON statistics.

FICON emulation monitoringUse the -emul option for the portShow xtun command to display FICON emulation statistics. The syntax for this command is portshowxtun [slot/]ve_port -ficon -emul.

The -emul option displays statistics and status for Teradata, tape, and IBM z/OS Global Mirror emulation.

IBM z/OS Global Mirror emulation (formerly eXtended Remote Copy or XRC) and tape statistics are presented differently in outputformats for the -emul option. The following elements are common to both tape and IBM z/OS Global Mirror emulation outputs (refer to Emulation statistics examples on page 76 for an illustration of actual tape and XRC emulation statistics output).

FDCB Ptr A pointer to the FICON Device Control Block. Support personnel may use this pointer.Path The device path, in the format VE-HD-HP-DD-DP-LP-CU-DV: where

• VE is the internal VE_Port number.

• HD is the hex value for the Host Domain (the entry domain for this host port into the fabric).

• HP is the hex value for the Host Port (the entry port of this host connection into the fabric).

• DD is the hex value for the Device Domain (the entry domain for this device into the fabric).

• DP is the hex value for the Device Port (the entry port for this device connection into the fabric).

• LP is the Logical Partition (LPAR) value for the host accessing the specific device.

Displaying FICON emulation performance statistics

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 75

Page 76: Brocade Fabric OS FICON Configuration Guide, 8.1

• CU is the Control Unit number (CUADDR) for the specific FICON connection.

• DV is the Device Number of this FICON connected device.For example, the value 2463016406050001 breaks down as follows.

VE HD HP DD DP LP CU DV

24 63 01 64 06 05 00 01

State A value of zero indicates emulation is idle. Any non-zero value indicates emulation is active.

Emulation statistics examplesThe following is a tape statistics output example for the Brocade 7840 extension switch.

admin:switch> portshow xtun 17 -ficon -emultapeTAPE EMULATION STATS+------------+----------------+-+-----+----+----+----+-----------+----------+------+----------+--+| FDCB Ptr | Path |H|State|Emul|Emul|Rtry| Emulated |Emulated |RdAvg |Emulated |WtAvg|| (0x) | (0x) |D| |Pipe|Q'd | Qd | Tape Ops |Read CCWs | Size|Write CCWs|Size|+------------+----------------+-+-----+----+----+----+-----------+----------+------+----------+--+|0x04100F4000|1163016401060400|H| 0x3C|0x10|0060|0000| 137053| 7808| 32760| 369837|32762||0x04100F4400|1163016401060401|H| 0x3C|0x12|006C|0000| 34126| 4947| 32760| 255851|32760||0x041013BC00|1163016401060402|H| 0x00| N/A|0000|0000| 32981| 0| 0| 251591|32760||0x0410139C00|1163016401060403|H| 0x3C|0x12|006C|0000| 36760| 23040| 32760| 260178|32760||0x04100F4880|1163016401060404|H| 0x3C|0x10|0060|0000| 35077| 9612| 32760| 257835|32760||0x0410077100|1163016401060405|H| 0x3C|0x10|0060|0000| 34849| 1925| 32760| 265122|32760||0x041012DC00|1163016401060406|H| 0x3C|0x12|006C|0000| 36587| 15176| 32760| 269822|32760||0x04100D1980|1163016401060407|H| 0x3C|0x12|006C|0000| 33455| 20584| 32760| 237519|32760||0x0410109980|1163016401060408|H| 0x00| N/A|0000|0000| 133494| 101103| 32767| 245794|32760||0x041010B980|1163016401060409|H| 0x00| N/A|0000|0000| 32023| 0| 0| 243572|32760||0x041011C500|116301640106040A|H| 0x00| N/A|0000|0000| 34516| 0| 0| 262878|32760||0x04100A9700|116301640106040B|H| 0x3C|0x12|006C|0000| 33834| 19329| 32760| 240347|32760||0x04100F0000|116301640106040C|H| 0x3C|0x12|006C|0000| 34537| 12385| 32760| 253620|32760||0x0410049980|116301640106040D|H| 0x00| N/A|0000|0000| 34764| 0| 0| 266346|32760||0x04100FA500|116301640106040E|H| 0x3C|0x12|006C|0000| 23636| 16742| 32760| 183126|32760||0x041008F280|116301640106040F|H| 0x00| N/A|0000|0000| 32598| 0| 0| 248620|32760||0x04100FA000|1163016401060506|H| 0x00| N/A|0000|0000| 13684| 0| 0| 90210|32760||0x0410118500|1163016401060507|H| 0x00| N/A|0000|0000| 101108| 0| 0| 01108|32768||0x04100ED500|116301640106050B|H| 0x00| N/A|0000|0000| 101109| 101109| 32767| 0|0|+------------+----------------+-+-----+----+----+----+-----------+----------+------+----------+---

The following is an IBM z/OS Global Mirror output example.

root> portshow xtun 17 -ficon -emulxrcXRC EMULATION STATS+------------+----------------+-+-----+----+----+----+----+-----------+---+------+------+--+| FDCB Ptr | Path |H|State|Cmds| Cmd|Data|Data| Emulated |Avg| RRS| RRS | Large|| (0x) | (0x) |D| | Qd | Max| Qd |Max | RRS Ops |RRS| TLF| Read|Chains|+------------+----------------+-+-----+----+----+----+----+-----------+---+------+------+--+|0x04100D8880|1163006400060023|H| 0x00|0000|000F|0000|0002| 1| 1| 58864| 40| 0||0x04100DA880|116300640006002B|H| 0x00|0000|000F|0000|0002| 1| 1| 58864| 40| 0||0x041008FB00|1163006400060033|H| 0x00|0000|0003|0000|0001| 1| 1| 58864| 40| 0||0x04100ED980|116300640006003B|H| 0x00|0000|0003|0000|0001| 1| 1| 58864| 40| 0||0x04100DD100|1163006400060043|H| 0x00|0000|0003|0000|0001| 1| 1| 58864| 40| 0||0x04100E2000|1163006400060047|H| 0x00|0000|0003|0000|0001| 1| 1| 58864| 40| 0||0x04100E7100|1163006400060057|H| 0x00|0000|0003|0000|0001| 1| 1| 58864| 40| 0||0x04100ECC80|116300640006005F|H| 0x00|0000|0003|0000|0001| 1| 1| 58864| 40| 0|+------------+----------------+-+-----+----+----+----+----+-----------+---+------+------+--+

Displaying FICON emulation performance statistics

Brocade Fabric OS FICON Configuration Guide, 8.1.076 53-1004394-02

Page 77: Brocade Fabric OS FICON Configuration Guide, 8.1

Options for displaying statisticsUse the portshow xtun [slot/]ve_port -ficon -stats command to display status, performance statistics, and other statistics for tape,Teradata, and IBM z/OS Global Mirror on Brocade extension switches and blades. Refer to the table below for a description of commandformats to achieve various outputs.

TABLE 9 FICON emulation statistics commands

Command Output display

portshow xtun slot/ve_port ve_port -ficon -emul Statistics and status for Teradata, tape and IBM z/OS GlobalMirror (XRC) emulation.

portshow xtun slot/ve_port -ficon -emulxrc FICON IBM z/OS Global Mirror emulation statistics and status.

portshow xtun slot/ve_port -ficon -emultape FICON tape emulation statistics and status.

portshow xtun slot/ve_port -ficon -emultera FICON Teradata emulation statistics and status.

portshow xtun slot/ve_port -ficon -stats General statistics, including those for Teradata, XRC, tapeemulation, and FICON idle status acceptance.

portshow xtun slot/ve_port -ficon -fdcb control block Teradata, tape or IBM z/OS Global Mirror emulation statistics,including the device extension of the FDCB for a specifiedDevice Control Block.

portshow xtun ve_port ficon -teraperf Teradata performance statistics.

portshow xtun ve_port -ficon -tapeperf FICON tape pipelining performance statistics.

portshow xtun ve_port -ficon -xrcperf IBM z/OS Global Mirror performance statistics.

Refer to the portShow command section of the Brocade Fabric OS Command Reference for more information on these commands.

Displaying FICON emulation performance statistics

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 77

Page 78: Brocade Fabric OS FICON Configuration Guide, 8.1

Brocade Fabric OS FICON Configuration Guide, 8.1.078 53-1004394-02

Page 79: Brocade Fabric OS FICON Configuration Guide, 8.1

Maintaining and Troubleshooting FICON• Firmware management in a FICON environment............................................................................................................................... 79• Configuration restoration in a FICON environment.............................................................................................................................80• Traffic Isolation Zoning.................................................................................................................................................................................... 81• Monitoring and Alerting Policy Suite.........................................................................................................................................................88• Port fencing..........................................................................................................................................................................................................88• FICON information........................................................................................................................................................................................... 89• Swapping port area IDs...................................................................................................................................................................................92• Blade swapping.................................................................................................................................................................................................. 92• Common FICON issues.................................................................................................................................................................................93• Troubleshooting FICON..................................................................................................................................................................................95• Troubleshooting FICON CUP...................................................................................................................................................................... 97• Troubleshooting NPIV..................................................................................................................................................................................... 98

Firmware management in a FICON environmentYou can use either the CLI or Brocade Network Advisor to upgrade or downgrade your Fabric OS. Registered users can log in on theBrocade website at http://www.brocade.com and follow the links for downloads to access firmware.

Firmware is downloaded in a .gz or .zip file. Brocade Network Advisor contains built-in intelligence that unbundles the necessary files,making it unnecessary to unbundle a package. With Web Tools or the CLI, it is necessary to decompress or extract the files from thepackage first.

For more information, refer to the firmware download process overview in the Brocade Fabric OS Administration Guide.

Upgrade and downgrade considerationsConsider the following when upgrading and downgrading firmware:

• Concurrent upgrades are generally supported from one major release level to the next, for example, Fabric OS v7.0.0 to v7.3.0.As a precaution, always read the appropriate section in the Brocade Fabric OS Release Notes before upgrading or downgradingfirmware.

• Firmware may need to be upgraded in multiple steps. Consult the Release Notes for details.

• When downgrading firmware, turn off and disable all features not supported in the final release.

For more information on the firmware download process and considerations for FICON CUP environments, refer to the firmwaredownload process overview section of the Brocade Fabric OS Administration Guide.

Firmware download disruptionNOTEExtension HCL supports serial upgrades. Recommended practice is to perform firmware upgrades on switches at the local site,followed by upgrades on the switches at the remote site.

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 79

Page 80: Brocade Fabric OS FICON Configuration Guide, 8.1

Downloading new firmware is not a disruptive process except for the following cases:

• During the firmware download process, a failover to the backup processor occurs. Any outstanding CUP commands are lostwhich results in a timeout. To avoid this, CUP should be varied offline before starting a firmware download. The CUP may bevaried back online after a successful firmware download.

• All firmware downloads cause an I/O disruption when the new code is activated on the Brocade 7800 switch and FX8-24blade. The 7800 is not supported in Fabric OS 8.1.0 and later.

• The Brocade 7840 switch supports the Extension Hot Code Load (Extension HCL) feature, which allows firmware downloadswithout I/O disruption.

• The Brocade X6-4 and X6-8 chassis with the SX6 blade installed support the Extension HCL feature.

NOTEWhen using hybrid mode for FCIP and IP Extension traffic in Fabric OS releases prior to Fabric OS 8.1.0, Extension HCL isdisruptive to any IP Extension traffic. Extension HCL is non-disruptive to FCIP traffic.

Non-disruptive firmware upload and downloadAll systems maintain a primary and a secondary partition of nonvolatile storage areas. The following overview of the firmware downloadprocess illustrates the use of the two partitions:

1. The firmware is downloaded to the secondary partition.

2. The current secondary and primary partitions are swapped.

3. The CP then reboots. In dual-CP systems (Brocade DCX 8510 FICON directors and Brocade X6 FICON directors), the backupCP is rebooted with the new firmware and the HA failover is automatically invoked.

4. Once rebooted, the primary code image is copied to the secondary.

Considerations for fixed-port switchesUnlike director-class products, fixed-port switches have only one control processor (CP) so they behave differently during Fabric OS hotcode upgrades. This can impact FICON operations if best practices are not followed.

During the code upload process, there is a period of time when the CP is busy rebooting the operating system and re-initializing FabricOS, and CP is not available to respond to CPU-targeted queries or frames. For dual-CP products, this "busy" time is a couple of seconds(the time it takes for mastership to change), and is non-disruptive. For single-CP fixed-port switches, however, the "busy" period can lasta minute or two. During this time, data traffic continues to flow uninterrupted, unless a response from the CP is required. If a responsefrom the CP is required, for path and device validation for instance, Interface Control Checks (IFCCs) are possible. Any IFCCs should berecovered automatically by the IBM z Systems host, with no required user action.

This does not mean that switches are not appropriate for FICON. Fully qualified FICON switch deployments will continue to be sold andsupported. It is important to follow the best practices of performing the firmware upgrade during scheduled maintenance windows whentraffic is minimized, IFCCs can be tolerated, and the CUP is varied offline.

Configuration restoration in a FICON environmentThe following table describes the behavior of the configUpload and configDownload commands and IPL file function when the ASM bitis set on or off. In general, if the switch is operating in a FICON CUP environment and the ASM (Active=Saved) bit is set on, then theswitch ignores the IPL file downloaded when you restore a configuration.

Configuration restoration in a FICON environment

Brocade Fabric OS FICON Configuration Guide, 8.1.080 53-1004394-02

Page 81: Brocade Fabric OS FICON Configuration Guide, 8.1

TABLE 10 Backup and restore in a FICON CUP environment

ASM bit Command Description

on or off configUpload All the files saved in the file access facilityare uploaded to the managementworkstation. A section in the uploadedconfiguration file labeled FICON_CUP is inan encoded format.

on configDownload Files saved on the switch that are alsopresent in the FICON_CUP section of theconfiguration file are overwritten.

Files in the FICON section of theconfiguration file that are not currentlypresent on the switch are saved.

off configDownload Files saved on the switch that are alsopresent in the FICON_CUP section of theconfiguration file are overwritten.

Files in the FICON section of theconfiguration file that are not currentlypresent on the switch are saved.

The IPL file is replaced. The ActiveConfiguration is re-established with valuesthat may be different from what is in IPLfile.

Traffic Isolation ZoningTraffic Isolation (TI) Zoning allows you to specify dedicated data paths to control traffic flowing from a specific set of source ports(N_Ports). TI Zoning has the following benefits:

• Separates direct attached storage device (DASD) and tape traffic.

• Selects traffic for diverse ISL routes (typical of dual fiber networks).

• In conjunction with long-distance channel extension equipment (FICON Acceleration), guarantees bandwidth for certainmission-critical data.

Creating logical switches is preferred over creating TI Zones for FICON emulation configurations. Logical switches can be created easilyand they naturally separate disk and tape traffic to different tunnels and network bandwidth.

Fabric OS v6.2.0 or later is required for TI Zoning in a FICON fabric. For more information on TI Zoning, refer to the Brocade Fabric OSAdministration Guide publication.

NOTESession-based zoning enforcement is not recommended on a FICON switch. For more information on session-based zoningenforcement, refer to the Brocade Fabric OS Administration Guide.

Determining ports for the TI ZoneTo determine source ports and paths for specific devices, use the MVS display command. The following example displays paths todevice 1002 and where the device is connected:

D M=DEV(1002)

Traffic Isolation Zoning

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 81

Page 82: Brocade Fabric OS FICON Configuration Guide, 8.1

Response is:

DEVICE 1002 STATUS=OFFLINE CHP AC AD AE AF ENTRY LINK ADDRESS .. 6715 6808 6679 DEST LINK ADDRESS 66FE 66FE 66FE 66FE \ //CUP has link address = DDFE, where DD= domain ID of switch// PATH ONLINE Y Y Y Y CHP PHYSICALLY ONLINE Y Y Y Y PATH OPERATIONAL Y Y Y Y MANAGED N N N N CU NUMBER 1002 1002 1002 1002 MAXIMUM MANAGED CHPID(S) ALLOWED: 0 DESTINATION CU LOGICAL ADDRESS = 00 SCP CU ND = SLKWRM.DCX.BRD.CA.4FT00X39C19A.0001 SCP TOKEN NED = SLKWRM.DCX.BRD.CA.4FT00X39C19A.0000 SCP DEVICE NED = SLKWRM.DCX.BRD.CA.4FT00X39C19A.0000

Enhanced TI ZoningEnhanced Traffic Isolation Zones allow you to specify a preferred and exclusive path through a cascaded fabric for a particular flow bydefining a set of devices or ports to appear in more than one Enhanced TI Zone. A preferred path is one that has failover enabled and anexclusive path has failover disabled . An exclusive path in the following topologies is beneficial as it limits the number of hops betweenswitches:

• Triangular

• System Data Mover

• Emulation

Enhanced TI Zoning for the three previously listed topologies is supported on the following platforms running Fabric OS 8.0.1 and later:

• Brocade 7840

• Brocade 6510

• Brocade DCX 8510-4

• Brocade DCX 8510-8

• Brocade G620

• Brocade X6-4

• Brocade X6-8

For prior releases of Fabric OS 6.4.0 through Fabric OS 7.4.x, Enhanced TI Zoning is available on the following platforms:

• Brocade 5100

• Brocade 5300

• Brocade 7800

• Brocade 7840

• Brocade 6510

• Brocade DCX 8510-4

• Brocade DCX 8510-8

• Brocade DCX

• Brocade DCX-4S

Traffic Isolation Zoning

Brocade Fabric OS FICON Configuration Guide, 8.1.082 53-1004394-02

Page 83: Brocade Fabric OS FICON Configuration Guide, 8.1

Triangular topologyThe triangular topology shown in the figure below is a common FICON deployment for managing data center recovery functions. In thistopology, a switch is located in each of three sites and connected to the other two forming a triangle. In most environments, the purposeof this configuration is to give the host application the ability to connect to storage media at the other two sites, which allows it to recoverfrom an outage at either site. Meanwhile, the storage systems constantly synchronize between the two storage sites.

FIGURE 21 Typical triangular setup

During normal operation, the routes from any device on one switch are a one-hop path to either of the other two switches. However, if thepath between any pair of switches fails, then a two-hop path is available.

NOTEIn Fabric OS 7.4.0 and later multi-hop paths are certified for FICON configurations.

Traffic Isolation Zoning

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 83

Page 84: Brocade Fabric OS FICON Configuration Guide, 8.1

To get around the multiple-hop issue, use Enhanced TI Zoning to prohibit the connection between E_Ports on the switches. For thissetup you must define a device in two zones with failover disabled. The figure below shows that the setup allows a source device to reachtwo separate destinations over exclusive, one-hop paths, while preventing the source device from taking the two-hop path in the event ofa failure.

Traffic Isolation Zoning

Brocade Fabric OS FICON Configuration Guide, 8.1.084 53-1004394-02

Page 85: Brocade Fabric OS FICON Configuration Guide, 8.1

FIGURE 22 Triangular topology with Enhanced TI Zones

Traffic Isolation Zoning

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 85

Page 86: Brocade Fabric OS FICON Configuration Guide, 8.1

The preceding figure shows the following TI Zone definitions for the triangular topology:

• Blue Zone includes the channel, ISL 1, and CU A.

• Green Zone includes the channel, ISL 2, and CU B.

• Red Zone includes the CU A, ISL 3, and CU B.

Using these definitions with failover disabled, the topology achieves the desired behavior. The channel can reach CU A only over ISL 1and CU B only over ISL 2. If either ISL should fail, connectivity to the destination with the failed ISL is prevented because the exclusivepath has failed.

Remote tape vaulting topologyThe figure below shows a cascaded topology which can be used to support an operations recovery site. In this environment, host andstorage systems exist at both sites, which are connected by two switches cascaded together. The storage differs between the sites. In theproduction site, DASD storage is used to support fast access for production applications. In the backup site, tape storage is used tosupport archival operations for system restoration.

FIGURE 23 Typical System Data Mover topology

Traffic Isolation Zoning

Brocade Fabric OS FICON Configuration Guide, 8.1.086 53-1004394-02

Page 87: Brocade Fabric OS FICON Configuration Guide, 8.1

The host in the production site operates the application that reads data from the DASD and writes it to the remote tape. The path to theremote site is required to be isolated to support the bandwidth requirements needed to write the data to the remote tape. The host in thebackup site needs access to the DASD in the production site to support a hot recovery scenario in the event the production host goesdown. Supporting these two functions requires the ability to define overlapping zones that isolate the tape traffic from the DASD trafficand allow local access to the DASD ports.

FIGURE 24 System Data Mover topology using Enhanced TI Zones

The figure above shows the following Enhanced TI Zone definitions for the topology:

• Green Zone includes Host A, ISL 1, and CU B.

• Orange Zone includes CU A, ISL 2, and Host B.

• Red Zone includes Host A and CU A.

• Blue Zone includes Host B and CU B.

Using these definitions with failover disabled achieves the desired behavior. The production channels can access the local DASD and usean exclusive path to write data to the remote tape. The remote channels can access the remote tape and use an exclusive path to writedata to the production DASD. In both cases, the production tape traffic is excluded from intruding on the backup DASD traffic and viceversa.

Traffic Isolation Zoning

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 87

Page 88: Brocade Fabric OS FICON Configuration Guide, 8.1

Monitoring and Alerting Policy SuiteThe Monitoring and Alerting Policy Suite (MAPS) is an optional storage area network (SAN) health monitor supported on all switchesrunning Fabric OS7.2.0 or later. MAPS allows you to enable each switch to constantly monitor itself for potential faults and automaticallyalerts you to problems before they become costly failures.

MAPS tracks a variety of SAN fabric metrics and events. Monitoring fabric-wide events, ports, and environmental parameters enablesearly fault detection and isolation as well as performance measurements. When using MAPS in a FICON environment, in most cases youshould not enable the Slow-Drain Device Quarantining (SDDQ) feature. Refer to the Brocade Monitoring and Alerting Policy SuiteAdministrator's Guide for more information.

MAPS provides the following set of predefined monitoring policies that allow you to immediately use MAPS on activation:

• dflt_conservative_policy

• dflt_moderate_policy

• dflt_aggressive_policy

It is recommended that all IBM z Systems customers enable MAPS after upgrading to Fabric OS version supporting MAPS and use thedefault aggressive policy (dflt_aggressive_policy). This policy contains rules with very strict thresholds. For details on enabling MAPS andmonitoring policies, refer to the Brocade Monitoring and Alerting Policy Suite Administrator's Guide.

Port fencingOccasionally, bad optics and cables can cause errors to occur at such a rapid rate that error processing and RSCN transmission andprocessing results in fabric performance problems. Port fencing allows you to limit the number of errors a port can receive by forcing aport offline when certain error thresholds are met.

The port fencing feature is configured through MAPS. For more information on configuring port fencing, refer to the Brocade Monitoringand Alerting Policy Suite Administrator's Guide publication.

It is recommended that the port decommissioning/recommissioning feature be used to the maximum extent possible in place of portfencing.

NOTEAs of March 2017, IBM will no longer support IO Operations (IOOPS) within Systems Automation v3.6. For additionalinformation, refer to the IBM developerWorks Wikis and search for “Important Announcement to all System Automation forz/OS I/O Operations (IOOps) users,” which will provide details about Port Decommissioning functions and required use.

Defining port fencingThe following overview defines port fencing.

1. ( Optional) Clear all alarms.

2. Define threshold levels.

3. Define alarm action.

Monitoring and Alerting Policy Suite

Brocade Fabric OS FICON Configuration Guide, 8.1.088 53-1004394-02

Page 89: Brocade Fabric OS FICON Configuration Guide, 8.1

4. Activate alarming.

NOTEEstablish a Telnet session with a tool such as PuTTy that allows the columns to be increased. This is because some ofthe displays use more than the standard 80 columns that programs such as HyperTerminal support. Therecommended number of columns is 120.

Settings for FICON environmentsFor typical FICON environments, port fencing is usually only set for CRC errors and Invalid Words. The default of 1,000 errors perminute is a little high for CRC errors and Invalid Words. A more common setting is 50 errors per minute. This is high enough to ignoreoccasional errors and transient errors due to recabling but low enough to stop problematic optics from causing fabric issues.

By default, the alarms are set to fence the port, log an alert, send an e-mail message, and set an SNMP trap. In most FICONenvironments, only fencing the port and logging the alert are desired.

The following are the default thresholds:

• Low - 0

• High - 1,000 errors per minute

FICON informationYou can display link incidents, registered listeners, node identification data, and FRU failures, as described in the following sections.

Link incidentsThe Registered Link Incident Report (RLIR) ELS contains the link incident information sent to a listener N_Port.

To display link incidents, connect to the switch, log in as user, and enter one of the following commands:

• For the local switch: ficonShow rlir

• For all switches defined in the fabric: ficonShow rlir fabric

Identifying portsThe ficonShow rlir command displays, among other information, a tag field for the switch port. You can use this tag to identify the porton which a FICON link incident occurred. The tag field contains the port index of the switch port, in hexadecimal format. The followingexample shows the top portion of command output which shows a link incident for the switch port at domain ID 120, port 93 (785d inhex):

switch:admin> ficonshow rlir { {Fmt Type PID Port Incident Count TS Format Time Stamp 0x18 F 785d00 93 1 Time server Thu Apr 22 09:13:32 2004 Port Status: Link not operational Link Failure Type: Loss of signal or synchronizationRegistered Port WWN Registered Node WWN Flag Node Parameters 50:05:07:64:01:40:16:03 50:05:07:64:00:c1:69:ca 0x10 0x200115(output truncated)

FICON information

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 89

Page 90: Brocade Fabric OS FICON Configuration Guide, 8.1

For complete examples of output from this command, refer to the ficonShow command section of the Brocade Fabric OS CommandReference.

Registered listenersTo display registered listeners for link incidents, connect to the switch, log in as user, and enter one of the following commands:

• For the local switch: ficonShow lirr

• For all switches defined in the fabric: ficonShow lirr fabric

For an example of local Link Incident Record Registration (LIRR) database output, refer to the ficonShow command section of theBrocade Fabric OS Command Reference.

When you configure an LIRR entry and it is current, it is marked with -C. If the Management Server marks an entry as current based onorder, it is marked with -C. If the Management Server marks an entry as secondary, it is marked with -S. Following is an example ofoutput with the -C and -S flags.

Switch Port WWN Listener Type20:2d:00:60:69:80:1e:4e Conditional-C20:0d:00:60:69:80:1e:4f Conditional-S

If the LIRR is configured, then the a valid port number displays as shown in the following example.

Current LIRR device port number: 27 (0x1b)

If the LIRR is not configured, the following displays:

Current LIRR device port number is not configured.

Node identification dataTo display node identification data, connect to the switch, log in as user, and enter one of the following commands:

• For the local switch: ficonShow switchrnid

• For all switches defined in the fabric: ficonShow switchrnid fabric

• For all devices registered with the local switch: ficonShow rnid

• For all devices registered with all switches defined in the fabric: ficonShow rnid

FRU error reportingField Replaceable Unit (FRU) error information, such as FRU failures and fan and power supply removals and insertions, are stored inerror reports as sense data. All FRUs in a chassis have an assigned number that is included in this data. Each CUP instance retains adatabase of ten FRU error reports. All error reports are sent to host LPARs that have appropriate Current Reporting Paths establishedwith the CUP.

Error reports are added to the database as they occur, and then they are removed when sent. If the database fills up, new reports arediscarded and not delivered.

FICON information

Brocade Fabric OS FICON Configuration Guide, 8.1.090 53-1004394-02

Page 91: Brocade Fabric OS FICON Configuration Guide, 8.1

Error dataThe following examples show error data available from the host. The number identifying the failed Brocade FRU (refer to FRU numberson page 91) is derived from a single bit from byte 29 as the high order bit and four bits from byte 30 or 31 as the low order bits. Referto the data in marked with “vv” in the second lines of the following examples and note that “vv” is not part of the actual output. The FRUnumbers are decoded for display as the FRU names, which display in the third lines of the following examples.

IOS000I 1065,AB,EQC,**,8200,,,*MASTER*, 200 vv 1000A00000000046700010000000000000000000000000000000000000008000 *IRD000E 1065,002032-001 LEVEL=1 FRU(S)=SLOT8 IOS000I 1065,AB,EQC,**,8200,,,*MASTER*, 286 vv 1000A00000000046700000000000000000000000000000000000000000088000 *IRD000E 1065,002032-001 LEVEL=0 FRU(S)=FAN1 IOS000I 1065,AB,EQC,**,8200,,,*MASTER*, 461 vv 1000A00000000046700000000000000000000000000000000000000000084000 *IRD000E 1065,002032-001 LEVEL=0 FRU(S)=PWR4 IOS000I 1065,AB,EQC,**,8200,,,*MASTER*, 496 vv 1000A00000000046700000000000000000000000000000000000000000089000 *IRD000E 1065,002032-001 LEVEL=0 FRU(S)=FAN2 IOS000I 1065,AB,EQC,**,8200,,,*MASTER*, 502 vv 1000A00000000046700000000000000000000000000000000000000000081000 *IRD000E 1065,002032-001 LEVEL=0 FRU(S)=PWR1 IOS000I 1065,AB,EQC,**,8200,,,*MASTER*, 568 vv 1000A0000000004670000000000000000000000000000000000000000008F000 *IRD000E 1065,002032-001 LEVEL=0 FRU(S)=WWN-CRD IOS000I 1065,AB,EQC,**,8200,,,*MASTER*, 662 vv 1000A0000000004670001000000000000000000000000000000000000000A000 *IRD000E 1065,002032-001 LEVEL=1 FRU(S)=SLOT10 IOS000I 1061,A8,EQC,**,8200,,,*MASTER*, 697 vv 1000A00000000046700010000000000000000000000000000000000000007000 *IRD000E 1061,002032-001 LEVEL=1 FRU(S)=SLOT7

FRU numbersThe following Brocade FRU numbers are provided for error reports and associated FRU names that display in error reports. Note that theFRU number does not display in the error reports, but its associated FRU name does display.

• 1 = SLOT1

• 2 = SLOT2

• 3 = SLOT3

• 4 = SLOT4

• 5 = SLOT5

• 6 = SLOT6

• 7 = SLOT7

• 8 = SLOT8

• 9 = SLOT9

• 10 = SLOT10

• 11 = SLOT11

• 12 = SLOT12

• 17 = PWR1

FICON information

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 91

Page 92: Brocade Fabric OS FICON Configuration Guide, 8.1

• 18 = PWR2

• 19 = PWR3

• 20 = PWR4

• 24 = FAN1

• 25 = FAN2

• 26 = FAN3

• 30 = CHASSIS

• 31 = WWN-CRD

Swapping port area IDsIf a port malfunctions, or if you want to connect to different devices without having to rewire your infrastructure, you can move a port’straffic to another port ( swap port area ID ) without changing the I/O Configuration Data Set (IOCDS) on the mainframe.

To swap port area IDs, refer to the "Swapping port area IDs" procedure in the Brocade Fabric OS Administration Guide.

For more detail on the following commands that you will use to swap port area IDs, refer to the Brocade Fabric OS Command ReferenceManual:

• portSwapEnable

• portDisable

• portSwap

• portSwapShow

• PortSwapDisable

Important notesConsider the following when swapping port area IDs:

• Ports that have been swapped cannot be moved to another logical switch.

• Ports with area 0xFE or 0xFF addresses cannot be swapped when FMS mode is enabled.

• You can use the portSwapShow command to display information about swapped ports in a switch.

• You can use the portSwap command to disable the port swapping feature. You cannot use the portSwap command after thisfeature is disabled. The enabled state of the port swapping feature is persistent across reboots and power cycles. Enabling anddisabling the port swapping feature does not affect previously executed port swapping operations.

Blade swappingBlade swapping allows you to swap one blade with another of the same type; in this way, you can perform a FRU replacement withminimal traffic disruption. The entire operation is accomplished when the bladeSwap command runs on Fabric OS. Fabric OS thenvalidates each command before actually implementing the command on the platform. If an error is encountered, the blade swap quitswithout disrupting traffic flowing through the blades. If an unforeseen error does occur during the running of the bladeSwap command,an entry will be made into the RASlog and all ports that have been swapped as part of the blade swap operation will be swapped back.On successful completion of the command, the source and destination blades are left in a disabled state, allowing you to complete thecable move.

Swapping port area IDs

Brocade Fabric OS FICON Configuration Guide, 8.1.092 53-1004394-02

Page 93: Brocade Fabric OS FICON Configuration Guide, 8.1

Blade swapping is based on port swapping and has the same restrictions:

• Shared area ports cannot be swapped.

• Faulty blades cannot be swapped.

• Ports or blades with area OxFE or OxFF addresses cannot be swapped when FMS mode is enabled.

• Ports that are part of a trunk group cannot be swapped.

• GbE ports cannot be swapped.

• Swapping ports between different logical switches is not supported. The ports on the source and destination blades must be inthe same logical switch.

• Undetermined board types cannot be swapped. For example, a blade swap will fail if the blade type cannot be identified.

• Blade swapping is not supported when swapping to a different model of blade or a different port count. For example, youcannot swap an FC16-32 blade with an FC16-48 port blade.

• Blade swapping is not supported on application blades.

• Blade swapping is supported on the FX8-24 blade, but only the 12 Fibre Channel ports will swap. The GbE and VE_ Ports willnot be swapped.

For procedures and more information on blade swapping, refer to the Brocade Fabric OS Administration Guide.

Common FICON issuesAny information you need to verify that FICON has been set up correctly can be found in the Administering FICON Fabrics or theConfiguring FICON CUP chapters.

Symptom Probable cause and recommended action

Cascading: No path - Entry Link is ".." message This typically occurs when one or more of the required high integrityfeatures for cascading have not been met. Check the following:

• Review each step in Configuring switched point-to-point FICONon page 39 and Configuring cascaded FICON on page 44 andvalidate that all features are configured properly.

• Validate that CUP is online for each FICON director or switch inthe fabric with the data center’s system programmer.

Path to a device does not come online. No connection to device.

Make sure binding or zoning does not prevent the connection. Validate thefollowing with the data center's system programmer:

• Correct switch addresses (not switch IDs) are used in linkstatements. Remember that the switch address is the domain IDconverted to hex and may have an offset.

• The switch ID, used in the CHPID statements, was defined withthe correct switch address.

• All addressing (link statements) uses two-byte addressing onthe channel if two-byte addressing has been previously used onthat channel. This is necessary even when the specified path isnot cascaded.

Packets are being dropped between two FICON units. Distance between devices is impacting data.

When planning cable needs, the following criteria must be considered:

• Distance considerations

• Fiber Optic Sub Assembly (FOSA) type (SW or LW)

• Cable specifications (SM or MM)

Common FICON issues

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 93

Page 94: Brocade Fabric OS FICON Configuration Guide, 8.1

Symptom Probable cause and recommended action

• Patch Panel Connections between FOSA ports (link loss .3-5dB per)

• Maximum allowable link budget (dB) loss

For cabling, the most important factor of a Fibre Channel link is theselection of the Fibre Optic Sub Assembly (FOSA) and matching cabletype, to support the required distance. Both ends of the optical link musthave the matching FOSA (SFP) types.

Channel path with two-byte addressing does not come online. The fabric may not be configured properly, cable connections are notcorrect, or cable is wrong type.

Find out what CHPID the operator is attempting to bring online. In FICONenvironments, only the egress ports are defined in the IOCDS. The CHPIDnumber of the channel appears in the node list, but only if the channelpath has logged in. If the channel path will not come online, it may nothave completed a Fibre Channel fabric login. If this is the case, you willhave to rely on customer documentation to determine the switch port towhich the channel is connected.

Next, find out what type of error message the operator is getting. An IOSerror message is reported when there is an error external to the host; anIEE error message indicates something is wrong internal to the host.

Fabric Not Configured Properly

• Make sure that the insistent domain ID is set and the domainIDs are unique for all switches in the fabric.

• Make sure that the same binding method is used on all switchesin the fabric.

• Scroll through the node list and make sure there are no invalidattachments.

• Make sure that the re-routing delay is turned off.

Cabling

Validate that cables are connected where intended.

When using multimode fiber, make sure that all fiber is either all 50u or all62.5u. A common mistake is to mix 50u and 62.5u fiber cables, whichcauses errors at patch panels.

Example of a Boxed Channel

In the following example, the CHPIDs with two-byte addressing did notcome online. In response, the CHPID was configured offline and thenreconfigured back online.

MVS console commands and responses (lines beginning with "IEE" areresponses and all other lines are entries).

CF CHP(60),OFFLINE IEE503I CHP(60),OFFLINE IEE712I CONFIG PROCESSING COMPLETE CF CHP(60),ONLINE IEE754I NOT ALL PATHS BROUGHT ONLINE WITH CHP(60) IEE502I CHP(60),ONLINE IEE712I CONFIG PROCESSING COMPLETE

The following line displays the status of the CHPID with the "D M ="command. All other lines are responses.

D M=CHP(60) IEE174I 03.29.45 DISPLAY M 021 CHPID 60: TYPE=1D, DESC=FICON INCOMPLETE, ONLINE DEVICE STATUS FOR CHANNEL PATH 60

Common FICON issues

Brocade Fabric OS FICON Configuration Guide, 8.1.094 53-1004394-02

Page 95: Brocade Fabric OS FICON Configuration Guide, 8.1

Symptom Probable cause and recommended action

0 1 2 3 4 5 6 7 8 9 A B C D E F 006 . $@ . . . . . . . . . . . . . . SWITCH DEVICE NUMBER = NONE ATTACHED ND = NOT KNOWN PHYSICAL CHANNEL ID = 01F0 ************************ SYMBOL EXPLANATIONS ************************+ ONLINE @ PATH NOT VALIDATED - OFFLINE . DOES NOT EXIST * PHYSICALLY ONLINE $ PATH NOT OPERATIONAL

The responses "NOT ALL PATHS BROUGHT ONLINE" after attemptingto configure the CHPID online and "FICON INCOMPLETE" in the displayexample indicate that the channel did not come online. You can determinethis because the IEE error types are shown and combined with thevalidation that there was no attempt to do a basic FLOGI (no lightdisplayed on the port view (LED) and no Fibre Channel frames werereceived).

The Control Unit Port cannot access the switch. Domain or port ID has changed on CHPID link.

A two-byte CHPID link is defined using a domain and port ID that mustremain consistent. Any change in the physical link, such as a change in adomain or port ID, will prevent storage control unit access.

Use the configure command to verify and set the insistent domain ID(IDID) parameter.

FICON:admin> configure

For more information and examples of using this command to set theIDID parameter, refer to the Configure command in the Brocade FabricOS Command Reference.

Unable to "vary online" FICON CUP port on the switch . FICON CUP port cannot go online.

Use the haFailover command on the FICON director. This the only knownfix as there is no known firmware solution.

Troubleshooting FICONThis section provides information-gathering and troubleshooting techniques necessary to fix your problem.

General information to gather for all casesThe following information must be gathered for all FICON environments:

• The output from the standard support commands (portLogDump, supportSave, and supportShow) the Fabric Manager EventLog or Brocade Network Advisor logs.

By default, the FICON group in the supportShow output is disabled. To enable the capture of FICON data in the supportShowoutput, enter the supportShowCfgEnable ficon command. After you get confirmation that the configuration has been updated,ouput from the following will be collected and display for the supportShow command:

– ficonCupShow fmsmode– ficonCupShow modereg– ficonDbg dump rnid– ficonDbg log– ficonShow lirr

Troubleshooting FICON

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 95

Page 96: Brocade Fabric OS FICON Configuration Guide, 8.1

– ficonShow rlir– ficonShow rnid– ficonShow switchrnid– ficuCmd dump -A

• The type of mainframe involved including the make, model, and driver levels in use.

• The type of storage array installed. Many arrays emulate a certain type of IBM array and the make, model, and firmware of thearray in use must be provided.

• Other detailed information for protocol-specific problems:

– Port data structures, displayed using the ptDataShow command.– Port registers, displayed using the ptRegShow command.

The following actions must be performed to troubleshoot all FICON environments:

• Use the configUpload command to gather configuration files. Provide the IOCDS mainframe file.

This will define how all mainframe ports are configured.

• Verify that Dynamic Load Sharing (DLS) has been disabled with the dlsReset command.

If DLS is enabled, traffic on existing ISL ports may be affected when one or more new ISLs is added between the same twoswitches. Specifically, adding the new ISL may result in dropped frames as routes are adjusted to take advantage of thebandwidth provided. By disabling DLS, you ensure that there will be no dropped frames. In thesupportShow output, search forroute.stickyRoutes and check for a value of 1 or enter the dlsShow command.

• Verify that IOD is enabled using the iodSet command to ensure in-order delivery.

In the output from the supportShow or supportSave, search for route.delayReroute and check for a value of 1 as this indicatesthat the feature is turned on. Alternately, you can enter the iodShow command.

Switched point-to-point topology checklistVerify the following in your FICON environment to ensure proper functionality of the feature:

• Fabric OS v6.1.0 or later release is installed on Brocade switch or director.

• Appropriate management tool is being used, such as Brocade Network Advisor.

• All required licenses are enabled for your FICON configuration.

• Switch or director does not have a special mode setting turned on for FICON.

• Brocade Advanced features software package (Trunking, Fabric Watch, Extended Fabric) license is activated.

NOTEThere is no requirement to have a secure fabric in a switched point-to-point topology.

Cascaded topology checklistVerify the following in your FICON environment to ensure proper functionality of the feature:

• Fabric OS v6.1.0 or later is installed Brocade switch or director.

• Appropriate management tool is used, such as Brocade Network Advisor.

• All required licenses are activated to enable your FICON configuration?

• The switch or director does not have a special mode setting enabled for FICON.

In addition to device-based routing, lossless, and in-order frame delivery (IOD), the dynamic load-sharing feature is enabled.

Troubleshooting FICON

Brocade Fabric OS FICON Configuration Guide, 8.1.096 53-1004394-02

Page 97: Brocade Fabric OS FICON Configuration Guide, 8.1

• If you have a fabric for intermix mode of operations, separate zones for FICON and FCP devices are configured.

• A maximum of one hop exists for both FCP and FICON devices (mainframe channel device connectivity rule).

• The insistent domain ID flag is set to keep the domain ID of a fabric switch persistent.

• The CHPID link path is defined using the two-byte address format.

• The FICON channel connectivity to the storage CU port does not exceed one hop.

• Proper security policies are enabled. Refer to Configuring cascaded FICON on page 44.

• The Switch Connection Control (SCC) security policy is active.

• Brocade Advanced features software package (Trunking, Fabric Watch, Extended fabric) license is activated.

Gathering additional informationCollect information for your support provider as mentioned in the Brocade Fabric OS Troubleshooting and Diagnostics Guide. Inaddition, gather the following FICON-specific information.

• Did the problem occur during an initial install or has was everything functioning prior to the problem?

• What was changed immediately before the problem occurred.

• Is the switch properly configured for a FICON environment.

Refer to the most recent version of the Fabric OS Release Notes for notes on FICON setup and configuration.

• Is this a switched point-to-point or cascaded environment.

• Is the FICON group enabled for supportShow.

Enter the supportShow command and verify that FICON is enabled under "supportshow groups enabled". If it is not enabled,use supportShowCfgEnable ficon command.

Link informationGather information about the physical status of the link.

• Use the portshow command to display port operational information on Brocade extension switches and blades. Refer toBrocade Fabric OS Command Reference for complete descriptions of the porshow command syntax and options.

• Use the sfpshow command to display status of the optics. Refer to Brocade Fabric OS Command Reference for completedescriptions of the exit command syntax and options.

CUP diagnosticsFICON CUP supports the IBM Health Checker for zOS to diagnose problems. Refer to the IBM Redbooks website at www.redbooks.ibm.com for details on using the IBM Health Checker for z/OS.

You can also refer to a Brocade publication that discusses CUP diagnostics and the IBM Health Checker for zOS, found at http://www.brocade.com/content/dam/common/documents/content-types/whitepaper/brocade-control-unit-port-diagnostics-wp.pdf

Troubleshooting FICON CUPIn addition to the information you collect for your support provider mentioned in Troubleshooting FICON on page 95, also gather thefollowing information which is specific to FICON CUP:

• Verify the FICON CUP license is installed.

Troubleshooting FICON CUP

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 97

Page 98: Brocade Fabric OS FICON Configuration Guide, 8.1

• Check the state of the CUP by running the ficonCupShow fmsmode command. If it is disabled, enter the ficonCupSetfmsmode enable command to enable it. If the CUP is on a director, enter the haFailover command to ensure both CPs are setcorrectly.

• Verify that the switch is using Fabric OS v6.1.0 or later.

• Ensure no device is plugged into port 254 on the Brocade FICON director.

• Verify with the systems programmer that the CUP ports are defined properly.

FICON ports are defined as part of the sysgen process. The z/OS systems programmer can verify if the CUP ports are definedproperly.

• Verify that ports 254 and 255 display Disabled (FMS Mode) by entering the switchShow command. If not, enter theportDisable command on the appropriate models for the related ports:

– On a Brocade 48000, disable 10/30 and 10/31.– On a Brocade DCX Backbone, disable 12/30 and 12/31.

Troubleshooting NPIVGather all information as listed in General information to gather for all cases on page 95 and Gathering additional information on page97.

Troubleshooting NPIV

Brocade Fabric OS FICON Configuration Guide, 8.1.098 53-1004394-02

Page 99: Brocade Fabric OS FICON Configuration Guide, 8.1

Platforms Supporting FICON• Introduction.......................................................................................................................................................................................................... 99• Supported platforms with end-of-support announcements...........................................................................................................99• Currently supported platforms..................................................................................................................................................................100• Supported Brocade blades.........................................................................................................................................................................100

IntroductionThis appendix provides the following support details:

• Brocade products with end-of-support announcements supported for FICON for different IBM systems and drivers (Supportedplatforms with end-of-support announcements on page 99).

• Brocade products currently supported for FICON for different IBM systems and drivers (Currently supported platforms on page100).

• Brocade blades supported for FICON in various Brocade Switch and Data Center Backbone products (Supported Brocadeblades on page 100).

Due to the nature of environments in which the mainframes are used, product qualification for FICON is more rigorous than with otherproducts. As a result, not all product combinations and versions of Fabric OS are qualified for FICON.

NOTERefer to the Fabric OS release notes for additional details about compatibility with IBM systems and drivers. Check that yourcurrent versions of IBM systems and drivers are compatible with the Fabric OS firmware that you plan to use.

Supported platforms with end-of-supportannouncementsAll Brocade products in the table below have end-of-support announcements. However, end-of-support dates vary for each product,and your service provider may have end-of-support dates that differ from Brocade dates. Contact your service provider for details.

Firmware listed in the following table is the final version supported and the recommended target path.

TABLE 11 Supported platforms with end-of-support announcements

Brocade 4900

Fabric OS

Brocade 5000

Fabric OS

Brocade 6140

Fabric OS

Brocade i10K

Fabric OS

Brocade 7500

Fabric OS

Brocade 48000

Fabric OS

Brocade 5100

Fabric OS

z900 & z800Driver 3GF

v6.2.0e v6.2.0e v9.9.9 v9.9.8 v6.4.2a v6.4.2a v7.0.0d

z990 & z890Driver 55K

v6.2.0e v6.2.0e v9.9.9 v9.9.8 v6.4.2a v6.4.2a v7.0.0d

z9 EC & z9 BCDriver 67L

v6.2.0e v6.2.0e v9.9.9 v9.9.8 v6.4.2a v6.4.2a v7.0.0d

z10 EC & z10BC Driver 76D& 79F

v6.2.0e v6.2.0e v9.9.9 v9.9.8 v6.4.2a v6.4.2a v7.0.0d

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 99

Page 100: Brocade Fabric OS FICON Configuration Guide, 8.1

TABLE 11 Supported platforms with end-of-support announcements (continued)

Brocade 4900

Fabric OS

Brocade 5000

Fabric OS

Brocade 6140

Fabric OS

Brocade i10K

Fabric OS

Brocade 7500

Fabric OS

Brocade 48000

Fabric OS

Brocade 5100

Fabric OS

z10 BC Driver76D

v6.2.0e v6.2.0e v9.9.9 v9.9.8 v6.4.2a v6.4.2a v7.0.0d

z196 Driver86E or 93G

Not supported Not supported v9.9.9 v9.9.8 v6.4.2a v6.4.2a v7.0.0d

z114 Driver93G

Not supported Not supported v9.9.9 v9.9.8 v6.4.2a v6.4.2a v7.0.0d

EC12 at driver12K

Not supported Not supported Not supported Not supported v6.4.2a v6.4.2a v7.0.0d

Currently supported platformsThe table below lists Brocade products currently supported for Fabric OS 8.1.0 for various IBM z Systems and driver levels.

NOTEPlease consult your Brocade SE for detailed information on IBM z14 qualified support. The IBM z14 was introduced on 17July, 2017.

TABLE 12 Currently supported platforms

Brocade 7840

Fabric OS

Brocade G620

Fabric OS

Brocade X6-4

Fabric OS

Brocade X6-8

Fabric OS

Brocade DCX8510-4

Fabric OS

Brocade DCX8510-8

Fabric OS

Brocade 6510

Fabric OS

z196 Driver86E or 93G

8.1.0c 8.1.0c 8.1.0c 8.1.0c 8.1.0c 8.1.0c 8.1.0c

z114 Driver93G

8.1.0c 8.1.0c 8.1.0c 8.1.0c 8.1.0c 8.1.0c 8.1.0c

EC12 andBC12 at driver12K

8.1.0c 8.1.0c 8.1.0c 8.1.0c 8.1.0c 8.1.0c 8.1.0c

z13

z13s

8.1.0c 8.1.0c 8.1.0c 8.1.0c 8.1.0c 8.1.0c 8.1.0c

Supported Brocade bladesThe table below lists Brocade blades supported for FICON in various Brocade Switch and Data Center Backbone and Director productsin Fabric OS 8.1.0.

TABLE 13 Currently supported blades in Brocade Switch and Data Center Backbone and Director products

DCX 8510-8 DCX 8510-4 X6-8 X6-4

SX6 No No Yes Yes

FX8-241 Yes Yes No No

FC16-32 Yes Yes No No

FC16-48 Yes Yes No No

CR16-8 Yes No No No

Currently supported platforms

Brocade Fabric OS FICON Configuration Guide, 8.1.0100 53-1004394-02

Page 101: Brocade Fabric OS FICON Configuration Guide, 8.1

TABLE 13 Currently supported blades in Brocade Switch and Data Center Backbone and Director products (continued)

DCX 8510-8 DCX 8510-4 X6-8 X6-4

CR16-4 No Yes No No

FC32-48 No No Yes Yes

1. The Ethernet ports of an FX8-24 extension blade can operate with another FX8-24. The maximum number of FX8-24 bladessupported in a chassis is four. An FX8-24 can operate with an FX8-24E; however, IPsec and compression is only supportedon one 10GbE port on the FX8-24.

Supported Brocade blades

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 101

Page 102: Brocade Fabric OS FICON Configuration Guide, 8.1

Brocade Fabric OS FICON Configuration Guide, 8.1.0102 53-1004394-02

Page 103: Brocade Fabric OS FICON Configuration Guide, 8.1

Basic Switch ConfigurationThis appendix provides basic steps and commands to quickly configure a switch for fabric and possible FICON and cascaded FICONoperation.

For detailed concepts, procedures, and additional Fabric OS command options to configure a switch for point-to-point and cascadedFICON operation, refer to Administering FICON Fabrics.

The following tables are included in this appendix:

• The Switch configuration example and commands table provides the basic steps and commands in a checklist format toquickly configure a switch for fabric and possible FICON operation.

• The Cascading (2-byte addressing) example and commands table provides additional steps and commands for FICONcascading (two-byte addressing).

TABLE 14 Switch configuration example and commands

Feature Relevant Commands

Upgrade code (if necessary). firmwaredownload

firmwareshow

Feature keys (add licenses). licenseadd

licenseshow

Create all logical switches and add all intended ports to each logical switch.

The -ficon option sets many of the logical switch attributes for FICON use.

lscfg

lscfg -ficon

Set switch offline. switchdisable

Repeat the following procedure to configure switch parameters for eachlogical switch.

1. Enter the configure command. You will be asked severalquestions. Only answer questions listed in the RelevantCommands column. Use defaults for other settings unlessinstructed by a Brocade Certified Architect for FICON. Note thatthe BB_Credit setting here should not be changed. BB_Creditswill be set elsewhere in this checklist.

2. Change fabric parameter settings by answering Yes . Afteranswering Yes , you will be asked several questions. Changeonly the following parameters. Leave all other parameters at thedefault unless instructed by a Brocade Certified Architect forFICON. After completing all of the Fabric Parameter settings,answer No for all other parameters.

• Domain

• Allow XISL Use

When applicable.

• Enable a 256 Area Limit

– 0 - Not supported for FICON.– 1 - Zero-based addressing. Recommended for FICON.– 2 - Port-based addressing. Not supported for 48-port

cards in 8-port slot chassis.

• Disable Device Probing

Set to 1.

• Insistent Domain ID Mode

configure

To set the routing policy to 1: aptpolicy 1

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 103

Page 104: Brocade Fabric OS FICON Configuration Guide, 8.1

TABLE 14 Switch configuration example and commands (continued)

Feature Relevant Commands

Answer Yes.

Set Interop mode

0 - No other interop mode is supported for FICON.

interopmode 0

Device Based Routing.

Set to 2.

To set the routing policy to 2: aptpolicy 2

To display the routing policy: aptpolicy

Set in-order delivery. iodset

Enable dynamic load sharing with lossless DLS enabled. dlsset --enable -lossless

Set switch name. switchname

Set chassis name. chassisname

Set switch online. switchenable

Set the principal switch. This can only be one switch in the fabric. In mixedM-Type and B-Type fabrics, the M-Type must be the principal switch.

fabricprincipal 1

If you are enabling FMS (CUP), disable all ports assigned address 0xFEand 0xFF.

portdisable

Enable FMS if FICON CUP will be used.

NOTEHigh-integrity fabric requirements must be met and HIF modeenabled to enable FMS mode.

ficoncupset fmsmode enable

ficoncupshow fmsmode

Set the default zone for no access. defZone --noaccess

cfgsave

defZone --show

Configure zones. This is much easier with Brocade Network Advisor orWeb Tools. Typically, scripts are used when using Fabric OS commands.

cfgclear

cfgcreate

cfgdelete

cfgdisable

cfgenable

cfgremove

cfgsave

cfgshow

Clear all port statistics and trace information. supportsave -R

errclear

statsclear

portlogclear

diagclearerror -all

tracedump -c

slotstatsclear

errclear

ficonclear rlir

Turn on FICON logging. supportshowcfgenable ficon

Brocade Fabric OS FICON Configuration Guide, 8.1.0104 53-1004394-02

Page 105: Brocade Fabric OS FICON Configuration Guide, 8.1

TABLE 14 Switch configuration example and commands (continued)

Feature Relevant Commands

Set port fencing. Setting port fencing parameters is much easier withBrocade Network Advisor.

To clear alarms:

fwalarmsfilterset 0

To define alarms:

fwconfigure

Respond to menu driven prompts accordingly.

To enable the defined alarms:

fwalarmsfilterset 1

Parameters in the table below are only required when two-byte link addressing is used in the IOCP. Normally, these parameters are notset when single-byte addressing is used.

TABLE 15 Cascading (two-byte addressing) example and commands

Feature Parameter

Add members to the SCC Policy. secPolicyCreate "SCC_POLICY", "wwn;wwn; ..."

Or, to add all switches already in the fabric, use an "*" for each WWN:

secPolicyCreate "SCC_POLICY", "*"

Save the policy. secpolicysave

Activate the policy. secpolicyactivate

Enable the ACL Fabric-Wide Consistency Policy and enforce a strict SCCpolicy.

fddcfg --fabwideset "SCC:S;"

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 105

Page 106: Brocade Fabric OS FICON Configuration Guide, 8.1

Brocade Fabric OS FICON Configuration Guide, 8.1.0106 53-1004394-02

Page 107: Brocade Fabric OS FICON Configuration Guide, 8.1

Address Binding Examples• Sequential address binding........................................................................................................................................................................ 107• Unbinding multiple ports.............................................................................................................................................................................112

Sequential address bindingThis section provides an example that will allow all ports on all blades installed in a Brocade DCX or DCX 8510 FICON director to usesequential, zero-based, Mode 1 addresses. This type of range binding is the default in a FICON logical switch. Refer to Brocade FabricOS Administration Guide for additional information.

The following figure illustrates ports with sequential addresses.

FIGURE 25 Sequential addresses

Before binding an address with the portAddress --bind command, disable the port with the portDisable command. To change thebound address, you must first unbind the addresses. Refer to Unbinding multiple ports on page 112 for an easy method to unbindmultiple ports at once.

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 107

Page 108: Brocade Fabric OS FICON Configuration Guide, 8.1

For more information on port addressing modes, refer to Addressing modes on page 46.

Example scripts for binding ports (Mode 1)The following example scripts containing the portAddress --bind command bind all ports on the DCX Backbone to sequential, zerobased (Mode 1) addresses. You can copy and paste these scripts directly into a Telnet Fabric OS command line session. If a port doesnot exist, an error message will be reported, but this has no effect.

date# Slot 1portaddress --bind 1/0 0000portaddress --bind 1/1 0100portaddress --bind 1/2 0200portaddress --bind 1/3 0300portaddress --bind 1/4 0400portaddress --bind 1/5 0500portaddress --bind 1/6 0600portaddress --bind 1/7 0700portaddress --bind 1/8 0800portaddress --bind 1/9 0900portaddress --bind 1/10 0A00portaddress --bind 1/11 0B00portaddress --bind 1/12 0C00portaddress --bind 1/13 0D00portaddress --bind 1/14 0E00portaddress --bind 1/15 0F00portaddress --bind 1/16 1000portaddress --bind 1/17 1100portaddress --bind 1/18 1200portaddress --bind 1/19 1300portaddress --bind 1/20 1400portaddress --bind 1/21 1500portaddress --bind 1/22 1600portaddress --bind 1/23 1700portaddress --bind 1/24 1800portaddress --bind 1/25 1900portaddress --bind 1/26 1A00portaddress --bind 1/27 1B00portaddress --bind 1/28 1C00portaddress --bind 1/29 1D00portaddress --bind 1/30 1E00portaddress --bind 1/31 1F00# Slot 2portaddress --bind 2/0 2000portaddress --bind 2/1 2100portaddress --bind 2/2 2200portaddress --bind 2/3 2300portaddress --bind 2/4 2400portaddress --bind 2/5 2500portaddress --bind 2/6 2600portaddress --bind 2/7 2700portaddress --bind 2/8 2800portaddress --bind 2/9 2900portaddress --bind 2/10 2A00portaddress --bind 2/11 2B00portaddress --bind 2/12 2C00portaddress --bind 2/13 2D00portaddress --bind 2/14 2E00portaddress --bind 2/15 2F00portaddress --bind 2/16 3000portaddress --bind 2/17 3100portaddress --bind 2/18 3200portaddress --bind 2/19 3300portaddress --bind 2/20 3400portaddress --bind 2/21 3500portaddress --bind 2/22 3600portaddress --bind 2/23 3700portaddress --bind 2/24 3800

Sequential address binding

Brocade Fabric OS FICON Configuration Guide, 8.1.0108 53-1004394-02

Page 109: Brocade Fabric OS FICON Configuration Guide, 8.1

portaddress --bind 2/25 3900portaddress --bind 2/26 3A00portaddress --bind 2/27 3B00portaddress --bind 2/28 3C00portaddress --bind 2/29 3D00portaddress --bind 2/30 3E00portaddress --bind 2/31 3F00# Slot 3portaddress --bind 3/0 4000portaddress --bind 3/1 4100portaddress --bind 3/2 4200portaddress --bind 3/3 4300portaddress --bind 3/4 4400portaddress --bind 3/5 4500portaddress --bind 3/6 4600portaddress --bind 3/7 4700portaddress --bind 3/8 4800portaddress --bind 3/9 4900portaddress --bind 3/10 4A00portaddress --bind 3/11 4B00portaddress --bind 3/12 4C00portaddress --bind 3/13 4D00portaddress --bind 3/14 4E00portaddress --bind 3/15 4F00portaddress --bind 3/16 5000portaddress --bind 3/17 5100portaddress --bind 3/18 5200portaddress --bind 3/19 5300portaddress --bind 3/20 5400portaddress --bind 3/21 5500portaddress --bind 3/22 5600portaddress --bind 3/23 5700portaddress --bind 3/24 5800portaddress --bind 3/25 5900portaddress --bind 3/26 5A00portaddress --bind 3/27 5B00portaddress --bind 3/28 5C00portaddress --bind 3/29 5D00portaddress --bind 3/30 5E00portaddress --bind 3/31 5F00# Slot 4portaddress --bind 4/0 6000portaddress --bind 4/1 6100portaddress --bind 4/2 6200portaddress --bind 4/3 6300portaddress --bind 4/4 6400portaddress --bind 4/5 6500portaddress --bind 4/6 6600portaddress --bind 4/7 6700portaddress --bind 4/8 6800portaddress --bind 4/9 6900portaddress --bind 4/10 6A00portaddress --bind 4/11 6B00portaddress --bind 4/12 6C00portaddress --bind 4/13 6D00portaddress --bind 4/14 6E00portaddress --bind 4/15 6F00portaddress --bind 4/16 7000portaddress --bind 4/17 7100portaddress --bind 4/18 7200portaddress --bind 4/19 7300portaddress --bind 4/20 7400portaddress --bind 4/21 7500portaddress --bind 4/22 7600portaddress --bind 4/23 7700portaddress --bind 4/24 7800portaddress --bind 4/25 7900portaddress --bind 4/26 7A00portaddress --bind 4/27 7B00portaddress --bind 4/28 7C00portaddress --bind 4/29 7D00portaddress --bind 4/30 7E00

Sequential address binding

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 109

Page 110: Brocade Fabric OS FICON Configuration Guide, 8.1

portaddress --bind 4/31 7F00# Slot 9portaddress --bind 9/0 8000portaddress --bind 9/1 8100portaddress --bind 9/2 8200portaddress --bind 9/3 8300portaddress --bind 9/4 8400portaddress --bind 9/5 8500portaddress --bind 9/6 8600portaddress --bind 9/7 8700portaddress --bind 9/8 8800portaddress --bind 9/9 8900portaddress --bind 9/10 8A00portaddress --bind 9/11 8B00portaddress --bind 9/12 8C00portaddress --bind 9/13 8D00portaddress --bind 9/14 8E00portaddress --bind 9/15 8F00portaddress --bind 9/16 9000portaddress --bind 9/17 9100portaddress --bind 9/18 9200portaddress --bind 9/19 9300portaddress --bind 9/20 9400portaddress --bind 9/21 9500portaddress --bind 9/22 9600portaddress --bind 9/23 9700portaddress --bind 9/24 9800portaddress --bind 9/25 9900portaddress --bind 9/26 9A00portaddress --bind 9/27 9B00portaddress --bind 9/28 9C00portaddress --bind 9/29 9D00portaddress --bind 9/30 9E00portaddress --bind 9/31 9F00# Slot 10portaddress --bind 10/0 A000portaddress --bind 10/1 A100portaddress --bind 10/2 A200portaddress --bind 10/3 A300portaddress --bind 10/4 A400portaddress --bind 10/5 A500portaddress --bind 10/6 A600portaddress --bind 10/7 A700portaddress --bind 10/8 A800portaddress --bind 10/9 A900portaddress --bind 10/10 AA00portaddress --bind 10/11 AB00portaddress --bind 10/12 AC00portaddress --bind 10/13 AD00portaddress --bind 10/14 AE00portaddress --bind 10/15 AF00portaddress --bind 10/16 B000portaddress --bind 10/17 B100portaddress --bind 10/18 B200portaddress --bind 10/19 B300portaddress --bind 10/20 B400portaddress --bind 10/21 B500portaddress --bind 10/22 B600portaddress --bind 10/23 B700portaddress --bind 10/24 B800portaddress --bind 10/25 B900portaddress --bind 10/26 BA00portaddress --bind 10/27 BB00portaddress --bind 10/28 BC00portaddress --bind 10/29 BD00portaddress --bind 10/30 BE00portaddress --bind 10/31 BF00# Slot 11portaddress --bind 11/0 C000portaddress --bind 11/1 C100portaddress --bind 11/2 C200portaddress --bind 11/3 C300

Sequential address binding

Brocade Fabric OS FICON Configuration Guide, 8.1.0110 53-1004394-02

Page 111: Brocade Fabric OS FICON Configuration Guide, 8.1

portaddress --bind 11/4 C400portaddress --bind 11/5 C500portaddress --bind 11/6 C600portaddress --bind 11/7 C700portaddress --bind 11/8 C800portaddress --bind 11/9 C900portaddress --bind 11/10 CA00portaddress --bind 11/11 CB00portaddress --bind 11/12 CC00portaddress --bind 11/13 CD00portaddress --bind 11/14 CE00portaddress --bind 11/15 CF00portaddress --bind 11/16 D000portaddress --bind 11/17 D100portaddress --bind 11/18 D200portaddress --bind 11/19 D300portaddress --bind 11/20 D400portaddress --bind 11/21 D500portaddress --bind 11/22 D600portaddress --bind 11/23 D700portaddress --bind 11/24 D800portaddress --bind 11/25 D900portaddress --bind 11/26 DA00portaddress --bind 11/27 DB00portaddress --bind 11/28 DC00portaddress --bind 11/29 DD00portaddress --bind 11/30 DE00portaddress --bind 11/31 DF00# Slot 12portaddress --bind 12/0 E000portaddress --bind 12/1 E100portaddress --bind 12/2 E200portaddress --bind 12/3 E300portaddress --bind 12/4 E400portaddress --bind 12/5 E500portaddress --bind 12/6 E600portaddress --bind 12/7 E700portaddress --bind 12/8 E800portaddress --bind 12/9 E900portaddress --bind 12/10 EA00portaddress --bind 12/11 EB00portaddress --bind 12/12 EC00portaddress --bind 12/13 ED00portaddress --bind 12/14 EE00portaddress --bind 12/15 EF00portaddress --bind 12/16 F000portaddress --bind 12/17 F100portaddress --bind 12/18 F200portaddress --bind 12/19 F300portaddress --bind 12/20 F400portaddress --bind 12/21 F500portaddress --bind 12/22 F600portaddress --bind 12/23 F700portaddress --bind 12/24 F800portaddress --bind 12/25 F900portaddress --bind 12/26 FA00portaddress --bind 12/27 FB00portaddress --bind 12/28 FC00portaddress --bind 12/29 FD00portaddress --bind 12/30 FE00portaddress --bind 12/31 FF00

Sequential address binding

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 111

Page 112: Brocade Fabric OS FICON Configuration Guide, 8.1

Unbinding multiple portsThe following example scripts containing the portAddress --unbind command unbind all addresses on an 8-slot chassis that is fullypopulated with 32-port cards. You can copy and paste these scripts directly into a Telnet Fabric OS command line session. If a port doesnot exist, an error message will be reported, but this has no effect.

for ((i=0;i<32;i++)); do (echo 1/$i;portaddress --unbind 1/$i); donefor ((i=0;i<32;i++)); do (echo 2/$i;portaddress --unbind 2/$i); donefor ((i=0;i<32;i++)); do (echo 3/$i;portaddress --unbind 3/$i); donefor ((i=0;i<32;i++)); do (echo 4/$i;portaddress --unbind 4/$i); donefor ((i=0;i<32;i++)); do (echo 9/$i;portaddress --unbind 9/$i); donefor ((i=0;i<32;i++)); do (echo 10/$i;portaddress -unbind 10/$i); donefor ((i=0;i<32;i++)); do (echo 11/$i;portaddress --unbind 11/$i); donefor ((i=0;i<32;i++)); do (echo 12/$i;portaddress --unbind 12/$i); done

Unbinding multiple ports

Brocade Fabric OS FICON Configuration Guide, 8.1.0112 53-1004394-02

Page 113: Brocade Fabric OS FICON Configuration Guide, 8.1

Configuration Information RecordYou can use the following worksheet for recording FICON configuration information.

NOTEAttached E_Ports can be for an ISL, control unit (CU) interface, or central processor complex (CPC) channel path identifier(CHPID).

FICON® Switch Configuration Worksheet

FICON® Switch Manufacturer:___________________ Type: _________ Model: ______ S/N: ________

HCD Defined Switch ID _________(Switch ID)

FICON® Switch Domain ID _________ (Switch @)

Cascaded Directors No___ Yes ___

Corresponding Cascaded Switch Domain ID ____

Fabric Name _____________________

FICON® Switch F_Ports and Attached N_Ports/E_Ports

Slot Number PortNumber

PortAddress

Laser Type:LX / SX

Port Name Node TypeCU / CHNL

MachineType

Model SerialNumber

ISL, CU I/F,CPC CHPID

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 113

Page 114: Brocade Fabric OS FICON Configuration Guide, 8.1

Brocade Fabric OS FICON Configuration Guide, 8.1.0114 53-1004394-02

Page 115: Brocade Fabric OS FICON Configuration Guide, 8.1

EBCDIC Code PageExtended Binary Coded Decimal Interchange Code (EBCDIC) is an 8-bit character encoding (code page) used on IBM mainframeoperating systems such as z/OS and S/390. Code page 37 is an EBCDIC code page with full Latin-1 character set.

Brocade Fabric OS FICON Configuration Guide, 8.1.053-1004394-02 115

Page 116: Brocade Fabric OS FICON Configuration Guide, 8.1

Brocade Fabric OS FICON Configuration Guide, 8.1.0116 53-1004394-02