BCFP in A Nutshell 4gbit 0707
BCFP in A Nutshell 4gbit 0707
brocade
Significantly Higher SAN Efficiency
product
training
BCFP in a Nutshell
Study Guide for Exam 143-050
Revision July 2007
Objective: We've put together this guide is to help you prepare for the BCFP certification exam
number 143-050. We’ve added some additional items to help you even more.
Audience: This self-study guide is targeted for those who have attended CFP 264 Brocade 4
Gbit/sec Accelerated BCFP BLS course, and who wish to undertake self-study or review activities
before taking the actual BCFP test. It is also for those individuals who do not have the time to attend
the formal training, but who still wish to be certified as a BCFP. This guide is aimed at anyone who
works with Brocade products and is proficient in their knowledge of the features and functionality as
well as the day-to-day operations of. It is not intended as a substitute for classroom training, and
hands-on time. We still highly recommend you attend CFP 264 Brocade 4 Gbit/sec Accelerated
BCFP BLS.
Usage: This guide summarizes the key topics on the BCFP exam for you in an easy to use format. It
is organized closely around the exam objectives. Use the Table of Contents, List of Tables and List
of Figures to quickly jump to a given area. We also suggest this guide be used in conjunction with
our free online knowledge assessment test, CFP 265 BCFP Knowledge Assessment.
We hope you find this useful in your journey towards BCFP Certification, and we welcome your
feedback.
Page 1 of 39
BCFP IN A NUTSHELL 4 GBIT/SEC EDITION
TABLE OF CONTENTS
List of Tables ................................................................................................................................4
List of Figures ...............................................................................................................................5
1 Fibre Channel Concepts..........................................................................................................6
1.1 Decoding 24-bit address components.................................................................................6
1.2 Selection of Routes...........................................................................................................7
1.3 Fibre Channel Classes of Service .......................................................................................8
1.4 Port Initialization Sequences, Topologies and Characteristics ................................................8
1.5 Principal Switches ..........................................................................................................10
2 Switch, Fabric OS and licensed features .................................................................................11
2.1 Output From Key Fabric OS Commands ...........................................................................11
2.2 Components and Functions of FRUs..................................................................................11
2.3 Zoning Concepts and Implementation ..............................................................................13
2.4 Zone Usage Related to Zone Merge Operations and I/O...................................................14
2.5 Trunking Concepts .........................................................................................................16
2.6 Long Distance Fabric Technologies ..................................................................................17
2.7 Licensed Products...........................................................................................................18
3 SAN Hardware Components .................................................................................................19
3.1 Fibre Channel Cables and Transceivers............................................................................19
4 Initial Configuration ..............................................................................................................20
4.1 Switch Installation and Initial Configuration Steps ..............................................................20
4.2 Port-specific Configurations .............................................................................................20
4.3 Switch Configuration and Capturing a Baseline Configuration ............................................21
4.4 Verifying the Switch Configuration...................................................................................22
4.5 Validating Device Connectivity ........................................................................................23
5 Management Interfaces.........................................................................................................24
5.1 Adding an Initiator And Target Pair .................................................................................24
5.2 Fabric OS Tools to Monitor a Switch or Fabric ..................................................................25
5.3 PID Formats...................................................................................................................27
5.4 Maintenance Operation Impacts......................................................................................28
6 Security and Access Control ..................................................................................................29
6.1 Security Benefits and Implementation Requirements ............................................................29
Page 2 of 39
BCFP IN A NUTSHELL 4 GBIT/SEC EDITION
Page 3 of 39
BCFP IN A NUTSHELL 4 GBIT/SEC EDITION
LIST OF TABLES
Table 1: Routing Commands ..........................................................................................................7
Table 2: Classes of Service ............................................................................................................8
Table 3: Brocade Switch States ....................................................................................................10
Table 4: Commands to Troubleshoot Fabric Segmentation ...............................................................11
Table 5: Commands to Determine the Switch WWN ......................................................................11
Table 6: Brocade Director Blade Support.......................................................................................11
Table 7: FRU Status Commands ....................................................................................................12
Table 8: Zoning Enforcement Type................................................................................................13
Table 9: Zone Member Definitions ................................................................................................13
Table 10: Zoning Transaction Commands......................................................................................14
Table 11: Segmentation Errors .....................................................................................................15
Table 12: RSCN Suppression .......................................................................................................15
Table 13: portcfglondistance Settings ..................................................................................17
Table 14: Distance Limitations by Speed .......................................................................................19
Table 15: Port Management Commands........................................................................................20
Table 16: Switch Configuration Management Commands ...............................................................21
Table 17: System Support Commands ...........................................................................................21
Table 18: Ethernet Port Management Commands ...........................................................................22
Table 19: Switch Configuration Display Commands .......................................................................22
Table 20: Device Connectivity Commands.....................................................................................23
Table 21: Fabric Watch Information .............................................................................................26
Table 22: Fabric Watch Events.....................................................................................................27
Table 23: Extended Edge PID Format ............................................................................................28
Table 24: SSL Certificate Files ......................................................................................................29
Table 25: Commands to Diagnose Physical Switch Connectivity.......................................................32
Table 26: Commands to Diagnose Routing Issues ...........................................................................32
Table 27: FC Router Commands ...................................................................................................33
Table 28: portcmd Command ....................................................................................................33
Table 29: Switch Data Collection Commands.................................................................................34
Page 4 of 39
BCFP IN A NUTSHELL 4 GBIT/SEC EDITION
LIST OF FIGURES
Figure 1: Fibre Channel Network Addressing...................................................................................6
Figure 2: Brocade 48000 Port Area Numbers..................................................................................6
Figure 3: Device Initialization.........................................................................................................9
Figure 4: Principal Switch in a Fabric ............................................................................................10
Figure 5: Zoning Database Sizes..................................................................................................14
Figure 6: Multi-speed Trunk Groups ..............................................................................................16
Figure 7: Types of Connectors ......................................................................................................19
Figure 8: Name Server Model......................................................................................................23
Figure 9: fcping Command Example ..........................................................................................24
Figure 10: Fabric Manager Toolbar ..............................................................................................25
Figure 11: SAN Health................................................................................................................35
Figure 12: Exam Introduction Screen.............................................................................................36
Figure 13: Non-disclosure Agreement ...........................................................................................37
Figure 14: Sample Question ........................................................................................................38
Figure 15: Sample Score Sheet ....................................................................................................39
Page 5 of 39
BCFP IN A NUTSHELL 4 GBIT/SEC EDITION
Page 6 of 39
BCFP IN A NUTSHELL 4 GBIT/SEC EDITION
Routing
aptpolicy Sets the routing policy for the switch. Valid options are port-based or
exchange-based.
linkcost Set a unidirectional cost for a link:
1000 @ 1 Gbit/sec
500 @ 2 Gbit/sec
500 @ 4 Gbit/sec
pathinfo Used to determine exact path frames follow from source port to destination
port
In-order Delivery
iodset Frames are delivered in order or dropped. A new route will not be added
until the hold down period is met on the old path – hold down is equal to the
E_D_TOV = 2000ms
iodreset Wait 650ms to detect then re-run routing protocol (default setting)
iodshow Displays mode
Page 7 of 39
BCFP IN A NUTSHELL 4 GBIT/SEC EDITION
Page 8 of 39
BCFP IN A NUTSHELL 4 GBIT/SEC EDITION
E_Port (State 4)
Page 9 of 39
BCFP IN A NUTSHELL 4 GBIT/SEC EDITION
Page 10 of 39
BCFP IN A NUTSHELL 4 GBIT/SEC EDITION
Command Definition
errshow Displays the contents of the switch error log
switchshow Displays switch and port status information
fabstatsshow One use is to list the reason for fabric segmentation
Command Definition
wwn Displays the switch’s worldwide name
switchshow Displays WWN after switchWwn: heading in command output
licenseidshow Displays the system’s license ID
Page 11 of 39
BCFP IN A NUTSHELL 4 GBIT/SEC EDITION
FRU STATUS
Command Description
psshow Display status of the power supplies
tempshow Display temperature sensor readings
fanshow Display fan or blower status
sfpshow Display serial ID SFP information
sensorshow Display sensor readings
chassisshow Display all FRUs in a Director chassis
Page 12 of 39
BCFP IN A NUTSHELL 4 GBIT/SEC EDITION
ZONING ENFORCEMENT
ZONING NOTES
• LSAN zones must begin with “LSAN_” or “lsan_” (case-insensitive)
• Only Port WWNs may be used in LSAN zone device definitions
• LSAN zones are created in the edge fabrics when routing between multiple edge fabrics
• A best practice is single-initiator zones; 1 HBA/zone
• LSAN zones may also be created in backbone fabrics that run Fabric OS v5.1
Page 13 of 39
BCFP IN A NUTSHELL 4 GBIT/SEC EDITION
ZONING TRANSACTIONS
Command Description
cfgtransshow Displays the current zoning transaction information
cfgtransabort Aborts the current zoning transaction (anything since the last save)
Page 14 of 39
BCFP IN A NUTSHELL 4 GBIT/SEC EDITION
SEGMENTATION
Content mismatch Occurs when the name and type of a zone object in one fabric is also
used in the other fabric but the content or order is different..
Fabric A: alias: Eng_Stor wwn1; wwn2
Fabric B: alias: Eng_Stor wwn2; wwn1
RSCN BEHAVIOR
--disable Device changes on the port generate another RSCN to an end device
that is zoned with this one
--enable Any device change on the port does not generate an RSCN to any
other end device
RSCN NOTES
• RSCN suppression status may be determined by output from the portcfgshow command
• Look for RSCN Suppressed under the particular port in portcfgshow output
sw2:admin> portcfgshow
Ports 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
-------------------+--+--+--+--+----+--+--+--+----+--+--+--+----+--+--+--
Speed 2G 2G AN AN AN AN 4G 4G AN AN AN AN 1G AN 1G AN
Trunk Port ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON
Long Distance L1 L1 .. .. L2 .. .. .. .. .. .. .. .. .. .. ..
VC link init .. .. .. .. ON .. .. .. .. .. .. .. .. .. .. ..
Locked L_Port .. .. .. .. .. .. .. .. .. .. .. .. ON .. .. ..
Locked G_Port .. .. .. .. .. ON .. .. .. .. .. .. .. ON .. ..
Disabled E_Port .. .. .. .. .. .. .. .. .. .. .. .. .. .. ON ..
RSCN Suppressed .. .. .. .. ON .. .. .. .. .. .. .. .. .. .. ..
Persistent Disable .. .. .. ON .. .. .. .. .. .. ON .. .. .. .. ..
ISL R_RDY Mode .. .. ON .. .. .. .. .. .. ON .. .. .. .. .. ..
Page 15 of 39
BCFP IN A NUTSHELL 4 GBIT/SEC EDITION
TRUNKING NOTES
• On a 4 Gbit/sec Brocade Condor ASIC-based product, there are a maximum of 8 ISLs permitted in
one trunk group
• ISLs with different speeds within a port group will form multiple trunks
• The maximum cable differential between ISLs in a trunk group is 400 meters
• The point at which performance starts to degrade is when the deskew difference > 15
• A trunking cable differential > 30 m between ISLs will start to experience degradation due to
deskew
• The trunkshow command will display the trunk groups and deskew values
• 4 Gbit/sec Brocade products use masterless trunking
• Once trunking licenses have been added, a portdisable/portenable is required on the ports
to be used for trunking or issue switchcfgtrunk 0; switchcfgtrunk 1
• Trunked ports must be set to the same speed and long-distance settings
One port group can have both 2 Gbit/sec and 4 Gbit/sec trunks simultaneously
A two-ISL
Brocade4900:admin> switchshow 4
A six-ISL
switchName: Brocade4900 2 Gbit/sec
switchType: 44.0 Gbit/sec trunk
switchState: Online trunk
… <output truncated> …
Area Port Media Speed State
==============================
0 0 id N2 Online E-Port (Trunk port, master is Port 4 )
1 1 id N2 Online E-Port (Trunk port, master is Port 4 )
2 2 id N2 Online E-Port (Trunk port, master is Port 4 )
3 3 id N2 Online E-Port (Trunk port, master is Port 4 )
4 4 id N2 Online E-Port 10:00:00:05:1e:34:01:e6 "toist04b41"
(upstream)(Trunk master)
5 5 id N2 Online E-Port (Trunk port, master is Port 4 )
6 6 id N4 Online E-Port (Trunk port, master is Port 7 )
7 7 id N4 Online E-Port 10:00:00:05:1e:34:3b:8b "toist03b41"
(upstream)(Trunk master)
… <output truncated> …
Page 16 of 39
BCFP IN A NUTSHELL 4 GBIT/SEC EDITION
LE 0 - 10 km 0 - 10 km 0 - 10 km No
L0.5 11 - 25 km 11 - 25 km 11 - 25 km Yes
L1 26 - 50 km 26 - 50 km 26 - 50 km Yes
L2 51 - 100 km 51 - 100 km 51 - 100 km Yes
LD 0 - 500 km 0 - 250 km 0 - 100 km Yes if > 10 km
LS 0 - 500 km 0 - 250 km 0 - 100 km Yes if > 10 km
Page 17 of 39
BCFP IN A NUTSHELL 4 GBIT/SEC EDITION
MONITORING SWITCHES
• Web Tools, Advanced Performance Monitor and Fabric Watch can be used to monitor a switch
• SNMP may also be configured to set traps with the snmpconfig command
Page 18 of 39
BCFP IN A NUTSHELL 4 GBIT/SEC EDITION
4 Gbit/sec 100 m 70 m 10 km
MEDIA NOTES
• Multimode uses SWL SFPs only
• Single mode uses LWL SFPs up to 10 km; ELWL SFPs > 10 km
• SFPs should match any port speeds that are hard set via the portcfgspeed command
Page 19 of 39
BCFP IN A NUTSHELL 4 GBIT/SEC EDITION
4 INITIAL CONFIGURATION
Command Description
portcfg Use this command to configure the address resolution protocol (ARP)
entries, IP interfaces on the gigabit Ethernet (GbE) port, static routes on
the IP interface, FCIP tunnels, and registered state change notification
(RSCN) suppression.
portcfgeport Enable or disable a port from becoming an E_Port
portcfggport Enable a port as a G_Port, preventing loop initialization
portcfgshow Shows status and speed of ports
portcfgspeed Configures the port speed at AN, 1, 2 or 4 Gbit/sec
Page 20 of 39
BCFP IN A NUTSHELL 4 GBIT/SEC EDITION
Command Description
configupload Saves a copy of the switch configuration file
configdownload Restores the switch configuration file from a backup
Command Description
syslogdipadd Enables you to redirect error log messages to 1-6 external servers
errshow Show the contents of the switch error log
syslogdfacility Use this command to change the syslog facility to LOG_LOCALx, where x is in the range of 1 - 7
SUPPORT NOTES
• The syslogd daemon enables you to send error messages off of the switch to a central location
• The errdelimiterset command allows you to set custom delimiters at the start and the end of a
standard switch error message
• Running the supportsave command captures the contents of supportshow, as well as all of the
system RASLOG, TRACE, core, FFDC and other files
• Configuring SNMP with the snmpconfig command will enable the switch to send traps under
certain conditions to the SNMP management software
• SNMPv1 and SNMPv3 are supported
Page 21 of 39
BCFP IN A NUTSHELL 4 GBIT/SEC EDITION
Command Description
ifshow Displays speed of network
ifmodeshow Displays detailed network configuration
ifmodeset Sets network configuration
Command Description
configshow Displays the switch configuration file
portcfgshow Displays port configuration settings
chassisshow Display all FRUs in a Director chassis
Page 22 of 39
BCFP IN A NUTSHELL 4 GBIT/SEC EDITION
Command Description
nsallshow Displays the 24-bit addresses for all devices in the fabric
nsshow Displays contents of the local Name Server
nscamshow Display contents of the remote Name Servers
switchshow Validates a device has logged in to the fabric
nodefind Displays Name Server entries matching a WWN, PID or alias
cfgshow Displays the zoning configuration
cfgtransshow Displays information about the current zoning transaction
nszonemember Displays all online devices zoned with a given device
Page 23 of 39
BCFP IN A NUTSHELL 4 GBIT/SEC EDITION
5 MANAGEMENT INTERFACES
NOTES
• Once an initiator and target have been added, connectivity between the two must be verified
• If zoning is involved, the zoning configuration must be checked using cfgshow
• A way to test initiator-to-target communication is by using fcping
• A device contacted by fcping could either ignore the ELS Echo request or issue an ELS ACCEPT
• By default, fcping sends 5 ELS Echo requests to each port
Page 24 of 39
BCFP IN A NUTSHELL 4 GBIT/SEC EDITION
Page 25 of 39
BCFP IN A NUTSHELL 4 GBIT/SEC EDITION
Information Description
Classes Environment
Fabric
Performance Monitor
Port
E_Port
F/FL_Port (Optical)
AL_PA Performance Monitor
EE Performance Monitor
Filter Performance Monitor
Resource
Security
SFP
Configurations Default and custom
Events Triggered or continuous
Alarms SNMP trap
Event is logged to switch error log
Port log lock
RAPITrap
Email alert
One Fabric Watch configuration per switch Can be the same file for each switch
fwalarmsfilterset 0 = disable alarms, 1 = enable alarms
fwalarmsfiltershow Display current alarm settings
fwmailcfg Configure email address to receive notifications
fwconfigure Configure Fabric Watch from the command line
Page 26 of 39
BCFP IN A NUTSHELL 4 GBIT/SEC EDITION
XX1YZZ
XX is a value between 0x1 to 0xef inclusive (Domain ID 1-239 in decimal)
The “1” means Native Mode
Y is the port number 0x0 to 0xf (0-15 decimal)
ZZ is the AL_PA for a loop device or 00 for an F_Port
XXYYZZ
XX is a value between 0x1 to 0xef inclusive (Domain ID 1-239 in decimal)
YY is the port area
ZZ is the AL_PA for a loop device or 00 for an F_Port
XXYYZZ
XX is a value between 0x1 to 0xef inclusive (Domain ID 1-239 in decimal)
YY is the port area + 0x10, wrapping at 0x7f
ZZ is the AL_PA for a loop device or 00 for an F_Port
Page 27 of 39
BCFP IN A NUTSHELL 4 GBIT/SEC EDITION
Page 28 of 39
BCFP IN A NUTSHELL 4 GBIT/SEC EDITION
SSL NOTES
• SSL provides secures access to a switch through a GUI like Web Tools
• SSL uses PKI encryption
• Depending upon the CA, certificates are based on IP address or a fully-qualified domain name
nameRoot.crt The root certificate, which may already be installed in the browser. If not, it must be installed
nameCA.crt The CA certificate, installed only if you want the CA name displayed in the browser window
SNMP NOTES
• Fabric OS v5.1.0 supports SNMPv1 and SNMPv3
• The SNMP security level is set with the configure command
• The SNMP agent and traps are configured with the snmpconfig command
WEB TOOLS
• Web Tools may be disabled with the configure command
• Using the configure command, you may also enable the upfront login feature
• Upfront login requires validation before the GUI will be launched
Page 29 of 39
BCFP IN A NUTSHELL 4 GBIT/SEC EDITION
Page 30 of 39
BCFP IN A NUTSHELL 4 GBIT/SEC EDITION
Page 31 of 39
BCFP IN A NUTSHELL 4 GBIT/SEC EDITION
7 TROUBLESHOOTING
Command Description
nsallshow Displays the 24-bit addresses for all devices in the fabric
nsshow Displays contents of the local Name Server
portlogdump Display the switch port log
switchshow Validates a device has logged in to the fabric
porterrshow Displays a port error summary
cfgshow Displays the current zoning configuration
portflagsshow Shows the port status and initialization
fcping Sends a Fibre Channel ELS Echo request to a pair of ports
Command Description
urouteshow Displays routing information for a port
islshow Displays current connections and status of ISLs
trunkdebug Debugs failures in trunks
topologyshow Display fabric topology as it appears to the local switch
aptpolicy View or set the switch routing policy
Page 32 of 39
BCFP IN A NUTSHELL 4 GBIT/SEC EDITION
Command Description
fcrrouteshow Displays routes through the Router backbone fabric
fcrphydevshow Displays physical devices configured to be exported to another fabric
fcrfabricshow Display Routers that exist in a backbone fabric
fcrresourceshow Display available resources on the Router
fcrproxydevshow Display devices presented by Router EX_Ports
Page 33 of 39
BCFP IN A NUTSHELL 4 GBIT/SEC EDITION
Command Description
tracetrig Set/clear a trace trigger on a specific error message
traceftp Enable an immediate trace dump to be retrieved from the switch to the FTP site;
configured in supportftp
supportftp Set/clear auto-FTP parameters, and/or check connectivity to the FTP server
fcrresourceshow Display available resources on the Router
fcrproxydevshow Display devices presented by Router EX_Ports
supportsave Captures the contents of supportshow, as well as all of the system RASLOG, TRACE,
core, FFDC and other files; for Directors – run on both CPs
Page 34 of 39
BCFP IN A NUTSHELL 4 GBIT/SEC EDITION
Page 35 of 39
BCFP IN A NUTSHELL 4 GBIT/SEC EDITION
Page 36 of 39
BCFP IN A NUTSHELL 4 GBIT/SEC EDITION
After the Introduction Screen, once you click on Next, you will see the non-disclosure agreement:
Page 37 of 39
BCFP IN A NUTSHELL 4 GBIT/SEC EDITION
Once you agree to the non-disclosure terms, the timed exam will begin. This is a sample of how the
questions will look. In this example, you see a multiple-choice question.
Page 38 of 39
BCFP IN A NUTSHELL 4 GBIT/SEC EDITION
This is a sample of the score sheet you will see at the end of the exam. You also see the breakdown of
how many questions there are in each section of the exam. A hard copy of this will be printed at the
testing center. It is vital that you obtain and save this hard copy as proof and validation.
Page 39 of 39