Professional Documents
Culture Documents
FICON For CCIEstudy May PDF
FICON For CCIEstudy May PDF
101
CCIE
SAN
Study
Group
• FICON is Fibre
Channel FC-4 layer
Single Byte protocol
ULP SCSI – 3/4 Command Code
(Upper Level Protocol) Sets • It is at the same
layer as FCP
protocol
SCSI— FC-SB2/FC-SB3
FC - 4 Command Set
• Fibre Channel
Mapping (FCP) (FICON) –”Single Byte
Command Code”
FC - 3 mapping protocol
Common Services is described in FC-
SB3, FC-SB4
FC - 2 Framing Protocol/Flow control • FC-SB2 is an older
version. FC-SB3-4
FC - 1 is superset.
Encode/Decode (8/10)
FC - 0 Ref: www.t11.org
Physical Variant
FICON © 2010 Cisco Systems, Inc. All rights reserved. 5
FICON Terminology
A Channel is a physical entity/element of the processor, acting as
the interface between the CPU and the CU
– A Channel Image instantiates multiple, logical channels behind a
physical channel
A Channel Path includes the interface adapter, physical fiber pair,
and up to two intervening FICON switches/directors between the
channel and the CU
A Channel Path Identifier (CHPID) is a single hexadecimal byte
value identifying each channel path to the system
N Port
Legend
MIF
LPAR 1
Channel N_Port CU
N_Port
LPAR 2
N_Port CU
LPAR n
CH =
Initiator
CU = Target
FICON
Control
Unit
Same Well
Known Fibre
CH to Switch Channel
Addresses
CH to CU
Can register
Defined both SCSI and
In FC-FS FC-SB FC-4
types
[snip]
• QSA = 0x7E 00 00 00
• Revision field = 0x00 00
00 01
FICON © 2010 Cisco Systems, Inc. All rights reserved. 26
QSA Accept
QSA Accept sent if Security Features enabled
Bit Meaning
0 Fabric Binding
1 Static DomainID
2 Soft Zoning
3 Hard Zoning
4 SLAP
5 SRP
6 MS CT
0000 0011 Bit 0 & 1 are on
Authentication
7654 3210 BIT numbers 7-31 Reserved
272.210594 ff.ff.fd -> ff.ff.fd 0xa 0xa FC Link Ctl, ACK1! Class F Ack
272.241828 ff.ff.fd -> ff.ff.fd 0xa 0xa SW_ILS SW_ACC (0x32000000)! ESA Accept
272.242168 ff.ff.fd -> ff.ff.fd 0xa 0xa FC Link Ctl, ACK1!
Class F Ack
Bytes: 4 24 32 0 - 8160 4 4
S FC FICON E
Idles O Data Payload CRC O Idles
F Header Header F
Bit 0 7 8 15 16 23 24 31
Status DIB
IU Pacing
CRR CMR
Channel CU
Frames Frames
N_Port F_Port E_Port E_Port F_Port N_Port
R_RDYs R_RDYs
FICON FC
FC
FC
zSeries server
FICON © 2010 Cisco Systems, Inc. All rights reserved. 38
Disaster Recovery Applications
Feature Explanation
Predictable and persistent Since Link addresses are mapped to FC-ID, FICON requires FC-Ids to
FCID allocation be predictable and persistent.
FICON also requires uniform “port” byte (last byte in FC-ID) in FICON
fabric.
Support for new LIRR, RLIR, Link Incident Record (LIR) ELS reports link level events in the fabric
and DRLIR ELS to the channel N-port.
Examples of link incidents are loss of signal or synchronization,
primitive sequence timeout, Invalid primitive sequence, NOS
received
Concept similar to RSCN
Report Node Identification RNID is an ELS command, which can have common and specific
(RNID) ELS Node data.
FICON defines a specific node data field format.
Large Buffer to Buffer Credit FICON requires 60 B2B credit for 100 Km and 6 B2B credit for 10 Km.
Allocation MDS 9000 FICON supports up to 255 B2B Credits per Port +
extended buffer credits
In-order Delivery FICON requires in-order delivery for class 2 and class 3 frames.
Fabric Binding and EFMD ELS Fabric Binding feature prevents unauthorized switches joining the fabric
based on switch WWNs.
Exchange Fabric Membership Data (EFMD) is used to distribute this
information fabric wide.
Security Attributes (QSA and FICON requires Fabric Binding and Insistent Domain ids to be enabled
ESA) in the entire fabric.
Query Security Attribute (QSA) is used by Channels to ensure these
features are turned on.
Exchange Security Attribute (ESA) is used by switches to validate these
attributes during E port bringup.
FICON Manager
Running process that manages functionality required
to support FICON in a VSAN, doing the necessary
checks for enabling FICON and holding all FICON
specific configuration information.
CLI
FCD
Mainframe SNMP GUI
(CUP)
FICON
Manager
FC2 Others
Vsan Port
Manager Manager
STATE Meaning
Enabled User has configured FICON on a given VSAN.
FICON FICON
Configuration Configuration
Including Including
Port Address, Port Address,
Block State, etc. Block State, etc.
pWWN assigned
switch2# show flogi database vsan 1977
---------------------------------------------------------------------------
INTERFACE VSAN FCID PORT NAME NODE NAME
---------------------------------------------------------------------------
sup-fc0 1977 0x4dfe00 22:00:00:05:30:00:46:e0 27:b9:00:05:30:00:46:df
Next step is to bind the FICON port number, set the port type to an ISL (E_Port),
and set it up so that only VSANs 1 and 10 can trunk across the PortChannel.
ficon vsan 2
file IPL
switch1(config-ficon)# portaddress 1
switch1(config-ficon-portaddr)# ?
FICON config for portaddress:
block Block a range of portaddress
do EXEC command
end Exit from configure mode
exit Exit from this submode
name Give name for a portaddress
no Negate a command or set its defaults
prohibit Prohibit communication with a range of portaddress
SDSF
TSO Command Input
SDSF
TSO Command Input
HCD
V D40-D74,ONLINE
IEF503I UNIT 0D50 I/O ERROR
IEF503I UNIT 0D51 I/O ERROR
...
HCD
TSO
52 Devices
Unit = 3390
Begins at D40
CUP Device
Unit = 2032
at well-known
0xFE
Default configuration
- No change for 1, 2, 6 and 9 slot chassis
- 13 slot chassis will have 11 slots w/ 16 port-numbers each
HA compatibility
switch1# sh module
Mod Ports Module-Type Model Status
--- ----- -------------------------------- ------------------ ------------
2 24 1/2/4 Gbps FC Module DS-X9124 ok
3 8 IP Storage Services Module DS-X9308-SMIP ok
4 16 1/2 Gbps FC Module DS-X9016 ok
5 0 Supervisor/Fabric-1 DS-X9530-SF1-K9 active *
6 0 Supervisor/Fabric-1 DS-X9530-SF1-K9 ha-standby
8 4 10 Gbps FC Module DS-X9704 ok
Finding out what is assigned – this example show the defaults for a 9509
Troubleshoot port problems (performance, failing) like any other case. Assume the switch is the problem
and rule it out!
attach mod x
term len 0
show hardware internal debug-info interface fc x/x
clear asic-cnt list-all-devices
clear asic-cnt all
clear asic-cnt device-id 3
From Supervisor
show flogi internal event interface fcx/y (for both CH and CU interfaces)
show port internal event-history interface fcx/y
show ficon internal event-history vsan x interface fcx/y.
show ficon internal event-history vsan 1
show ficon internal event-history msgs
show ficon internal event-history errors
show ficon internal info
The list of commands that are useful from SAN-OS(later NX-OS) CLI:
Setup ficon
ficon slot X assign port-numbers 48-63
show ficon port-numbers assign slot 3
show ficon port-numbers assign logical-port
show ficon vsan X portaddress brief
show ficon vsan vsan-id file name filename portaddress
show ficon vsan 20 portaddress 8 counters
Thanks for attending this session and Good Luck in your CCIE Journey