Professional Documents
Culture Documents
Lab Guide
Overview
Use the exercises here to complete the labs for this course.
Outline
This Lab Guide includes these exercises:
Lab Exercise 1: Initial Switch Configuration
Lab Exercise 2: Installing Fabric Manager and Device Manager
Lab Exercise 3: Exploring Fabric Manager and Device Manager
Lab Exercise 4: Configuring VSANs
Lab Exercise 5: Configuring PortChannels
Lab Exercise 6: Configuring Interfaces
Lab Exercise 7: Configuring Zones
Lab Exercise 8: IVR
Lab Exercise 9: FCIP Basic Configuration
Lab Exercise 10: FCIP Performance Tuning
Lab Exercise 11: Cisco Fabric Services
Lab Exercise 12: FC Analyzer
Lab Exercise 13: Using the Port Analyzer Adapter and SPAN
Lab Exercise 14: Performing Software Upgrades
Lab Exercise 15: Challenge Lab
SAN-OS 3.2 Addendum
Intro-2 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Lab Exercise 1: Initial Switch Configuration
Exercise Objective
In this exercise, you will configure MDS 9000 switches for out-of-band management and
explore the MDS command-line interface (CLI). After completing this exercise, you will be
able to meet these objectives:
Clear the current startup configuration and reboot the switch
Start the interactive setup process on an MDS 9000 switch
Configure an MDS 9000 switch for out-of-band management
Navigate through the switch CLI structure
Use command completion and help
Save the running configuration
Save the switch configuration to a TFTP server
Visual Objective
Figure 1 illustrates what you will accomplish in this exercise.
You will configure the out-of-band (OOB) mgmt0 Ethernet interfaces on your assigned MDS
switch, and save and restore your configuration from a TFTP server.
Required Resources
These are the resources and equipment required to complete this exercise:
Two MDS 9000 Fibre Channel switches
Access to TFTP server
Command List
A summary of CLI commands used in this exercise is described in the table here.
Command Description
show ? Displays all the permissible features for the show command for the
current user
show system redundancy Verifies that the system is ready to accept a supervisor
status switchover.
Displays environment-related switch information, such as fan, power,
show environment
and temperature status
config term Enters configuration mode
exit Exits one level in the menu structure. If you are in EXEC mode this
command will log you off the system.
copy running-config
Saves the running configuration as the startup configuration
startup-config
copy running-config
Saves the running configuration to a TFTP server
tftp://ip_address/path
dir [volatile: |
Displays the contents of the specified memory area
bootflash:]
show file name Displays the contents of the specified file
1-2 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Overview
You will perform the initial configuration of MDS 9000 switches to enable out-of-band access
and management.
Note: You will be working in teams. One team will configure Px-MDS1 and the other team will configure
Px-MDS2.
Exercise Procedure
Complete the following steps:
Step 1 Access and login to the console of your assigned MDS 9000 switch.
Switch login: admin
Password: 1234qwer
Step 2 On a new, out of the box switch you will see a default switch prompt (switch#)
indicating that the device has probably not been configured. The prompt you see will
probably be for the form Px-MDS#, as your switch has been previously configured.
To simulate a fresh install you will clear the current startup configuration and reboot
the switch as follows:
switch# write erase
Type y to proceed.
Note: The ‘write erase’ command is a potentially dangerous command to run on a switch as it clears the
startup configuration from persistent, or non-volatile, memory (NVRAM).
Type y to proceed.
Note: At this point, you may be disconnected from the console. If so, re-connect and observe the console
messages as the switch reboots. The SAN-OS operating system should load automatically,
but the startup configuration file will be missing.
Step 4 After the switch reboots, it will prompt you for the administrator password. Enter
and confirm 1234qwer (your keystrokes will not be echoed to the screen).
---- System Admin Account Setup ----
Enter the password for “admin”: 1234qwer
Confirm the password for “admin”: 1234qwer
Read the message that is on the screen and then enter y to continue. Answer the
questions below according to the following example. Substitute numeric values for
X and Y as provided by your instructor.
1-4 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Note: Whenever you see the appropriate response in brackets [], you can simply press Enter to accept
the default response.
1-6 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Task 2: Exploring the MDS 9000 CLI and setting the clock
In this task, you will briefly explore the MDS 9000 command-line interface (CLI).
Exercise Procedure
Complete these steps on one of the MDS 9000 switches in your pod:
Step 1 Login to your switch console using the login name admin and password 1234qwer
that you configured in Task 1. This will place you in what is known as EXEC Mode.
Step 2 At the EXEC Mode prompt, type <?> to view commands available in the current
mode:
# ?
Step 3 At the --More-- prompt, press <Enter> to see the next line, <Space> to see the
next screen, or <q> to quit and return to the switch prompt.
Step 4 Display all commands that begin with s, sh, and show as follows:
# s?
# sh?
# show ?
Note: Notice that the first two commands have no space after the <?>. Note also that <?> does not
terminate the command line; after help is displayed you are returned to where you were.
Note: Abbreviate the syntax, then press the <tab> key to complete each word; for example, type
sh<tab> ru<tab> . The <tab> and <?> keys are your friends; use them often.
Note:Depending on the version of Java running on your local host the <tab> key may or may not work properly.
Even if the <tab> key does not work from a console connection, it will work from a telnet or ssh
connection. After this lab almost all CLI commands will be executed from a telnet or ssh connection
so plan on using the <tab> feature in subsequent labs.
Note: Sfp stands for Small Form Factor Pluggable, i.e., a GBIC.
Note: VSAN 4094 (the Isolated VSAN) will be discussed at length later in the course. Here, simply note that
both VSAN 1 and VSAN 4094 exist without any explicit configuration. Also note that VSAN 4094 does not have
a State or an Operational State.
Step 8 Display the installed version of SAN-OS by examining the kickstart and system
variables in the output of the following command:
# show version
Step 9 Ping your default-gateway:
# ping 10.0.X.254 (X is your pod #.)
Does the gateway respond? ___________
Step 10 Press Ctrl-C to abort the ping command.
Step 11 Enter Configuration Mode as follows (observe the change in the prompt string):
# config terminal (abbr: conf <Enter>)
Step 12 Attempt to invoke the show version command. Are you successful? _________
(config)# show version
Step 13 Type a question mark to view commands available in Configuration Mode.
1-8 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 18 Type <end> or <Ctrl-Z> to back out all the way to EXEC mode:
(config)# end (or type Ctrl-Z)
Exercise Procedure
Complete these steps on your assigned MDS 9000 switches:
Step 1 From EXEC mode set the system clock:
# clock set 16:40:00 2 February 2008
Sat Feb 2 16:40:00 UTC 2008
Step 4 Enable the daylight saving time clock adjustment. In the U.S. the daylight saving
time adjustment occurs on the second Sunday in March and ends on the first Sunday
in November. You can update the configuration of your switch to accommodate
this change using the following command:
(config)# clock summer-time PST 2 Sunday March 02:00 1 Sunday November
02:00 60
1-10 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Task 4: Saving the Switch Configuration
In this task, you will save and restore switch configurations.
Exercise Procedure
Complete these steps on one of the MDS 9000 switches:
Step 5 Copy your running configuration in RAM to the startup configuration in NVRAM:
# copy running-config startup-config (abbr: copy run start)
Step 6 Ping the TFTP server from your MDS switch console.
MDS1# ping 192.168.0.198
PING 192.168.0.198 (192.168.0.198): 56 data bytes
64 bytes from 192.168.0.198: icmp_seq=0 ttl=255 time=0.3 ms
64 bytes from 192.168.0.198: icmp_seq=1 ttl=255 time=0.3 ms
--- 10.0.66.2 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 0.3/0.3/0.3 m
Note: Ping will continue until you abort it with Ctrl-C. If the ping is not successful, investigate why and fix
the problem (for example, verify that your MDS 9000 has its mgmt0 interface and default-
gateway configured properly for your switch).
Step 7 The basic syntax of the copy command is “copy <source> <destination>”, where
<source> and <destination> can be a number of locations, including the running and
startup configuration files, as well as remote file servers. Enter the following to
determine valid copy source locations:
# copy ?
Step 8 Enter the following to determine valid copy destination locations:
# copy run ?
Step 9 Save your running configuration to the TFTP server as follows (where the IP address
is the IP address of your TFTP server and fname is a unique filename that you will
remember later):
# copy running-config tftp://192.168.0.198/podX/<fname.cfg>
Note: To make your life easier, remember to abbreviate commands and/or use the <tab> key for
command completion.
Step 10 Copy the configuration you just saved back to the switch volatile file system.
# copy tftp://192.168.0.198/podX/fname.cfg volatile:fname.cfg
Note: Volatile is a RAM file system that is used as a temporary scratch area. Anything left in here will be
lost when a switch reboots.
Step 13 Delete the file you just copied, and then confirm the result:
# del volatile:fname.cfg
# dir volatile:
Step 14 End your CLI session and log off:
# exit
1-12 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Appendix A – Sample Lab Configuration File
The following is a complete sample configuration file taken from P1-MDS1 in Pod 1.
P1-MDS1# show running-config
version 3.0(2)
fcdomain fcid database
vsan 1 wwn 21:00:00:e0:8b:03:d1:24 fcid 0x110000 area dynamic
vsan 1 wwn 21:00:00:e0:8b:03:c3:24 fcid 0x110100 area dynamic
vsan 1 wwn 20:09:00:0d:ec:06:4a:00 fcid 0x110300 area dynamic
vsan 1 wwn 21:01:00:e0:8b:23:c3:24 fcid 0x110400 area dynamic
vsan 1 wwn 21:01:00:e0:8b:23:d1:24 fcid 0x110500 area dynamic
vsan 1 wwn 20:06:00:0d:ec:06:4a:00 fcid 0x110600 area dynamic
clock timezone PST -8 0
clock summer-time PST 2 Sunday March 02:00 1 Sunday November 02:00 60
interface fc1/1
interface fc1/2
interface fc1/3
interface fc1/4
interface fc1/5
interface fc1/6
interface fc1/7
interface fc1/8
interface fc1/9
interface fc1/10
interface fc1/11
interface fc1/12
interface fc1/13
interface fc1/14
interface fc1/15
interface fc1/16
interface fc1/17
interface fc1/18
interface fc1/19
interface fc1/20
callhome
interface fc1/1
interface fc1/2
interface fc1/3
interface fc1/4
interface fc1/5
interface fc1/6
interface fc1/7
interface fc1/8
interface fc1/9
interface fc1/10
interface fc1/11
interface fc1/12
interface fc1/13
interface fc1/14
interface fc1/15
interface fc1/16
interface fc1/17
interface fc1/18
interface fc1/19
interface fc1/20
interface mgmt0
switchport speed 100
ip address 10.0.4.5 255.255.255.0
1-14 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Lab Exercise 2: Installing and Configuring the
Fabric Manager and Device Manager
Exercise Objective
In this exercise, you will install and configure the Cisco MDS Fabric Manager (FM) and
Device Manager (DM) applications. After completing this exercise, you will be able to meet
these objectives:
Uninstall Cisco Fabric Manager and Device Manager
Install Cisco Fabric Manager and Cisco Device Manager
Additionally, Appendix A provides instructions on how to download, install, and configure the
Java Runtime Environment (JRE) and Java Web Start
Visual Objective
The figure illustrates what you will accomplish in this exercise.
You will install Fabric Manager and Device Manager on one of the Windows 2000 servers in
your pod.
Note: Subsequent lab exercises will focus on the Fibre Channel network, but for purposes of this
lab the focus will continue to be on the out-of-band Ethernet network as illustrated above.
Required Resources
These are the resources and equipment required to complete this exercise:
2 MDS 9000 Fibre Channel switches
2 Windows 2000 hosts with Java Runtime Environment (JRE) and Java Web Start installed
Overview
Before you can install the Cisco Fabric Manager or Device Manager, the host must have the
Java Runtime Environment (JRE) and Java Web Start installed. The Windows 2000
installation process is as follows:
1. A user opens a web browser on the host and browses to the IP address of the MDS 9000 in
that pod. In this lab we will use Internet Explorer.
2. The MDS 9000’s built-in web server presents the Fabric Manager & Device Manager
installation page to the host.
3. If your system does not have the correct version of Java Runtime Environment (JRE)
installed, a warning message will appear with a Java Runtime Environment link. Selecting
the link will connect to java.sun.com to download JRE where you can then launch the
installation executable that will install both Java Runtime Environment and Java Web Start.
4. After Java is installed, you can reconnect to your MDS 9000 switch and install Fabric
Manager Server, Fabric Manager, and Device Manager.
In the lab, the Java components are already installed. You do not need to reinstall the Java
components. However, the installation process for the Java components is outlined in the
Appendix of this lab.
2-2 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Task 1: Uninstalling Fabric Manager and Device Manager
Step 1 Click your W2K server on the lab topology map. (Use W2K1 if you have been
assigned to MDS1; use W2K2 if you have been assigned to MDS2.)
Step 2 Click on the Microsoft Windows Remote Desktop Web Connection “Connect”
button. Note, the server field should be left blank.
Step 4 Uninstall Fabric Manager and Device Manager: Launch the uninstall batch file.
From your Windows desktop, click Start | Programs | Cisco MDS9000 |
Uninstall.
Note: If this menu option is not available, proceed to the next task.
2-4 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 6 When prompted enter “y” to remove PostgreSQL:
Note: If you are working alone in your pod, you may use either W2K server. If you are working in
teams, the team configuring Px-MDS1 will use W2K-Server-1 and the team configuring Px-
MDS2 will use W2K-Server-2.
Exercise Procedure
Complete these steps:
2-6 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 3 As shown below, click on the “here” link to go directly to the Fabric Manager
installation page.
2-8 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 8 When the Cisco Fabric Manager Installer 3.2(3) window appears, click Next:
2-10 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 10 Ensure that Fabric Manager Standalone is selected and accept the default
installation folder. Click Next:
2-12 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 12 Enter and confirm 1234qwer as the Fabric Manager Server password. Then click
Next.
2-14 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 14 Ensure both check boxes shown below are unchecked and click Install.
Step 16 Enter the password 1234qwer in the FM Server Password field and click the
Login button.
2-16 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 17 Enter the IP address of the management port (mgmt0) of your assigned MDS
switch, enter the switch password (1234qwer) and click the Discover button.
Note: You may see a Module Warning and an orange dashed X over your switch icon as shown
above. The warning suggests that the switch is functioning but that there may be an issue
requiring administrator intervention. In this case we will see that the warning is being
caused because one of the switch power supplies is not in service.
Step 20 Double click your switch icon in the Fabric Manager topology map. This should
launch Device Manager. Optionally, you can right-click the switch icon and
select Device Manager, or double-click the Device Manager shortcut icon on the
Windows Desktop. If you see the device manager graphic, you have successfully
installed Fabric Manager and Device Manager.
2-18 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 21 The red thunderbolt in the lower left hand corner suggests a non-functional power
supply. To verify select Physical -> Power Supplies. It appears that Power
Supply 2 is not currently receiving power. Note: In this case the power supply is
not plugged in.
Note: Feel free to explore Device Manager, but please do not enable any interface at this time.
Before you can run Fabric Manager or Device Manager, your system must have the Java
Runtime Environment (JRE) 1.5 and Java Web Start installed. This appendix outlines the steps
to install JRE and Java Web Start on a Windows 2000 system.
Step 1 Locate and open the MDS9000-CD folder on your desktop.
Step 2 Double-click the install_windows.htm icon:
Step 3 Hover your mouse cursor over Install Management Software and
click on Java Runtime Environment 1.5:
2-20 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 4 Click on the link JRE 1.5 for Windows:
2-22 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Lab Exercise 3: Exploring Fabric Manager and
Device Manager
Exercise Objective
In this exercise, you will explore some basic features of Fabric Manager and Device Manager.
This exercise is intended to help you become familiar with the graphical user interfaces of these
applications. After completing this exercise, you will be able to meet these objectives:
Navigate within the Fabric Manager and Device Manager interfaces
Describe the basic capabilities of Fabric Manager and Device Manager
Visual Objective
The figure illustrates the topology that you will explore in this exercise.
You will begin with a single-switch fabric and add your pod’s second switch as you and other
pod administrators bring up ISLs between your two switches.
Required Resources
These are the resources and equipment required to complete this exercise:
2 MDS 9000 Fibre Channel edge switches
2 Windows 2000 hosts with Java Runtime Environment (JRE) and Java Web Start installed
Task 1: Enabling Interfaces Using FM and DM
In this task you will launch Fabric Manager and use the GUI to enable FC interfaces.
Exercise Procedure
Complete these steps:
Step 1 If the Fabric Manager is not already open, double-click the Cisco Fabric Manager
SA shortcut icon on the Windows Desktop. Enter the IP address of your MDS
switch (10.0.X.5 or 10.0.X.3) and the Auth Password 1234qwer. Click Open.
3-2 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 3 At this point you should see a one-switch fabric in the topology map. For example,
in Pod 4, P4-MDS1 should appear as follows:
Step 4 In the Physical Attributes pane, open the Switches folder and then the Interfaces
folder and select FC Physical.
Step 6 See if you can grab the bar between the two windows and drag it upward and
downward (this may be a bit tricky in the lab due to the emulation environment we
are using).
Step 7 Locate the Interfaces “Status Oper” column. This column refers to the operational
status. What is the operational status of your interfaces? ___________
Note: FM and DM screens and menu options may change slightly from release to release. The current
labs are based on SAN-OS 3.2.3
Step 8 Locate the row for your first ISL (int FC1/1). Click in the Admin field under the
Status column; Select up to enable the interface.
3-4 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 9 Above the table, click the Apply Changes button.
Note: Do not continue until the administrator of the other Cisco MDS switch in your pod has successfully
brought up the ISL.
Step 10 Return to the topology map window and click the Layout Map button. The button
below it is the Refresh Map button. Together they can be useful in rearranging and
cleaning up the display.
Step 11 Observe the fabric topology map view. If your pod’s second switch does no appear
select File -> Fabric Rediscover and wait for a minute. Do not proceed until both
switches are visible in the Fabric Manager topology pane.
Step 12 Locate your switch in the topology map and double-click it to invoke Device
Manager. Please be sure it is the switch assigned to you.
3-6 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Task 2: Exploring the Fabric Manager Map View
In this task you will view your pod’s fabric in the Fabric Manager map view, and experiment
with various features of Fabric Manager. You are encouraged to explore beyond the features
shown here if time permits.
Exercise Procedure
Complete these steps:
Step 1 Sometimes, when the topology changes, you might want to adjust the positions of
the icons to clean up the display. Fabric Manager automatically rearranges map
when you click on the Layout Map button in the icon column to the left of the
fabric map.
Step 4 With your left mouse button, click and hold an object and drag it to a new position,
then release.
Exercise Procedure
Complete these steps:
Step 2 Click the VSAN0001 folder in the Logical Domains pane and observe the updated
table above the Fabric map. Click the Name column to sort the list of switches in
descending order. Click it again to sort the list in ascending order.
Step 3 Click on the ISLs, Hosts, and Storage tabs to view the information displayed.
3-8 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 4 In the Physical Attributes pane, open the Switches folder and click Hardware.
Observe the table containing Inventory information for all the switches in the
fabric. Click on the Switch column header to sort by switch name and locate your
switch.
Step 5 Select the other tabs to view Card Module Status, Temperature Sensors, and
Power Supplies. In each table, sort by the Switch column and locate your pod’s
switch.
Exercise Procedure
Complete these steps:
Step 1 Locate your switch in the Fabric Manager topology map window.
Step 2 Right-click your switch and select Device Manager.
Step 3 In our classroom environment many of our switches only have a single power supply
connected to a power source. In such cases the one of the power LEDs will be red.
Mouse over the red lightening bolt in the lower left. You should see a status message
indicating the second power supply is offline. If your switch does not display a red
LED for the power supply, mouse over a green LED and observe the status message.
Step 4 Note the SAN-OS firmware version displayed in the upper right.
3-10 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 5 Click the black triangle in the lower right corner to display a port status legend.
Step 6 You should see that ISL port is enabled as a TE ports. Double-click the port.
Step 8 Select Command Line Interface from the Device Manager Device menu. Login
with the username admin and the password 1234qwer.
Step 9 From your console command prompt, display the current interface status for your
ISL port.
# show interface fc1/1
Step 10 Select Inventory from the Physical menu item. Note that the same information is
displayed here as in Fabric Manager, however this time it is for a single device.
3-12 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 12 Double-click the Mgmt interface to display settings for the mgmt0 interface.
Click on the IP Address(es) button.
Step 13 Select the CDP Neighbors tab. In the example shown here, our mgmt0 interface is
attached to port 3/11 of a Catalyst 6503 in VLAN 101. Click Close.
Click the Membership tab. Verify that all ports are in the default VSAN number 1.
Note your Domain ID. Is your local switch also the Principal switch? ___________
Step 17 Close the Domain Manager window.
Step 18 Select the FC | Advanced | FSPF menu item. Click on the Interfaces tab.
3-14 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 20 Select the Summary tab in Device Manager.
Make note of the default polling interval. How low can the interval be set?
Note the % CPU and Memory utilization. How much Flash memory is utilized?
Step 22 Return to Fabric Manager. Locate your switch in the topology map and double-
click it to invoke Device Manager again.
Note: Unless and until you reload the switch, changes made to the running-config will not be lost. Still, it is
always a good practice to copy the running config to the startup config after making
modifications.
Step 24 Close the interface configuration window and minimize Device Manager.
3-16 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Task 5: Performing a Fabric Configuration Analysis
In this task you will use Fabric Manager to purposely configure an interface parameter
incorrectly and then use the Fabric Configuration Analysis tool to identify and resolve the
resulting inconsistency.
Note: If you are working alone in a pod, you may proceed at this time. If two teams are sharing the pod,
you must wait until both teams are ready to proceed.
Note: If you see a Red X over port 2 as shown above, it probably means that the other switch in your pod
has not yet enabled this port (you are not “seeing light” on the port). This interface will create
an EISL link between your two switches.
Step 3 Wait until both switches in your pod display a green box surrounding the label TE
for both ISL ports. Ensure that all other ports are disabled.
Step 6 Select the Physical Attributes tab in the tree view. Expand the Switches folder,
then expand the Interfaces folder and click FC Physical.
Step 7 Click the FSPF tab. Notice that the default FSPF Hello interval is 20 seconds, the
default Dead interval is 80 seconds, and the State is full.
3-18 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 8 If you’re working on the Px-MDS1, change the Hello interval for both your switch
entries to 25.
If you’re working on the Px-MDS2, change the Dead interval for both your switch
entries to 85.
If you’re working alone in your pod change all four. Click the Apply Changes
button.
Step 9 From the Fabric Manager icon toolbar, click Fabric Configuration Analysis.
Step 10 Select your switch from the Policy Switch from the pull-down menu. Click
Compare.
Step 14 The Fabric Checker Resolution Details window appears with recommended
changes to resolve the issue. Click OK. Click Close.
3-20 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 15 Click the Refresh Values button in the FSPF window. Verify that the Hello and
Dead intervals for your switch are reset to their default values.
Feel free to explore more on your own with FM and DM, but please do not bring up other
interfaces at this time.
Step 16 Close Fabric Manager. Click No to the save configuration changes prompt.
Visual Objective
Figure 1 illustrates the topology that you will implement in this exercise.
Command List
The commands used in this exercise are described in the following table.
Command Description
Overview
After performing the initial configuration of your switches and management workstations, you
must configure the required VSANs. In our case it has been decided that VSAN 1 will be used
strictly as a “Management VSAN” in order to provide a unified view of the entire physical
SAN fabric. Each edge “pod” will represent a separate department with its own redundant SAN
fabric topology. These will be implemented using VSANs. In order to minimize the chance of
disruptive fabric reconfiguration events and guarantee that FCIDs do not change you will
configure statically assigned, per-VSAN switch Domain IDs. Furthermore, in order to provide
for the possibility of later implementing Inter-VSAN Routing (IVR), you will configure
Domain IDs which are globally unique.
Note: As of SAN-OS 2.1 globally unique Domain IDs are no longer required to implement IVR. Many
SAN administrators still prefer to set static domain ID’s.
Note: As noted in Figure 1 above, one would typically build a redundant fabric design by creating VSAN
X1 only on one switch and VSAN X2 on the other. However, for educational purposes we
will be creating both VSANs on both switches, even though one VSAN on each switch will
not have any ports assigned to it.
4-2 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Task 1: Creating and Verifying VSANs
In this task, you will configure multiple VSANs and add the interfaces of the MDS 9000 switches in
your pod that connect to the JBOD and the Windows 2000 servers.
Note: Our focus will be on using the graphical FM and DM. However, for those of you who prefer to use
the command line interface, we will also include the relevant CLI commands.
Step 3 From the Logical Domains pane select the All VSANs folder.
If you are working on Px-MDS1 you will create VSAN X1 on both switches in your pod (“X”
refers to your pod number}.
If you are working on Px-MDS2 you will create VSAN X2 on both switches in your pod.
Note: VSANs can be created from the CLI, DM or FM. A big advantage of using FM is that you can
instantly and easily create a VSAN across multiple switches in the fabric.
4-4 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 5 Both switches in your pod should be selected.
If you are working on Px-MDS1, enter the VsanId of X1 and Name VSAN_X1
(where X is your pod number).
If you are working on Px-MDS2, enter the VsanId of X2 and Name VSAN_X2.
Leave the defaults for everything else. Click the Create button.
Note: Do not include spaces in the Name field—use underscores instead of spaces. Also, pay attention
to upper and lower case since SAN-OS is case sensitive.
Note: Staic Domain IDs could be configured from the Create VSAN form. We will configure static domain
IDs using a different utility later in this lab.
Note: If you are working alone in your pod, create both VSANs on both switches.
Note: A VSAN is considered operationally up if it has at least one functioning interface. Because the EISL
links between the two switches are trunking for all VSANs, the TE interfaces are up for all
VSANs that exist on both ends of the links.
Step 7 Select your switch icon in the topology map window. Right-click and select
Command Line Interface. Login with username admin and the password
1234qwer.
Step 8 Enter the command “show running-config diff”. The output will compare the
running-config to the startup-config and tell you what has changed.
P1-MDS1# show running-config diff
*** Startup-config
--- Running-config
***************
*** 1,7 ****
--- 1,12 ----
version 3.0(2)
+ vsan database
+ vsan 41 name "VSAN_41"
+ vsan 42 name "VSAN_42"
4-6 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Note: The above is a partial display of the output. It compares lines 1-7 of the startup-config to lines 1-12
of the running config. The plus signs indicate the three lines added to the running config. To
create VSANs from the CLI you would simply enter these three lines.
Step 9 Enter the command “copy run start” so that your changes are saved and so you can
do similar comparisons in the future.
Note: It is important to realize that most configuration changes done through the FM and DM are simply
updating the running configuration. To become proficient with MDS 9000 family switches
you need to be able to understand and interpret the running config. It is also important to
realize that the changes you make with the graphical tools are not automatically saved to
NVRAM.
Step 10 Enter the command “show vsan” and examine the output. Verify that you see four
VSANs. Three of them should be active and up.
Step 11 Enter the command “show vsan membership”. Verify that all interfaces are in the
default VSAN number 1.
Step 12 Enter the command “show interface brief”. This is another way to verify that all
interfaces are still in the default VSAN number 1.
Step 13 Close the CLI window.
Note: At this point, only interfaces your first two EISLs (fc1/1 + fc1/2) should be enabled. These are the
trunking ports between the two switches in your pod.
Note: Cisco recommends that end devices not be placed in VSAN 1. VSAN 1 ideally should be used as a
management VSAN and also can be used for TE ports.
Note: Interfaces can be added to VSANs using the FM, DM or CLI. In the following steps we will use the
DM. For those of you who prefer to use the command line interface, we will also include the
relevant CLI commands.
Step 1 Double-click your switch icon to invoke Device Manager. Select VSANs from the
FC menu.
4-8 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 3 Click your host interfaces (5 and 10), and your storage interface (6). Click OK.
Note: On both switches interface fc1/5 is attached to Windows 2000 server-1 and interface fc1/10 is
attached to your Windows 2000 server-2. Interface fc1/6 is attached to the JBOD. All
devices are dual ported, so the interfaces are the same on both MDS 9000 switches in your
pod. At this point, these interfaces should still be in a shutdown state.
Step 4 Click Apply and then click Close (after VSANs have been created, assigning
interfaces to them is that simple).
Note: At this point FC1/5, FC1/6, and FC1/10 should all be in your VSAN.
Step 5 Select Command Line Interface from the Device menu. Login as username admin
and password 1234qwer.
Step 6 Enter the command “copy run start” so that your changes are saved and so you can
do similar comparisons in the future.
Step 7 Enter the command “show vsan membership”. Verify that the three interfaces have
been added to VSAN X1 on Px-MDS1, and to VSAN X2 on Px-MDS2.
P4-MDS1# config
Enter configuration commands, one per line. End with CNTL/Z.
P4-MDS1(config)# vsan database
P4-MDS1(config-vsan-db)# vsan 99 name test
P4-MDS1(config-vsan-db)# vsan 99 interface fc1/11-12, fc1/14
Step 2 Enter the command “do show vsan membership”. Verify that the three interfaces
have been placed in VSAN 99.
Step 3 Delete VSAN 99 and then check the VSAN membership again as follows:
P4-MDS1(config-vsan-db)# no vsan 99
Do you want to continue? (y/n) y
P4-MDS1(config-vsan-db)# do show vsan membership
Note: The three interfaces should have been placed into the isolated VSAN number 4094. Ports in this
VSAN cannot communicate with any ports.
Step 4 Move the three interfaces back into VSAN 1 and then check the VSAN membership
again as follows:
P4-MDS1(config-vsan-db)# vsan 1 interface fc1/11-12, fc1/14
P4-MDS1(config-vsan-db)# do show vsan membership
Step 5 Return to exec mode:
P4-MDS1(config-vsan-db)# end
4-10 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Task 4: Configuring Static Domain IDs
Every switch in a fabric is assigned a unique Domain ID. An MDS 9000 switch with more than
one VSAN will have a multiple Domain IDs; one for every VSAN that exists on that switch
(with the exception of the isolated VSAN). By default, Domain IDs are assigned automatically
by the principal switch. The principal switch is elected based on priority and switch WWN.
Most SAN administrators consider it a best practice to statically assign switch Domain IDs. In
this task, you will determine the Domain IDs of your switch, manually configure the Domain
ID of a switch, determine which switch is the principal switch, and determine how to configure
the principal switch.
Note: Each switch has three Domain IDs that need to be statically assigned; one each for VSAN 1, VSAN
X1 and VSAN X2 (where X refers to your pod number). The Domain IDs are shown first in
hexadecimal, followed by their decimal equivalent in parenthesis.
Note: In some cases you may discover that your switch has already been assigned one of the domain IDs
shown on the table. If so continue to follow the steps to make the assigned domain ID
static.
Step 1 Find your switch in the table and make note of your three Domain IDs. You will be
configuring them using decimal, but they will often be visible in hexadecimal so you
should make a note of both.
VSAN 1
Number of domains: 2
Domain ID WWN
--------- -----------------------
0x65(41) 20:01:00:0d:ec:06:4a:01 [Local] [Principal]
0x70(46) 20:01:00:0d:ec:06:4e:c1
VSAN 41
Number of domains: 2
Domain ID WWN
--------- -----------------------
0x45(69) 20:0b:00:0d:ec:06:4a:01 [Local] [Principal]
0x42(66) 20:0b:00:0d:ec:06:4e:c1
VSAN 42
Number of domains: 2
Domain ID WWN
--------- -----------------------
0x43(67) 20:0c:00:0d:ec:06:4a:01 [Local] [Principal]
0x48(72) 20:0c:00:0d:ec:06:4e:c1
Note: The above example indicates that the local switch (P4-MDS1) is the principal switch. By default, all
switches have the same priority, so the principal switch is elected based on switch WWN.
The lowest WWN in the VSAN becomes principal.
Step 3 To view the equivalent information for the entire fabric, open Fabric Manager, in
the Logical Domain pane expand the All Vsans folder and select Domain
Manager.
4-12 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 5 To view the equivalent information for just your switch, open Device Manager and
select Domain Manager from the FC menu.
Step 9 Click Apply. If you see the following dialog, click Yes.
Note: In some cases you can perform a non-disruptive Build Fabric (BF) event, rather than a disruptive
Reconfigure Fabric (RCF) event. In this case, we don’t care because there is no data traffic
flowing, so we choose to do a disruptive restart to ensure that Domain IDs are statically
reassigned.
4-14 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 11 If necessary, wait a moment and click the Refresh button again. Verify that the
appropriate Domain IDs have been assigned to your VSANs and that the state of
each VSAN is “stable”.
Note: If you are working alone, complete the above steps on the other switch in your pod.
Step 12 Open Fabric Manager. Click the Refresh button. Click the Switch column to sort by
switch name. Verify that the appropriate Domain IDs have been assigned to the
VSANs on both your switches.
Step 14 Enter the command “show fcdomain domain-list”. Verify that it matches what you
saw in the DM/FM output above.
Step 15 Enter the command “show running-config diff” to see what has changed as a result
of the above steps.
P1-MDS1# show running-config diff | include static
+ fcdomain domain 41 static vsan 1
+ fcdomain domain 45 static vsan 41
+ fcdomain domain 43 static vsan 42
Note: The command to perform a disruptive reconfigure fabric (RCF) event from the CLI is:
(config)# fcdomain restart disruptive vsan n
Step 16 Enter the command “copy run start” so that your changes are saved and so you can
do similar comparisons in the future.
4-16 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Task 5: Configuring the Principal Switch
It is generally considered a best practice to configure priorities on specific switches (usually
core switches) to ensure they will be selected as the principal switches. In the following steps
we will demonstrate how to configure the switch priority to ensure its selection as the principal
switch. Our goal will be to select MDS1 as the principal switch for VSAN X1 and MDS2 as the
principal switch for VSAN X2 (where X is your pod number).
Step 1 In Device Manager, select Domain Manager from the FC menu. Click the
Domains tab and observe the output.
Note: At this point, you should see that either the local switch is the principal switch, or that the local
switch is not the principal switch (as seen above). Switch priorities are equal by default. In
our case we have not modified the default principal switch priority so the principal switch is
determined by the switch with the lower switch WWN. If you are not seeing this, it may be
because there is another team working in your pod and they have already configured the
switch priorities ahead of you. If so, just continue.
Step 3 Double-click in the Priority field for VSAN X1 and X2 (where X is your pod
number). The permissible values range from 1 to 254; the lower the number, the
higher the priority.
If you are working on PxMDS1, set the priority for VSAN X1 to 10, and set the
priority for VSAN X2 to 250.
If you are working on PxMDS2, set the priority for VSAN X1 to 250, and set the
priority for VSAN X2 to 10.
Step 4 Click in the Restart field for VSAN X1 and X2. Select disruptive. Click Apply.
4-18 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 5 Click the Domains tab. Wait a few moments and then click the Refresh button.
Verify that Px-MDS1 is now the principal switch for VSAN X1 and that Px-MDS2
is the principal switch for VSAN X2.
Note: The above is a partial display of the output that demonstrates the commands needed to configure
FC Domain Manager priorities for determining principal switch selection.
Step 8 Enter the command “copy run start” so that your changes are saved and so you can
do similar comparisons in the future.
Step 9 Save your configuration to the TFTP server as follows (where fname is your first
name; make sure it is unique). The IP address below is the IP address of your W2K
server.
Note: All other interfaces should be shut down, except for mgmt0.
4-20 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Lab Exercise 5: Configuring PortChannels
Exercise Objective
In this exercise, you will configure PortChannels between the switches in your pod. After
completing this exercise, you will be able to meet these objectives:
Configure and operate a PortChannel
Demonstrate the benefit of PortChannels with FSPF
Demonstrate the benefit of Port Tracking
Visual Objective
The figure illustrates what you will accomplish in this exercise.
In this lab, you will configure PortChannels between your pod’s switches.
Required Resources
These are the resources and equipment required to complete this exercise:
2 MDS 9000 Fibre Channel switches
2 Windows 2000 hosts with Fabric Manager and Device Manager installed
Command List
The commands used in this exercise are described in the table here.
Command Description
show interface fcx/y Displays status and statistics for the indicated interface.
show interface brief Displays status for all interfaces with less detail.
Overview
In this exercise, you will configure PortChannels between the two switches in your pod.
5-2 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Task 1: Configuring Single Link PortChannels
In this task, you will configure a single link PortChannel between the MDS 9000 switches in
your pod.
Note: Because it is by far the simplest method, we will create PortChannels using the Fabric
Manager PortChannel Wizard. We will also show the CLI commands needed to create a
PortChannel manually.
Exercise Procedure
Complete these steps:
Step 1 Launch Fabric Manager. You should see a simple two-switch fabric displayed in
the topology map, similar to that shown here for Pod 1.
Step 2 Mouse over the link between the two switches and observe the callout box that
appears.
Step 3 Locate and click the Port Channel button in the icon toolbar.
Note: The Port Channel Wizard will display all pairs of switches in the fabric that have an active
ISL between them. In our case, there should only be one pair displayed.
Note: Some SAN architects are of the opinion that all links, even a single link, between two MDS
9000 family switches should be placed into a PortChannel because future links can be
added to an existing PortChannel with minimal disruption. In the following steps you will
create a single link PortChannel.
5-4 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 5 If you are working on Px-MDS1, ensure only your ISL ports appear in the Selected
window (fc1/1-fc1/1).
If you are working on Px-MDS2, ensure only your ISL ports appear in the Selected
window (fc1/2-fc1/2).
Click the left arrow to move unwanted links out of the selected window.
Click Next.
Caution: Do NOT check the “Dynamically form Port Channel Group” radio button.
Note: If you are working alone in your pod, repeat the above steps for the other link.
5-6 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 8 If there is an X over the ISL, click the Refresh Map button and verify that it goes
away. After refreshing the map it may take 10-20 seconds for the red X to
disappear.
Step 9 Mouse over the link and observe the callout box that appears. Compare this to the
output displayed earlier.
Step 12 Click the FSPF tab. What is the per-VSAN cost of the links? __________
5-8 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 13 Return to Fabric Manager. Select the Physical Attributes pane under the tree
window. Expand the ISLs folder and select Port Channels.
Step 14 If you are working on Px-MDS1, select one of the two ends of your port channel
(channel 1).
If you are working on Px-MDS2, select one of the two ends of your port channel
(channel 2).
Click the Delete Row button.
Note: After both PortChannels are deleted and the corresponding ports are re-enabled, you are
essentially back to where you were at the beginning of the lab.
5-10 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Task 2: Configuring Multi-Link PortChannels and
Demonstrating the Benefits of PortChannels with FSPF
In this task, you will configure a multi link PortChannel between the MDS 9000 switches in
your pod and demonstrate the benefit of PortChannels for reducing FSPF overhead and FSPF
update traffic on ISL links.
Note: For most of this task you must work as a single team within your pod. Please coordinate
with other members using the same pod. If you are working at a faster pace, please wait for
the other pod members to catch up!
Exercise Procedure
Complete these steps:
Step 1 If necessary, open another Command Line Interface to your switch and login as
username admin with password 1234qwer.
Step 2 Enable debugging of FSPF flooding events.
# debug fspf flood
Step 3 Enter global config mode:
# config
Enter configuration commands, one per line. End with CNTL/Z.
Step 4 If you are working on Px-MDS1, enter interface sub-config mode for interface
fc1/1. If you are working on Px-MDS2, enter interface sub-config mode for
interface fc1/2.
(config)# interface fc1/1
Note: You should immediately see several lines of debug output. Debug output is often fairly
cryptic to the typical SAN administrator, but can be invaluable for Cisco support engineers.
Step 6 Press Enter to display the switch prompt, and then re-enable the interface.
(config-if)# no shutdown
Note: Wait several seconds for the link to initialize. You should see a large number of lines of
debug output. FSPF updates are flooded throughout the entire fabric.
Step 7 Ensure that all members in the pod are working together. Verify that ISL interfaces
are up (fc1/1 + fc1/2) as TE ports on both switches.
Note: If you prefer, first create a single link PortChannel as in Task 1, and then invoke the Port
Channel Wizard again and select Edit Existing to add another link.
Step 9 Return to the Command Line Interface window. You should still be in interface
sub-config mode for one of the links in the PortChannel.
Step 10 Enter the command “do show debug” to verify that FSPF debugging is enabled.
(config-if)# do show debug
Show Debug all
FSPF Routing Protocol Application:
FSPF flooding debug debugging is on
Step 11 “Bounce” the port by disabling then re-enabling it.
(config-if)# shutdown
(config-if)# no shutdown
Note: You should not see any debug output. If one link in a multi-link PortChannel goes down,
there is no impact from the FSPF perspective. This leads to a much more resilient fabric and
is the main reason why PortChannels are recommended as a best practice whenever more
than one link exists between two MDS switches.
Note: If the entire PortChannel goes down, FSPF must re-calculate the topology database and
flood updates throughout the fabric.
5-12 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 16 Verify that the PortChannel is trunking for VSANs 1, X1 and X2 (where X is your
pod number).
# show interface port-channel 100
port-channel 100 is trunking
Port description is To Px-MDS2
Hardware is Fibre Channel
Port WWN is 24:01:00:0d:ec:06:4e:c0
Admin port mode is E, trunk mode is on
Port mode is TE
Port vsan is 1
Speed is 4 Gbps
Trunk vsans (admin allowed and active) (1,41-42)
Trunk vsans (up) (1,41-42)
Trunk vsans (isolated) ()
Trunk vsans (initializing) ()
Step 17 Check the PortChannel database.
# show port-channel database
port-channel 100
Administrative channel mode is on
Operational channel mode is active
Last membership update succeeded
First operational port is fc1/1
2 ports in total, 2 ports up
Ports: fc1/1 [up] *
fc1/2 [up]
Step 18 Verify that the FSPF link cost reflects the aggregate bandwidth of the PortChannel
by checking the FC routing table.
# show fcroute unicast
D:direct R:remote P:permanent V:volatile A:active N:non-active
# Next
Protocol VSAN FC ID/Mask RCtl/Mask Flags Hops Cost
-------- ---- -------- -------- ---- ---- ----- ---- ----
fspf 1 0x110000 0xff0000 0x00 0x00 D P A 1 250
fspf 41 0x120000 0xff0000 0x00 0x00 D P A 1 250
fspf 42 0x130000 0xff0000 0x00 0x00 D P A 1 250
Note: The basic formula for FSPF link cost is 1000 / n, where n is the number of Gbps in the link.
In this case, two 2 Gbps links gives us an aggregate bandwidth of 4 Gbps, therefore the link
cost should be 250. This link cost will not change when one link goes down.
Activity Procedure
Complete the following steps on both switches.
Step 1 Enable the port tracking feature.
# config
(config)# port-track enable
Step 2 Track interface fc1/5 with interface port-channel 100 and enable interface fc1/5.
(config)# interface fc1/5
(config-if)# port-track interface port-channel 100
(config-if)# no shutdown
(config-if)# end
Step 3 Verify that fc1/5 and Port-Channel 100 interfaces are up.
# show interface fc1/5 brief
# show interface port-channel 100 brief
5-14 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Activity Verification
Complete the following steps to verify your configuration.
Step 1 Display the status of interface fc1/5
# show interface fc1/5
fc1/5 is down (All tracked ports down)
Hardware is Fibre Channel, SFP is short wave laser w/o OFC
(SN)
Port WWN is xx:xx:xx:xx:xx:xx:xx:xx
Admin port mode is auto, trunk mode is on
Snmp traps are enabled
Port vsan is 10
Receive data field size is 2112
Beacon is turned off
Port tracked with interface port-channel 100 (down)
...
Step 2 Display ports linked to the PortChannel 100 interface
# show interface port-channel 100
port-channel 128 is down (Administratively Down)
Hardware is Fibre Channel
Port WWN is xx:xx:xx:xx:xx:xx:xx:xx
Admin port mode is E, trunk mode is on
Snmp traps are enabled
Port vsan is 1
Linked to 1 port(s)
Port linked to interface fc1/5
. . .
5-16 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Lab Exercise 6: Configuring Interfaces
Exercise Objective
In this exercise, you will use configure Fibre Channel interfaces on MDS 9000 switches and
verify that the interfaces are operational. After completing this exercise, you will be able to
meet these objectives:
Configure E_Ports and TE_Ports
Configure F_Ports and FL_Ports
Visual Objective
Figure 1 illustrates the topology that you will use in this exercise.
In the previous lab, you configured the VSAN membership for the VSAN X1 and X2 interfaces
shown in the diagram. In this lab, you will configure the interfaces themselves, which are
connected to the host and storage end devices.
Required Resources
These are the resources and equipment required to complete this exercise:
2 MDS 9000 Fibre Channel switches
2 Windows 2000 hosts with Fabric Manager and Device Manager installed
2 Windows 2000 hosts with dual Qlogic Fibre Channel HBAs
1 FC-AL JBOD with at least four disks
Command List
The commands used in this exercise are described in the table here.
Command Description
show interface fcx/y Displays status and statistics for the indicated interface.
show interface brief Displays status for all interfaces with less detail.
Overview
After configuring VSANs and assigning ports to VSANs, you may need to configure other
interface parameters. The default interface configuration will often allow the interfaces to
operate correctly, but best practices may require changing the default configuration.
6-2 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Task 1: Configuring Interfaces
In this task, you will configure the interfaces for host and storage connections, as well as the
interfaces for ISL connections between switches in your pod, and between your switches in
your pod and the core.
Note: Our focus will be on using the graphical FM and DM. However, for those of you who prefer to use
the command line interface, we will also include the relevant CLI commands.
Exercise Procedure
Complete these steps on both switches in your pod:
Step 1 Open a Fabric Manager connection to your switch. You should see a simple two-
switch fabric similar to the one shown here for Pod 4.
Step 2 Mouse over the link between the two switches and observe the pop-up window.
Step 3 Double-click your switch icon to launch Device Manager. At this point you should
see that your ISL ports are up and operating as TE ports (fc1/1 + fc1/2).
Step 5 Right-click inside any of the three yellow boxes and select Enable. Click the
Refresh Display button again. Ports 5 and 10 should come up as F ports; port 6
should come up as an FL port.
Note: Ports 5 and 10 each are connected to one of the two FC HBA ports in each of the two Windows
2000 servers. Port 6 is connected to a JBOD which contains four disks in a dual arbitrated
loop configuration.
Step 6 Select Command Line Interface from the Device menu. Login with the username
admin and the password 1234qwer.
Step 7 Enter the command “copy run start” to save your changes and to enable similar
comparisons later.
6-4 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 8 Check the FLOGI database to see if any devices have logged into the switch.
# show flogi database
---------------------------------------------------------------------------
INTERFACE VSAN FCID PORT NAME NODE NAME
---------------------------------------------------------------------------
fc1/5 41 0x2a0001 21:00:00:e0:8e:0e:a8:12 20:00:00:e0:8e:0e:a8:12
fc1/6 41 0x2a01e2 21:00:00:04:cf:20:b7:3f 20:00:00:04:cf:20:b7:3f
fc1/6 41 0x2a01e4 21:00:00:04:cf:3b:08:da 20:00:00:04:cf:3b:08:da
fc1/6 41 0x2a01e8 21:00:00:04:cf:3b:08:84 20:00:00:04:cf:3b:08:84
fc1/6 41 0x2a01ef 21:00:00:04:cf:3b:08:e3 20:00:00:04:cf:3b:08:e3
fc1/10 41 0x2a0001 21:01:00:e0:8e:2e:a5:5b 20:01:00:e0:8e:2e:a5:5b
Total number of flogi = 6.
Note: FLOGI refers to the FC Extended Link Server Fabric Login process. Note that there are four
devices logged on to the same port. These are the four disks in the FC-AL JBOD.
Step 9 Check the FC Name Server database to see which devices are logged into all of the
VSANs in the entire fabric.
# show fcns database
VSAN 41:
--------------------------------------------------------------------------
FCID TYPE PWWN (VENDOR) FC4-TYPE:FEATURE
--------------------------------------------------------------------------
0x2a0001 N 21:00:00:e0:8e:0e:a8:12 (Qlogic) scsi-fcp:init
0x2a0002 N 21:01:00:e0:8e:2e:a5:5b (Qlogic) scsi-fcp:init
0x2a01e2 NL 21:00:00:04:cf:20:b7:3f (Seagate) scsi-fcp:
0x2a01e4 NL 21:00:00:04:cf:3b:08:da (Seagate) scsi-fcp:
0x2a01e8 NL 21:00:00:04:cf:3b:08:84 (Seagate) scsi-fcp:
0x2a01ef NL 21:00:00:04:cf:3b:08:e3 (Seagate) scsi-fcp:
VSAN 42:
--------------------------------------------------------------------------
FCID TYPE PWWN (VENDOR) FC4-TYPE:FEATURE
--------------------------------------------------------------------------
0x2e0001 N 21:01:00:e0:8e:2e:a8:12 (Qlogic) scsi-fcp:init
0x2e0002 N 21:00:00:e0:8e:0e:a5:5b (Qlogic) scsi-fcp:init
0x2e01e2 NL 22:00:00:04:cf:20:b7:3f (Seagate) scsi-fcp:
0x2e01e4 NL 22:00:00:04:cf:3b:08:da (Seagate) scsi-fcp:
0x2e01e8 NL 22:00:00:04:cf:3b:08:84 (Seagate) scsi-fcp:
0x2e01ef NL 22:00:00:04:cf:3b:08:e3 (Seagate) scsi-fcp:
Step 10 Ensure both groups have completed the above steps before proceeding.
Step 11 Return to Fabric Manager. Click the Layout Map button. Verify that you see two
FC-AL symbols, each attached to four Seagate disks, and two Qlogic host icons,
each with two FC HBA connections to the switches in your pod.
Note: Experiment with other buttons on the icon bar. Right-click in the map and Expand Loops.
Step 12 Select the Logical Domains pane in the tree view, and click to select the various
VSAN folders in the tree. Observe the change in the topology map view.
6-6 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 13 Click the Physical Attributes pane. Expand the End Devices folder and click
Storage.
Step 16 Verify that the information matches what you saw from the CLI above. Click Close.
Note: Some SAN administrators are of the opinion that, for higher security, you should hard code the port
mode rather letting ports auto configure. This is easily done as follows.
Step 18 Set the Admin Mode of fc1/5 and fc1/10 to F. Set the Admin Mode of fc1/6 to FL.
Step 19 Click Apply. Click Refresh. Verify that all ports have a Status of Operationally up
and a FailureCause of none.
6-8 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 20 Select the Trunk Config tab. Note that by default, all VSANs are allowed on trunk
interfaces (TE Ports). For security or traffic engineering reasons, you may wish to
restrict the VSANs allowed on EISLs.
Step 21 Double-click in the AllowedVsans field for your EISLs (fc1/1 + fc1/2). Enter
1,X1,X2 (where X is your pod number). Click Apply.
Note: Because your ISL ports are now part of a PortChannel, you cannot make modifications to the
individual interfaces.
Step 22 Click OK to close the Error pop-up, and then click Close to exit the FC Interfaces
window.
Step 24 Repeat steps 20-22 above to modify the VSAN allowed list on the PortChannel 100.
Click Close.
Step 25 Return to Fabric Manager. In the Physical Attributes pane in the tree view expand
the Interfaces folder. Select FC Physical. Note that all of the physical FC interfaces
in the fabric can be configured from here.
Step 26 Select the Trunk Config tab. Note the Oper, Allowed and UpVsans for EISL
interfaces (fc1/1 +fc1/2) on both switches in your pod.
Warning The following steps will impact the PortChannel between the switches in your pod. Please
coordinate with other pod members before performing these steps.
6-10 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 27 Click FC Logical in the tree view and select the Trunk Config.
Step 28 Click in the Admin column and set the trunk mode to auto for both switches.
Step 29 Click the Apply Changes button. Wait a moment, and then click the Refresh
Values button.
Step 30 Return to Device Manager. Click the Refresh Display button. Verify that ports 1
and 2 are no longer Trunking E ports.
Step 31 Return to Fabric Manager and reconfigure the PortChannel to trunk on both ends
of the link.
Step 32 Return to Device Manager. Verify that the port is trunking..
Step 33 Select Save Configuration from the Admin menu.
Step 34 Click Yes to confirm. Wait for the Success message and then click Close.
6-12 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 35 Select Copy Configuration from the Admin menu.
Step 36 Leave From set to startupConfig or select runningConfig (at this point they
should be identical). Leave To set to serverFile. Set ServerAddress to the address
of your TFTP server (192.168.0.198). Set FileName to fname.cfg (where fname is
a unique filename that you will remember later if needed). Leave Protocol set to
tftp.
Step 37 Click Apply. Wait for the File transfer successful message. Click Close.
6-14 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Lab Exercise 7: Configuring Zones
Exercise Objective
In this exercise, you will configure zones and zonesets to isolate servers and their and storage
devices the VSANs in your pod. After completing this exercise, you will be able to meet these
objectives:
Configure aliases, zones, and zonesets
Configure zoneset distribution
Observe and troubleshoot a zone merge isolation event
Visual Objective
Figure 1 illustrates the topology that you will implement in this exercise.
In this exercise, you will configure zones within the redundant VSANs in order to allow each
VSAN to serve as an alternate path for server applications. You will also explore zoneset
distribution policies and perform a zone merge.
Required Resources
These are the resources and equipment required to complete this exercise:
2 MDS 9000 Fibre Channel switches
2 Windows 2000 hosts with Fabric Manager and Device Manager installed
2 Windows 2000 hosts with dual Qlogic Fibre Channel HBAs
1 FC-AL JBOD with at least four disks
Command List
The commands used in this exercise are described in the table here.
Command Description
show zoneset Displays all the zonesets that are configured on the switch
Displays all the zones that are configured on the switch or in the
show zone [ vsan X ] specified VSAN
Displays the status of the zones that are configured on the switch
show zone status or in the VSAN. Shows the default zone policy, the zonesets and
[ vsan X ] zones in the full zone database, and which zoneset (if any) is the
active zone.
show zoneset active Displays the active zoneset, showing its name and the name of
[ vsan X ] each active zone with all the members of all the zones listed.
show fcns database Displays a list of all the ports that are logged in to the FC name
[ vsan X ] server.
show interface fcx/y Displays the status of and statistics for interface fcx/y.
debug zone [ database Launches debugging for a specific zoning activity, such as
| merge ] database updates or zone merges.
Overview
In earlier labs, you configured VSANs for redundant fabrics, enabled interfaces for servers and
storage, and verified that the servers and storage devices were logged into their fabrics.
However, at this point the servers cannot access their storage because no zoning has been
established and the default zone policy is deny.
In this lab you will create “single initiator” zones, so that each HBA port (the initiator) has
exclusive access to its storage. The FC disks are dual-ported, so each of the two server HBAs
must have a separate zone for the same disk.
7-2 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Task 1: Configuring Zones and Zone Sets
In this task, you will create zones and zonesets for the devices in VSAN X1 and X2 (where X is
your pod number). You will create zones using the Fabric Manager Zone Wizard.
On Px-MDS1, you will configure zones and the zoneset for VSAN_X1
On Px-MDS2, you will configure zones and the zoneset for VSAN_X2
Note: It is generally considered easiest to configure zoning from the GUI, which is the approach we will
take in this exercise. However, for those of you who prefer the CLI, we will also include the
relevant commands at the end of the exercise.
Prior to configuring zones and zonesets you must have a very good idea of what you are trying
to accomplish. Refer back to the Visual Objective on page 1. If the diagram and instructions
are not clear, ask the instructor for an explanation.
Each server will have access to two disks. One team, working on one Px-MDS1, will configure
four zones, one for each disk in the JBOD. The other team, working on the other Px-MDS2,
must coordinate to ensure they are using the appropriate and corresponding disks. The disks are
dual-ported. If you do not agree upon and select the correct disks and ports, data corruption will
ultimately ensue, and SAN administrators’ heads will roll
Step 1 Open a Command Line Interface window to your switch. Login with the username
admin and the password 1234qwer.
Step 2 Display the contents of the FLOGI database for the JBOD interface. Compare the
output on Px-MDS1 with the output on Px-MDS2:
P4-MDS1# show flogi database interface fc1/6
---------------------------------------------------------------------------
INTERFACE VSAN FCID PORT NAME NODE NAME
---------------------------------------------------------------------------
fc1/6 41 0x1c00e2 21:00:00:20:37:42:51:3c 20:00:00:20:37:42:51:3c
fc1/6 41 0x1c00e4 21:00:00:04:cf:b5:ec:d4 20:00:00:04:cf:b5:ec:d4
fc1/6 41 0x1c00e8 21:00:00:04:cf:20:b7:e6 20:00:00:04:cf:20:b7:e6
fc1/6 41 0x1c00ef 21:00:00:04:cf:3b:0f:3b 20:00:00:04:cf:3b:0f:3b
Step 3 Reach agreement with the team working on the other MDS 9000 switch in your pod
as to which PWWN represents disk1, disk2, disk3, and disk4. Write down the last
three octets of the PWWNs in the table:
DISK PWWN
Disk1
Disk2
Disk3
Disk4
7-4 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Exercise Procedure 2: Creating Global Aliases and Enclosures
Note: The following procedure requires your entire pod to work as a single team. Select one pod team
member to execute the following steps on the Px-MDS1 switch only.
Fill in the Alias field, for all 12 devices (four dual ported disks and two dual ported hosts). All
devices connected to the Px-MDS1 use port 0 and thus should end with a –p0. All devices
connected to the PxMDS2 use port 1 and thus should end with a –p1. Review the diagram at
the beginning of the lab to ensure that you choose the correct name and port for the server
devices. SAN-OS is case sensitive, for consistency with future lab instructions use all lower
case characters when setting device aliases.
Step 3 Ask your instructor to confirm your work before applying the changes.
7-6 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 4 In order to create Fabric Manager Topology Map enclosures that reflect the device alias naming
convention (-p0 –p1) we need to add a regular expression to the fabric manager
server.properties file. Open the server.properties files by clicking on
Start -> Programs -> Cisco MDS9000 -> Server Properties
When prompted open the file with Wordpad.
Step 6 Prepend the following regular expression EXACTLY as written, including case:
(.*)[_-]P.*,
Step 10 In order to apply your newly created device aliases to your Fabric Manager topology map you
must create enclosures using the newly created regular expression. Select all twelve lines and
click on the Alias->Enclosure button.
7-8 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 11 Verify that the regular expression you added above is the visible.
Step 15 Open a Fabric Manager connection to the Px-MDS2 switch. Click on All VSANs from the
Logical Domains pane, End Devices from the Physical Attributes pane. You should see the
Device Alias field already filled out. Select all twelve lines from the data pane. Click on
Alias->Enclosure.
7-10 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 16 When the regular expression list is presented click Apply and then Close.
Step 17 Click on the Apply Changes on the End Devices table. The enclosure names should now be
visible on W2K2 topology map.
Both teams in your pod can begin working separately again. If you are configuring both
switches you will need to perform the following steps in each switch in your pod.
7-12 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 4 Enter ZoneS1D1 (Server1 / Disk1)
Note: The screen captures below are taken from MDS4 in Pod 1; however, the steps are essentially the
same for MDS2 in all pods.
Step 5 Repeats steps 3 and 4 to create three additional zones: ZoneS1D2, ZoneS2D3, Zone
S2D4. Expand the Zones folder and verify that all four zones have successfully been
created.
Note: Zone and zoneset names are case sensitive. Please check your spelling!
Step 7 Verify that each of the four zones now contains two devices.
7-14 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 8 Right click on Zonesets and select Insert.
Step 9 If you are working on Px-MDS1 change the Zoneset name to ZoneSetX1 (where X
is your pod number).
If you are working on Px-MDS2 change the Zoneset name to ZoneSetX2.
Step 10 Drag and drop each of the four zones into your newly created zoneset.
Note: If the above instructions are unclear, please ask the instructor for clarification. It is critical to
properly configure zoning.
7-16 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Exercise Procedure 3: Verifying Zones and Zonesets
Step 1 Select the Logical tab in the Fabric Manager tree view window.
Step 2 Expand the VSAN_X1 and ZonesetX1 folders. Do the same for the VSAN_X2 and
ZonesetX2 folders (where X is your pod number).
Step 3 Click on ZoneS1D1 for VSAN_X1, ZonesetX1. Note the server and disk icons
highlighted in the topology map. Note the switch in the path.
Step 5 Repeat the above steps for the remaining three zones in each VSAN. Verify that two
zones are using one server and the other two zones are using the other server. Verify
that each disk is used once in each VSAN.
Note: If your verification fails, you may need to delete or modify zones or zonesets and try again. The
procedure for modifying zones and zonesets will be covered in the next section.
7-18 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 6 Open a Command Line Interface window to your switch.
Step 7 Verify that the active zoneset for your VSAN includes four zones, each of which has
two members (the example below is for Pod 1, VSAN 11):
Note: The * fcid indicates the devices are logged in to the fabric and visible in the VSAN.
Step 8 Repeat the above command, except this time without the keyword active.
P4-MDS1# show zoneset vsan 41
Note: It is important to understand the difference between the active zone database, displayed in the
output of step 7, and the full zone database, displayed in the output of step 8. In this case,
they should contain the same information; however, this is not always the case, as the next
steps should demonstrate.
Step 9 Display the active zoneset for the other VSAN in your pod (the command example
below is for Pod 1, VSAN 12):
P4-MDS1# show zoneset active vsan 42
Step 10 Verify that the output displayed is similar to the output of step 7 above. The
PWWNs of the devices should be similar, but different.
Step 11 Display the full zoneset for the other VSAN in your pod:
P4-MDS1# show zoneset vsan 42
Note: You should see nothing. This is because, by default, only the active zone database is propagated to
other switches in the fabric; the full zone database is not. More on this later.
As demonstrated earlier, by default, the active zoneset is propagated to other switches in the
fabric, but the full zone database is not. Many SAN administrators consider it a best practice to
distribute the full zone database during zoneset activation, so that all switches in the fabric will
have a consistent view of the zoning database, and so that zoning can be performed from any
switch in the fabric, if needed or desired.
Full zoneset distribution is enabled or disabled globally for all VSANs during the initial switch
configuration (refer to Lab Exercise 2). The default is disabled. It can also be enabled or
disabled globally or on per-VSAN basis later. The configuration can be done using Fabric
Manager, Device Manager or the CLI
In this task, you will implement and verify full zoneset distribution from the CLI.
Exercise Procedure
Complete these steps:
Step 1 Open two Command Line Interface windows; one to each of the two MDS 9000
switches in your pod.
Step 2 Review the following commands used in the verification steps from Task 1,
Exercise Procedure 3.
# show zoneset active
# show zoneset
Step 3 Enter the above two commands in both CLI windows. Confirm that the active
zoneset propagated to the other switch, but the full zone database did not.
Step 4 Return to the CLI window for your primary switch.
Step 5 Perform a one-time full zoneset distribution for your VSAN:
(X refers to your pod number; Y refers to 1 if you are responsible for Px-MDS1 or 2
if you are responsible for Px-MDS2.)
# zoneset distribute vsan XY
Warning Be careful. Full zoneset distribution overwrites previously configured zonesets on the other
switch. If you choose the wrong switch, or the wrong VSAN, you may distribute an empty full
zone database to the other switch, removing the full zone database created earlier. If this
were to happen, you could recover the full zone database from the active zone database
using the following command (although you would lose any configured FC Alias definitions):
# zone copy active-zoneset full-zoneset vsan XY
Step 6 Repeat step 3. Confirm that the full zone database propagated to the other switch.
Step 7 Once you have confirmed that the full zone databases are identical on both switches,
edit the global configuration so that future zoneset activations will always propagate
the full zone database. Do this for your VSAN on both switches:
7-20 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
# config
Enter configuration commands, one per line. End with CNTL/Z.
(config)# zoneset distribute full vsan XY
Step 8 Return to EXEC mode and check the status of the zones for your VSAN:
P4-MDS1# show zone status vsan 41
VSAN: 41 default-zone: deny distribute: full Interop: default
mode: basic merge-control: allow
session: none
hard-zoning: enabled broadcast: disabled
Default zone:
qos: none broadcast: disabled ronly: disabled
Full Zoning Database :
DB size: 380 bytes
Zonesets:1 Zones:4 Aliases: 0
Active Zoning Database :
DB size: 196 bytes
Name: Zoneset41 Zonesets:1 Zones:4
Status: Zoneset distribution completed at 06:45:38 UTC Feb 29
2008
In this task, you will purposely create a zoning conflict. You will then demonstrate a failed
zone merge, and reconcile the problem.
Note: If your pod is split into two teams, you must do this task at the same time. Please check in
with the other team. If your team is working faster than the other team, please wait for them
to catch up, and then work together in lock step.
Exercise Procedure
Complete these steps:
Step 1 Open a Command Line Interface window on your switch.
Step 2 Enable debugging for zone merge events:
# debug zone merge events
Step 3 Wait until both switches are ready to proceed.
Step 4 On one switch, disable the ISL interfaces, fc1/1 and fc1/2 between your two
switches.
# config
Enter configuration commands, one per line. End with CNTL/Z.
(config)# interface fc1/1-2
(config-if)# shutdown
Step 5 Briefly observe the debug output, and then re-enable the interfaces:
(config-if)# no shutdown
Step 6 Wait a few moments for debug output to appear. Scroll back in the output and look
for one or more Merge success messages, indicating normal zone merges.
Step 7 Disable the interfaces again.
(config-if)# shutdown
(config-if)# exit
Note: With the interfaces disabled, you will now create a zone conflict. You will then activate the zoneset
and bring up the ISL to demonstrate a failed zone merge.
Step 8 On Px-MDS1 only, add a bogus zone member to one of the zones in VSAN_X1
(where X is your pod number):
(config)# zone name ZoneS1D1 vsan X1
(config-zone)# member fcid 0x123456
7-22 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
(config-zone)# exit
Step 9 On Px-MDS2 only, add a bogus zone member to one of the zones in VSAN_X2
(where X is your pod number):
(config)# zone name ZoneS1D1 vsan X2
(config-zone)# member fcid 0xabcdef
(config-zone)# exit
Step 10 Make certain the Status of the ISL links between your switches is down or
notConnected, so that the zonesets will not be propagated to the other switch when
activated.
(config)# do show interface brief
--------------------------------------------------------------
Interface Vsan Admin Admin Status FCOT Oper
Mode Trunk Mode
Mode
--------------------------------------------------------------
fc1/1 1 E on down swl --
fc1/2 1 E on down swl --
fc1/3 1 auto on down swl --
fc1/4 1 auto on down swl --
Step 11 Activate the zoneset for your VSAN (X refers to your pod number; Y refers to 1 for
Px-MDS1, or 2 for Px-MDS2)
(config)# zoneset activate name ZonesetXY vsan XY
Zoneset activation initiated. check zone status
Step 12 Verify that the zoneset is active and the bogus member is present:
(config)# do show zoneset active
Note: At this point, you have configured a classic zone conflict situation. The two switches have active
zonesets containing zones with the same name, but with different members.
Step 13 Wait until both teams have completed the above steps.
Step 14 Bring up the ISL interfaces (fc1/1 and fc1/2) that were previously shut down.
(config)# interface fc1/1-2
(config-if)# no shutdown
Note: It is important to understand that a trunking ISL (EISL) can be up for one or more VSANs and
isolated for others, as illustrated here.
Step 18 Whenever you see isolation on an EISL, it is a good idea to look more deeply into
the problem. For example:
# show interface fc1/1 trunk vsan 41-42
fc1/1 is trunking
Vsan 41 is down (Isolation due to zone merge failure)
Vsan 42 is down (Isolation due to zone merge failure)
7-24 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 19 Bring up a Fabric Manager connection to your switch.
Step 20 Select Merge Analysis from the Zone menu.
Step 21 Verify that the two switches in your pod are listed in the Switch 1 and Switch 2
fields. Enter the VSAN ID for your VSAN. Click the Analyze button.
Step 22 Observe the output and verify the problem described is accurate based on the
conflict you created above.
Step 23 Click Clear.
Step 24 Change the VSAN ID to the other VSAN in your pod. Click Analyze.
Step 25 Click Close.
Note: The recovery method will depend upon which switch has the “problem” for that VSAN.
Note: The problem for VSAN_X1 was created on Px-MDS1. Likewise the problem for VSAN_X2 was
created in Px-MDS2. Therefore, to resolve the problem, you should “import” the active
zoneset to your switch, as opposed to “export” the active zoneset from your switch.
Step 27 Leave the Import Active Zoneset radio button selected. Select your switch in the
Switch field. Select your VSAN in the Vsan field. Click on the … button and select
the channel 100. Click OK.
Step 28 Wait for a Finished message to appear in the lower left corner of the window.
Note: There is a bug in SAN-OS 3.0.2 that prevents the Zone Merge Recovery utility from working
properly.
7-26 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 30 Select the Physical tab in the tree view. Click Copy Configuration.
Step 31 Select only the checkbox for your switch. Click the Apply Changes button. Wait for
the Success message.
device-alias commit
7-28 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
member ZoneS1D2
member ZoneS2D3
member ZoneS2D4
Exercise Objective
In this exercise, you will implement, merge, and distribute IVR configurations. After
completing this exercise, you will be able to meet these objectives:
Implement a multi-switch IVR configuration with a transit VSAN using Fabric Manager
Required Resources
These are the resources and equipment required to complete this exercise:
Two MDS 9000 switches with at least one ISL between them
Enterprise licenses installed on the two MDS 9000 switches
At least one Fibre Channel-attached Windows 2000 server attached to both switches
One FC-AL JBOD attached to both switches
Task 1: Transit IVR Configuration
In this task you will use the Fabric Manager IVR Wizard to configure, activate, and verify a
multi-switch IVR topology.
Visual Objective
The figure illustrates what you will accomplish in this task.
Your company has grown and so has your SAN. Management has asked you to selectively
allow two servers to access disk located in different VSANs.
Note: In this lab, you are using a direct Fibre Channel link between the two switches. However, the link
forming the transit VSAN could just as easily be an FCIP tunnel.
8-2 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Exercise Procedure
Caution: If you are working in teams, make sure both teams are finished with the preceding tasks before
going any further.
Step 1 Log in to the CLI using the username admin and the password 1234qwer.
Step 2 Verify that the EISL is still up and trunking for VSANs 1, X1 and X2 (here 41 and
42).
P4-MDS1# show interface fc1/1 | include vsans
Trunk vsans (admin allowed and active) (1,41,42)
Trunk vsans (up) (1,41,42)
Trunk vsans (isolated) ()
Trunk vsans (initializing) ()
Step 1 Open the Fabric Manager.
Step 2 Verify that you see two switches in the topology view, each connected to two
servers and four disks.
Caution: In the following steps you will configure IVR using the IVR Zone Wizard. This wizard must be
used serially. If you are working alone, you will invoke the wizard twice. If you are working in
teams, the team working on the MDS1 must finish using the wizard before the team working
on MDS2 begins.
8-4 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 7 Select your fabric and click Next.
Step 8 Move VSAN’s 1, X1, and X2 into the Selected window. Click Next.
8-6 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 10 Locate and choose the appropriate devices in the Available window based on their
device alias names. Click Add to move them to the Selected window. Then click
Next.
If you are working on the MDS1, choose server1-p0 and disk2-p1.
If you are working on the MDS2, choose server2-p1 and disk1-p0.
Step 11 Ensure that both MDS1 and MDS2 are checked for IVR NAT.
8-8 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 15 Click Continue Activation.
Step 16 View the progress indicator and wait for Success to appear in the lower left.
Step 19 Repeat Step 2 for IvrZoneMDS2. Verify that the server1 -- disk2 (IVRZoneMDS1)
and server2 – disk 1 (IVRZoneMDS2) icons are highlighted in the topology view
and that the correct names appear in the table in the Information pane.
Step 20 Close Fabric Manager. Click No when prompted to save changes.
Step 21 Access the switch CLI using the username admin and the password 1234qwer.
Step 22 Verify that there is an IVR zoneset active with two zones, each having two members
preceded by * pwwn.
P4-MDS1# show ivr zoneset active
8-10 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 23 Verify that there are two ordinary zonesets active, one in VSAN X1 and one in
VSAN X2, each having two IVR zones with two members preceded by * fcid.
You have successfully completed this lab exercise when you have configured and verified a
multi-switch IVR configuration using a transit VSAN.
8-12 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Appendix A: Final Configuration
The following is a partial output of the show run command from P4-MDS1 after completing
the final task.
P4-MDS1# show running-config
ivr enable
ivr distribute
ivr nat
ivr vsan-topology auto
8-14 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Lab Exercise 9: Basic FCIP Configuration
Exercise Objective
In this exercise, you will configure an FCIP environment using the IP Services Module. After
completing this exercise, you will be able to configure Gigabit Ethernet interfaces, FCIP Profiles
and FCIP Tunnels between two MDS 9000 family switches with IP Services modules.
Visual Objective
The figure illustrates what you will accomplish in this exercise.
Scenario
Your customer needs to provide SAN extension connectivity between two sites. Servers at one site
will access storage at the other site. You must configure primary and failover tunnels.
Required Resources
These are the resources and equipment required to complete this exercise:
Two modular MDS 9000 family switches
Two IPS-8 IP Services modules with GigE connectivity between them
Task 1: Configure Gigabit Ethernet Interfaces
Step 3 Locate the row for your tunnel. You must configure the appropriate GigE interfaces on
both MDS switches. Make certain you are confident which of the GigE ports are yours
before proceeding.
Step 4 Click on the Device Manager icon on your assigned W2K desktop.
9-2 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 5 Open a Device Manager connection to Core1 (192.168.0.196).
Step 6 Locate your GigE port on line card 2. Right-click and select Configure.
9-4 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 10 Click the Create button.
Step 11 Enter the appropriate IP address for your Core1 GigE port from the table above, using a
24-bit netmask as shown.Click Create and then Close..
Note: The GigE ports are connected to a Catalyst 6500 Ethernet switch. The ports for each pod are
assigned to their own VLAN.
Step 12 Verify that the correct ip address and net mask have been added. Click Close.
Step 13 Repeats steps 4-9 for Core2. Be sure to enter the appropriate IP address for your Core2
GigE port from the table above, using a 24-bit netmask.
Step 14 Select Command Line Interface from the Device menu of either switch. Login with the
username admin and the password 1234qwer.
Step 16 View the IP routing table. Verify that you see an entry for your GigE interfaces:
Core1# show ip route
Codes: C - connected, S - static
Default gateway is 192.168.0.254
C 192.168.0.0/24 is directly connected, mgmt0
C 10.1.4.0/24 is directly connected, GigabitEthernet2/7
Step 18 Verify that you can ping the GigE port on the opposite switch. Press Ctrl-c to terminate
the ping. Make a mental note of the average round trip latency (0.3 msec shown).
Core1# ping 10.1.4.21
PING 10.1.4.21 (10.1.4.21): 56 data bytes
64 bytes from 10.1.4.21: icmp_seq=0 ttl=255 time=0.4 ms
64 bytes from 10.1.4.21: icmp_seq=1 ttl=255 time=0.3 ms
64 bytes from 10.1.4.21: icmp_seq=2 ttl=255 time=0.3 ms
--- 10.1.4.21 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.3/0.3/0.4 ms
Note: In some earlier releases of SAN-OS, FCIP and/or iSCSI must be explicitly enabled before a ping
will succeed on the GigE interfaces.
9-6 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Task 2: Configure an FCIP Profile
In this task you will configure an FCIP profile.
Activity Procedure
Each team should complete the following steps on both MDS CORE switches to configure their
gigE2/x port for the FCIP profile.
Step 1 Return to the Device Manager for CORE1.
Step 2 Select Feature Control from the Admin menu. If the Status column for the FCIP
feature indicates disabled (as shown below), then you are the first team to reach this
point. Select enable in the Action field, and then click Apply. If the FCIP feature is
already enabled, skip ahead to the next step.
Step 6 In the FCIP dialog box, click the Profiles tab, and then click Create.
9-8 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 7 In the Create FCIP Profiles dialog box, configure the following FCIP Profile parameters:
Profile ID: (see chart in Task 1 for value)
IP Address: (see chart in Task 1 for value)
9-10 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 12 Verify that the Status of the SAN Extension Over IP license is in use:
Core1# show license usage
Feature Ins Lic Status Expiry Date Comments
Count
-------------------------------------------------------------------
FM_SERVER_PKG Yes - Unused never -
MAINFRAME_PKG No - Unused -
ENTERPRISE_PKG Yes - Unused never -
DMM_FOR_SSM_PKG No 0 Unused -
SAN_EXTN_OVER_IP Yes 1 Unused never -
PORT_ACTIVATION_PKG No 0 Unused -
SME_FOR_IPS_184_PKG No 0 Unused -
SAN_EXTN_OVER_IP_18_4 No 0 Unused -
SAN_EXTN_OVER_IP_IPS2 No 0 Unused -
SAN_EXTN_OVER_IP_IPS4 No 0 Unused -
10G_PORT_ACTIVATION_PKG No 0 Unused -
STORAGE_SERVICES_ENABLER_PKG No 0 Unused -
Activity Verification
You have completed this task when you attain these results:
FCIP profile parameters have been correctly configured
Activity Procedure
Each team should complete the following steps on Core1 to configure their FCIP tunnel.
Step 1 From the CLI, enter configuration mode and execute the following commands to create
the FCIP interface, and associate it with the FCIP profile you have created.
# config
(config)# interface fcip x (x is your fcip profile number)
(config-if)# use-profile x
(config-if)# peer-info ipaddr 10.1.x.y (see table in Task 1 for peer ip
address)
(config-if)# no shutdown
(config-if)# end
9-12 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Special Frame is disabled
Maximum number of TCP connections is 2
Time Stamp is disabled
QOS control code point is 0
QOS data code point is 0
B-port mode disabled
TCP Connection Information
2 Active TCP connections
Control connection: Local 10.1.1.11:65532, Remote
10.1.1.21:3225
Data connection: Local 10.1.1.11:65534, Remote 10.1.1.21:3225
2 Attempts for active connections, 0 close of connections
TCP Parameters
Path MTU 1500 bytes
Current retransmission timeout is 200 ms
Round trip time: Smoothed 0 ms, Variance: 0 Jitter: 150 us
Advertized window: Current: 33 KB, Maximum: 33 KB, Scale: 5
Peer receive window: Current: 2047 KB, Maximum: 2047 KB, Scale: 5
Congestion window: Current: 14 KB, Slow start threshold: 112 KB
Current Send Buffer Size: 33 KB, Requested Send Buffer Size: 0 KB
CWM Burst Size: 50 KB
5 minutes input rate 0 bits/sec, 0 bytes/sec, 0 frames/sec
5 minutes output rate 0 bits/sec, 0 bytes/sec, 0 frames/sec
184 frames input, 22960 bytes
184 Class F frames input, 22960 bytes
0 Class 2/3 frames input, 0 bytes
0 Reass frames
0 Error frames timestamp error 0
184 frames output, 21844 bytes
184 Class F frames output, 21844 bytes
0 Class 2/3 frames output, 0 bytes
0 Error frames
Step 4 Check the default VSAN membership of the FCIP interfaces:
Core1# show vsan membership
vsan 1 interfaces:
fc1/1 fc1/2 fc1/3 fc1/4 fc1/5 fc1/6 fc1/7 fc1/8
fc1/9 fc1/10 fc1/11 fc1/12 fc1/13 fc1/14 fc1/15 fc1/16
fcip1 fcip2
9-14 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Task 4: Create an FCIP PortChannel
In this task, you will create a PortChannel that contains two FCIP tunnels.
Activity Procedure
Team up with the other students who created the other FCIP tunnel from your pod.
9-16 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 8 In the 2 of 3: Select ISLs dialog box, verify both of your FCIP interface pairs are in the
Selected pane.
9-18 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Activity Verification
Complete the following steps to verify your configuration.
Step 13 From the CLI on both switches, display the PortChannel interfaces to verify that the
PortChannel is operational.
CORE1# show interface port-channel 1
port-channel 1 is trunking
Port description is To CORE2
Hardware is Fibre Channel
Port WWN is 24:01:00:0d:ec:20:6f:80
Admin port mode is E, trunk mode is on
snmp traps are enabled
Port mode is TE
Port vsan is 1
Speed is 2 Gbps
Trunk vsans (admin allowed and active) (1)
Trunk vsans (up) (1)
Trunk vsans (isolated) ()
Trunk vsans (initializing) ()
5 minutes input rate 0 bits/sec, 0 bytes/sec, 0 frames/sec
5 minutes output rate 0 bits/sec, 0 bytes/sec, 0 frames/sec
218 frames input, 27276 bytes
218 Class F frames input, 27276 bytes
0 Class 2/3 frames input, 0 bytes
0 Reass frames
0 Error frames timestamp error 0
218 frames output, 25508 bytes
218 Class F frames output, 25508 bytes
0 Class 2/3 frames output, 0 bytes
Step 14 Display the PortChannel database information. Your display should resemble the
following:
CORE1# show port-channel database
port-channel 1
Administrative channel mode is active
Operational channel mode is active
Last membership update succeeded
First operational port is fcip2
2 ports in total, 2 ports up
Ports: fcip7 [up] *
Fcip8 [up]
9-20 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Lab Exercise 10: Tuning FCIP Performance
Exercise Objective
In this exercise, you will configure an FCIP environment using the IP Services Module. After
completing this exercise, you will be able to configure Gigabit Ethernet interfaces, FCIP Profiles
and FCIP Tunnels between two MDS 9000 family switches with IP Services modules.
All students working an a pod will need to work together to complete this exercise.
Visual Objective
The figure illustrates what you will accomplish in this exercise.
Scenario
Your customer needs to provide SAN extension connectivity between two sites. Servers at one site
will access storage at the other site. You must configure primary and failover tunnels.
Required Resources
These are the resources and equipment required to complete this exercise:
Two modular MDS 9000 family switches
Two IPS-8 IP Services modules with GigE connectivity between them
Task 1: Tune Down TCP Parameters on your FCIP Tunnels
In this task, you will reconfigure your FCIP Tunnels using the Fabric manager.
10-2 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 4 Your pod’s FCIP tunnel links can be identified by their IP address, the third octet
corresponds to your pod number. For both ends of both links in the first link in your
tunnel change the following parameters:
Max Bandwidth 100Mb (The field is in Kb, so enter 100000)
Min Bandwidth 5Mb (The field is in Kb, so enter 5000)
Estimated RTT 200000 us
-----------------------------------------------------------------
ProfileId Ipaddr TcpPort
-----------------------------------------------------------------
7 10.1.4.11 3225
8 10.1.4.12 3225
Step 4 Ping the peer switch’s gigE interface and note the disparity between the actual and
configured RTT. (X is your pod number)
CORE1# ping 10.1.X.21
PING 10.1.1.21 (10.1.4.21) 56(84) bytes of data.
64 bytes from 10.1.4.21: icmp_seq=2 ttl=255 time=0.413 ms
64 bytes from 10.1.4.21: icmp_seq=3 ttl=255 time=0.358 ms
64 bytes from 10.1.4.21: icmp_seq=4 ttl=255 time=0.348 ms
64 bytes from 10.1.4.21: icmp_seq=5 ttl=255 time=0.340 ms
10-4 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Task 2: Document Performance Measurements
In this task you will generate workloads with SAN Extension Tuner and document performance
measurements.
Activity Procedure
Complete the following steps on CORE2.
Step 1 Create a pattern file to use for SAN Extension Tuner testing.
# copy running-config bootflash:testfile
CORE2# dir bootflash:
14651392 Jan 23 03:45:17 2007 9500-kickstart-3.2.3
66971845 Jan 23 03:44:02 2007 9500-system-3.2.3
12288 Jan 01 00:02:44 1980 lost+found/
2590 May 13 22:54:39 2007 testfile
Note: These disabled gigE ports will be used by the SAN Extension Tuner to simulate an attached
iSCSI initiator and target.
Step 7 From the Fabric Manager topology pane, right-click your Port Channel between
CORE1 and CORE2. Select SAN Extension Tuner to launch the SAN Extension Tuner
wizard.
Note: Only one instance of the SAN Extension Tuner can run at a time. If another student is running
SET, you will get a warning message. Wait until they finish the application before proceeding.
10-6 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 8 In the 1 of 3: Select Ethernet Port Pair dialog, select your pod’s second gigE interface for
CORE1 and CORE2
Pod1: GigE2/2 --- GigE2/2
Pod2: GigE2/4 --- GigE2/4
Step 12 In the Edit Local Full Zone Database window for VSAN 1, right click the Zonesets
placeholder and select Insert.
Step 13 If a Zoneset does not exist, create by clicking OK to accept the default Zoneset Name.
If a Zoneset does exist, continue to step 14.
10-8 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 15 Right-click ZoneSet1 and select Activate.
Step 17 Wait for the zoneset activation to complete, then close the Edit Full Local Zone
Database window.
10-10 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 19 On screen 2 of 3, accept the default parameters for Transfer Size, Read I/O, and Write
I/O.
Step 20 Select the Use Pattern File check box.
Step 21 Use the Pattern File pull-down menu to select the testfile you created in Task 1.
10-12 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Activity Verification
Complete the following steps to verify your configuration.
Step 27 On both switches, display the FLOGI database.
# show flogi database
-------------------------------------------------------------------------------------------
INTERFACE VSAN FCID PORT NAME NODE NAME
-------------------------------------------------------------------------------------------
iscsi2/8 1 0x630004 02:02:00:0d:ec:20:6f:80 00:00:00:0d:ec:20:6f:80
VSAN 1:
-----------------------------------------------------------------------
FCID TYPE PWWN (VENDOR) FC4-
TYPE:FEATURE
-----------------------------------------------------------------------
0x0a0001 N 02:02:00:0d:ec:0c:fb:40 scsi-fcp 227
0x630004 N 02:02:00:0d:ec:20:6f:80 scsi-fcp 227
Step 29 On both switches, display the active zoneset and the virtual N ports created by the SAN
Extension Wizard.
# show zoneset active
zoneset name ZoneSet1 vsan 1
zone name SanExtTuner-channel1-CORE1 vsan 1
* fcid 0x630001 [pwwn 02:02:00:0d:ec:20:6f:80]
* fcid 0x0a0001 [pwwn 02:02:00:0d:ec:0c:fb:40]
Step 30 Return to the SAN Extension Tuner Wizard. Click Stop and then click Cancel.
Activity Procedure
Complete these steps on both switches.
Step 1 From the CLI configure the FCIP profile TCP parameters to optimize the FCIP tunnel:
Max Bandwidth: 1000 Mb
Min Bandwidth: 1000 Mb
Estimated RTT: 48 us
(config)# fcip profile x (use the fcip profile number for your
first GigE interface)
(config-profile)# tcp max-bandwidth-mbps 1000 min-available-bandwidth-
mbps 1000 round-trip-time-us 48
(config-profile)# exit
Note: Do not proceed until Step 1 has been completed on both switches.
Step 2 On both switches, disable, and then enable the fcip x interface.
(config)# interface fcip x
(config-if)# shutdown
(config-if)# no shutdown
Step 3 From the Fabric Manager, select Server > Purge Down Elements
10-14 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 5 Right-click your FCIP tunnel between CORE1 and CORE2.
Note: Only one instance of the SAN Extension Tuner can run at a time. If another student is running
SET, you will get a warning message. Wait until they finish the application before proceeding.
10-16 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 9 On screen 2 of 3, accept the default parameters of Transfer Size, Read IO, and Write
IO.
Step 10 Select the Use Pattern File check box.
Step 11 Use the Pattern File pull-down menu to select the testfile you created in Task 1.
Step 14 Return to the FCIP Monitor window and observe the Rx and Tx Bytes in the Data
Traffic column.
10-18 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 15 Return to the San Extension Tuner Wizard 3 or 3: Results Screen.
Step 17 Return to the SAN Extension Tuner Wizard. Click Stop and then click Cancel.
Activity Verification
Complete the following steps to verify your configuration.
Step 1 Compare these performance results with those recorded on page 11-. The original TCP
parameters were far from ideal. The parameter values that you set in Task 3 were
appropriate for a dedicated 1Gig link. Your results should document a dramatic
performance improvement.
Objective
Your company recently added a Network Time Protocol server to ensure that all hosts and
switches maintain consistent time. You will enable NTP for CFS configuration and then
configure both switches to use an NTP server.
These are the resources and equipment required to complete this exercise:
Two MDS 9000 family switches with at least one ISL between them
Two Fibre Channel-attached Windows 2000 servers connected to both switches
One NTP server
Task 1: Configure NTP
As of SAN-OS Release 2.0, CFS can be used to distribute and merge configurations for many
SAN-OS applications. In this task you will configure NTP to use the CFS infrastructure. .
Note: Administrators of MDS1 and MDS2 must work together to complete this exercise.
Step 1 Both teams login to your respective switches (MDS1 or MDS2) with the Device
Manager.
11-2 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 3 On both MDS1 and MDS2:
Observe the list of CFS-capable applications that are available. Notice that only the
device-alias feature has a status of enabled by default. Additional CFS-capable
applications are not listed because their services are not enabled on the switch.
Note: Most CFS applications require an explicit “commit” before configurations are applied. At this point
the NTP entry is pending the commit.
11-4 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 8 Verify that a lock has now been set on both MDS1 and MDS2. Enter the following
command:
Step 10 When the administrator of MDS2 clicks on the Create button the following error is
displayed:
Filename: ________________________________
Step 14 Close Device Manager. When prompted, click Yes to save your changes, and then
click Close to close the Save Configuration dialog.
11-6 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Appendix A: Final Configuration
The following is a partial output of the show run command from P1-MDS1 after completing
this lab exercise:
P1-MDS1# show run
ntp distribute
ntp peer 192.168.0.198
ntp commit
Visual Objective
Figure 1 illustrates the topology that you will use in this exercise.
In this lab, you will use the fcanalyzer command to view supervisor control traffic locally
from a command line interface, and then remotely from a Windows host running Ethereal.
Required Resources
These are the resources and equipment required to complete this exercise:
2 MDS 9000 Fibre Channel switches
2 Windows 2000 hosts with Fabric Manager and Device Manager installed.
Ethereal version 0.10.0 or higher (www.ethereal.com)
WinPcap version 3.0 or higher (winpcap.polito.it) – required for fcanalyzer remote
Command List
The commands used in this exercise are described in the table here.
Command Description
fcanalyzer local display- Capture and display FC control traffic on the local console,
filter filter_conditions filtering the display using filter_conditions.
12-2 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Task 1: Viewing fcanalyzer Output Locally
In this task you will use the fcanalyzer command to view supervisor control traffic on the
local console.
Exercise Procedure
Complete these steps:
Step 1 Open a Device Manager connection to your switch.
Step 2 Select Command Line Interface from the Device menu. Login with the username
admin and the password 1234qwer.
Step 3 Enter global configuration mode:
# config
Step 4 Start the fcanalyzer in local display mode:
(config)# fcanalyzer local
Warning: Couldn't obtain netmask info (eth2: no IPv4 address assigned).
Capturing on eth2
Note: By default FC Analyzer will run until you press Ctrl-C or until 100 frames are captured and
displayed. You can change this behavior with the limit-captured-frames option.
Note: Output will go both to the terminal and, by default, to a file in the volatile file system (you can also
specify slot0:, for example, slot0:foo). The saved file name will be of the form
volatile:foo_00001_<datetimestamp>.
Step 9 Limit the FC Analyzer output by setting a display filter that will only capture FC
Extended Link Service frames:
(config)# fcanalyzer local brief display-filter fcels.opcode
Warning: Couldn't obtain netmask info (eth2: no IPv4 address assigned).
Capturing on eth2
Note: Procedures to specify display filters are documented at the Ethereal web site
http://www.ethereal.com.
Step 10 Use Device Manage and bounce (i.e., disable, and then enable) one of the F ports.
Observe the command line output.
188.559659 00.00.00 -> ff.ff.fe 0xc770 0xffff FC ELS FLOGI
188.574120 ff.ff.fe -> 18.02.00 0xc770 0x4f1b FC ELS ACC (FLOGI)
188.574430 18.02.00 -> ff.ff.fc 0xc788 0xffff FC ELS PLOGI
188.574561 ff.ff.fc -> 18.02.00 0xc788 0x4f1c FC ELS ACC (PLOGI)
188.574434 18.02.00 -> ff.ff.fd 0xc7a0 0xffff FC ELS SCR
188.575342 ff.ff.fd -> 18.02.00 0xc7a0 0x4f1d FC ELS ACC (SCR)
189.869646 ff.fc.18 -> 18.02.00 0x4f41 0xffff FC ELS PLOGI
189.870021 18.02.00 -> ff.fc.18 0x4f41 0xcab8 FC ELS ACC (PLOGI)
189.870101 ff.fc.18 -> 18.02.00 0x4f40 0xffff FC ELS PRLI
189.870312 18.02.00 -> ff.fc.18 0x4f40 0xcad0 FC ELS ACC (PRLI)
189.871490 ff.fc.18 -> 18.02.00 0x4f42 0xffff FC ELS LOGO
189.871632 18.02.00 -> ff.fc.18 0x4f42 0xcae8 FC ELS ACC (LOGO)
Note:The above command can be an invaluable tool for troubleshooting failed device logins.
12-4 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Lab Exercise 13: Using SPAN and the Cisco Port
Analyzer Adapter
Exercise Objective
In this exercise, you will configure a SPAN destination port and SPAN session to capture FC
data and control traffic using the Cisco Port Analyzer Adapter (PAA). You will use Ethereal to
view and analyze the output. After completing this exercise, you will be able to meet these
objectives:
Configure SPAN destination ports and SPAN sessions
Use Ethereal to capture and analyze frames from a PAA
Set display filters in Ethereal
Visual Objective
Figure 1 illustrates the topology that you will use in this exercise.
In this lab, you will use the MDS 9000 SPAN feature to capture FC data and control traffic and
send it via a Cisco PAA to a Windows host running Ethereal.
Note: Unlike FC Analyzer, performing protocol analysis with SPAN requires additional hardware in the
form of an external FC Analyzer, such as the PAA. As illustrated above, there is no PAA
attached to MDS1.
Required Resources
These are the resources and equipment required to complete this exercise:
1 MDS 9000 Fibre Channel switch with a PAA attached
2 Windows 2000 hosts with Fabric Manager and Device Manager installed
Ethereal version 0.9.10 or higher
WinPcap version 3.0 or higher
Command List
The commands used in this exercise are described in the table here.
Command Description
destination int fcx/y Sets the destination port for the current SPAN session
source int fcx/y Sets the source port for the current SPAN session
13-2 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Task 1: Configuring SPAN Ports
In this task, you will configure a SPAN Destination port (SD_Port) using Device Manager.
Note: If you are working alone in your pod, perform the following steps on MDS-2. If not, although there is
no PAA physically attached to MDS-1, one team can still perform the configuration of the SD
Port and the SPAN session there.
Step 1 Open a Device Manager connection to your switch. Login with the username
admin and the password 1234qwer.
Note: The port speed on an SD Port cannot be set to auto. It must be set to 1 or 2 Gbps.
13-4 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 5 Verify that port 16 now shows type SD.
Note:The SD port is a passive port. As long as there is a GBIC present, it will indicate SD, even if there is
no fiber optic cable or FC analyzer attached.
Step 6 Select Command Line Interface from the Device menu. Login as username admin
and password 1234qwer.
Step 7 Verify the configuration of the SD port as follows:
# show run interface fc1/16
interface fc1/16
switchport description SPAN Destination
switchport mode SD
switchport speed 1000
no shutdown
Note:Because the SPAN Destination port is attached to a Cisco PAA, it is a good idea to enable EISL
encapsulation on the SD_Port (disabled by default). This will allow you view EISL headers
and to capture per-VSAN statistics with tools such as the Cisco Traffic Analyzer.
Note:The output will show you the commands needed to configure an SD port from the CLI.
Step 1 Return to Device Manager. Select SPAN from the Interface menu.
13-6 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 5 In the SPAN dialog, double-click in the Dest Interface field and enter the SPAN
Destination port number fc1/16. Click Apply.
Note: The session Status should be Admin active, but Oper inactive, meaning administratively active,
but operationally inactive.
Step 10 Click port 5, the interface for one of your FC-attached hosts. Click OK.
Step 11 Click the transmit checkbox to select both receive and transmit.
13-8 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 14 Select the Sessions tab. Click Refresh. Verify that your session is now operationally
active.
Note: The above is a partial output of the display. The plus signs indicate lines added to the running
configuration. These four lines are equivalent to the 15 steps used in Device Manager to
configure a SPAN session.
Step 21 Select the Last adapter from the Interface pull down menu. Verify that the IP
Address field shows a 10.0.X.X address. If it does not try one of the other adapters.
Ensure that the IP address is of the form 10.0.X.X before continueing.
Step 23 Under Display Options select Update list of packets in real time and Automatic
scrolling in live capture.
Step 24 Click OK.
Note:Either Windows 2000 server will work fine for running Ethereal, because the PAA simply does a
MAC broadcast onto the Ethernet segment. Both servers are on the same network segment
as the PAA.
13-10 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 25 With the following window open, open Device Manager for MDS2 and bounce port
5 (enable/disable fc1/5).
Note: Recall that there is not a PAA physically attached to MDS-1, so bouncing port 5 on that switch will
not generate SPAN traffic.
Note: To save a copy of the packet capture to a local file so you can open it for later analysis, select
Save As from the File menu.
Step 27 Click the Protocol column header to sort the frames by protocol type. Scroll down
until you see the FC ELS FLOGI frame.
Note: There are several protocols that were captured in addition to Fibre Channel. In the following steps
we will create a filter to display only FC ELS frames.
Note: If no Fibre Channel frames are visible return to step 3 and select the second adapter from the
Interface pull down. Then repeat steps 4-8.
Note: You should now only see FC ELS frames displayed. Some of them may indicate “Malformed
Packet”. This is because the dip switches on the PAA are configured to truncate FC frames.
13-12 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 33 Select the FLOGI (fabric login) frame in the top window of the Ethereal display. In
the middle window, click the triangle next to Boardwalk to expand the EISL frame
header. Note the VSAN number of the frame.
Step 34 Expand the Fibre Channel header. Note the “well known” destination address for
the fabric login server.
Note: The FLOGI frame is coming from the server HBA port to the switch. At this point, the FC_ID of the
HBA is not known; hence the source address is 00.00.00.
Step 35 Locate and make a note of the Originator Exchange ID (OX_ID). ________
Step 36 Expand the Common Svc Parameters. Note the number of buffer-to-buffer credits
advertised by the HBA. Note the Qlogic PWWN.
Is this frame part of the same FC Exchange (in other words, is the OX_ID the same
as the FLOGI frame above? ________
Is this frame part of the same FC Exchange as the FLOGI frame? _______
13-14 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 42 Select the ACC to the PRLI.
Was the FCP Image Pair established? _______
FF FF FA Management Server
FF FF FC Directory Server
FF FF FD Fabric Controller
13-16 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Lab Exercise 14: Upgrading Switch Software
Exercise Objective
In this exercise, you will upgrade MDS switch software and recover from several image-related
problems. After completing this exercise, you will be able to meet these objectives:
Determine the version of a software image file
Download software images from a TFTP server to an MDS 9000 switch
Perform a full software upgrade
Install kickstart images from BIOS and/or the boot loader prompt
Install system images from the kickstart image prompt
Visual Objective
Figure 1 illustrates what you will accomplish in this exercise.
In this lab, you will download system and kickstart images from the TFTP server to the switch
bootflash, and perform a software upgrade. You will also access the switch through the console
port to troubleshoot problems loading software images.
Required Resources
These are the resources and equipment required to complete this exercise:
2 MDS 9000 Fibre Channel switches
Access to TFTP server with MDS 9000 software images
Command List
The commands used in this exercise are described in the table here.
Command Description
install all system file1 Upgrades the system (non-disruptively if dual supervisors are p
kickstart file2 system and kickstart image files.
copy running startup Copies the running configuration to the startup configuration.
copy tftp://ip_addr/path/file Copies the specified file from a TFTP server to the bootflash
bootflash:file directory.
14-2 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Task 1: Downloading Software Images to the Switch
In this task you will download software images to the switch and verify they arrived intact.
Note: Image downloads and software upgrades can be performed using Fabric Manager, Device
Manager or the CLI. Cisco strongly recommends performing software upgrades from the CLI because it
provides the most information and control. For this reason, in the following steps we will focus on the CLI
method.
Exercise Procedure
Complete these steps:
Step 1 Open a Command Line Interface to your switch. Login with the username admin
and the password 1234qwer.
Note: Parts of this lab must be done from the switch console; however, this portion of the lab can be done
from a Telnet or SSH connection as well.
Step 2 Display details of the currently installed images. In particular, note the version of the
kickstart and system software:
# show version
Cisco Storage Area Networking Operating System (SAN-OS)
Software
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2007, Cisco Systems, Inc. All rights
reserved.
The copyrights to certain works contained herein are owned by
other third parties and are used and distributed under
license.
Some parts of this software may be covered under the GNU
Public License or the GNU Lesser General Public License. A
copy of each such license is available at
http://www.gnu.org/licenses/gpl.html and
http://www.gnu.org/licenses/lgpl.html
Software
BIOS: version 1.1.0
loader: version 1.2(2)
kickstart: version 3.2(3)
system: version 3.2(3)
Note: Pay particular attention to the free space. You must have sufficient space for the image downloads.
As you can see, the kickstart and system images can consume over 70 MBytes.
Warning If you are upgrading an MDS 9500 series director, be sure to verify that there is sufficient free
space in bootflash on the backup supervisor module. You can do this with the following
command: dir bootflash://sup-n (where n is 1 or 2 depending upon which
supervisor is active.
Step 5 Verify that you can reach the TFTP server that holds the software images:
# ping 192.168.0.198
PING 192.168.0.198 (192.168.0.198): 56 data bytes
64 bytes from 192.168.0.198: icmp_seq=1 ttl=63 time=2.4 ms
64 bytes from 192.168.0.198: icmp_seq=2 ttl=63 time=0.6 ms
64 bytes from 192.168.0.198: icmp_seq=3 ttl=63 time=0.5 ms
64 bytes from 192.168.0.198: icmp_seq=4 ttl=63 time=0.5 ms
Step 6 If ping is not successful, verify the state of your mgmt0 interface and default
gateway. If still unsuccessful, contact the instructor for help.
Note: The assumption is that you have previously downloaded the software images to the TFTP server,
for example from the Cisco website. In lieu of TFTP, you can also use FTP, SFTP, or SCP.
In addition, on an MDS 9500 series director, you can copy images to and from the external
compact flash, slot0:.
14-4 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 7 Download the new kickstart image from the TFTP server to bootflash:
# copy tftp://192.168.0.198/9100-kickstart-3.2.2c
bootflash:9100-kickstart-3.2.2c
Trying to connect to tftp server......
/
TFTP get operation was successful
Step 8 Copy the new system image from the FTP server to bootflash. This time, use the
copy command interactively as follows:
# copy ftp: bootflash:
Enter the source filename: 9100-system-3.2.2c
Enter hostname for the ftp server: 192.168.0.198
Enter username: student
Password: mdslab
Step 10 Verify the software version for the new kickstart image file:
# show version image bootflash:9100-kickstart-3.2.2c
image name: m9100-s1ek9-kickstart-mz.3.2.2c.bin
loader: version 1.2(2)
kickstart: version 3.2(2c)
compiled: 11/16/2007 12:00:00 [11/17/2007 01:12:46]
Note: The image name shown in the command output is the actual image name used by Cisco.
Note: Loader code is embedded in the kickstart image and the BIOS code is embedded in the system
image. If new versions of the loader and BIOS are needed during a software upgrade
process, they will be extracted from these images.
14-6 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Task 2: Downgrading Software Images
In this task, you will perform a software downgrade using the install all command. You
will be moving from 3.2.3 image to the earlier 3.2.2c image.
Exercise Procedure
Complete these steps:
Step 1 Verify that there are no incompatibilities with the earlier 3.2.2c image
# show incompatibility system bootflash:9100-system-3.2.2c
No incompatible configurations
Step 2 Access the switch console (not Telnet or SSH) and initiate the software upgrade:
# install all kickstart bootflash:9100-kickstart-3.2.2c
system bootflash:9100-system-3.2.2c
Note: The above command can also be run from a Telnet or SSH session; however, the session will be
lost during a switch reboot or during a director supervisor failover.
Step 3 Observe the command output. Pay particular attention to the Impact information.
Enter y to proceed with the upgrade.
Compatibility check is done:
Module bootable Impact Install-type Reason
------ -------- -------------- ------------ ------
1 yes disruptive reset Reset due to single supervisor
Note: MDS 9500 series directors support a “hitless” upgrade, meaning software upgrades will normally
occur non-disruptively for the supervisor modules and FC line cards, however upgrades to
some services modules, such as the CSM, will be disruptive.
Note: On an MDS 9500 series director, the standby supervisor will first reload with the new image, and
then the switch will perform a hitless failover from the active to the standby supervisor. At
that point, the supervisor that was previously active will reload with the new image and come
up as the standby.
Step 6 Verify the kickstart and system software images have been updated:
# show version
Software
BIOS: version 1.1.0
loader: version 1.2(2)
kickstart: version 3.2(2c)
system: version 3.2(2c)
Step 7 Verify that the boot variables have been updated:
# show boot
kickstart variable = bootflash:/9100-kickstart-3.2.2c
system variable = bootflash:/9100-system-3.2.2c
14-8 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Task 3: Upgrading Software Images
In this task, you will perform a software upgrade using the install all command. You will
be moving from 3.2.2c image to the earlier 3.2.3 image.
Exercise Procedure 1
Complete these steps:
Step 1 Access the switch console (not Telnet or SSH) and initiate the software upgrade:
# install all kickstart bootflash:9100-kickstart-3.2.3
system bootflash:9100-system-3.2.3
Note: The above command can also be run from a Telnet or SSH session; however, the session will be
lost during a switch reboot or during a director supervisor failover.
Step 2 Observe the command output. Pay particular attention to the Impact information.
Enter y to proceed with the upgrade.
Compatibility check is done:
Module bootable Impact Install-type Reason
------ -------- -------------- ------------ ------
1 yes disruptive reset Reset due to single supervisor
Note: MDS 9500 series directors support a “hitless” upgrade, meaning software upgrades will normally
occur non-disruptively for the supervisor modules and FC line cards, however upgrades to
some services modules, such as the CSM, will be disruptive.
Note: On an MDS 9500 series director, the standby supervisor will first reload with the new image, and
then the switch will perform a hitless failover from the active to the standby supervisor. At
that point, the supervisor that was previously active will reload with the new image and come
up as the standby.
Step 5 Verify the kickstart and system software images have been updated:
# show version
Software
BIOS: version 1.1.0
loader: version 1.2(2)
kickstart: version 3.2(3)
system: version 3.2(3)
Step 6 Verify that the boot variables have been updated:
# show boot
kickstart variable = bootflash:/9100-kickstart-3.2.3
system variable = bootflash:/9100-system-3.2.3
14-10 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Exercise Procedure 2: Cleaning up Bootflash
Complete these steps:
Step 2 Delete the old kickstart image file to free up space on your bootflash.
# delete bootflash:9100-kickstart-3.2.2c
Step 3 Delete the old system image file to free up space on your bootflash.
# delete bootflash:9100-system-3.2.2c
Step 4 Verify that bootflash only contains the current 3.2.3 image files.
# dir bootflash:
14954496 Feb 12 20:02:24 2008 9100-kickstart-3.2.3
67605711 Feb 12 20:04:00 2008 9100-kickstart-3.2.3
Step 5 To simulate a corrupted or missing system file, delete the active system file:
# delete bootflash:9100-system-3.2.3
Step 6 Reload the switch.
# reload
This command will reboot the system. (y/n)? [n] y
Step 7 Observe the console as the switch resets and loads the kickstart image. Eventually
you should see the following switch prompt. This prompt indicates that the kickstart
image loaded successfully, but the system image did not.
switch(boot)#
Note: A small subset of switch commands is available in this mode. For example, there is no ping
command. Type “?” to see the list of available EXEC mode commands.
Step 8 Verify that the required system image is missing from bootflash.
switch(boot)# dir bootflash:
14954496 Feb 12 01:12:13 2008 9100-kickstart-3.2.3
Step 9 To resolve this problem, you can recover the missing system image from a TFTP
server. However, first check the state of the management 0 interface:
switch(boot)# show interface mgmt 0
mgmt0 is down.
Step 10 Enter global config mode. Configure the default gateway and mgmt0 interface (X
refers to your pod number, Y refers to 5 for MDS1, or 3 for MDS2):
switch(boot)# config terminal
Enter configuration commands, one per line. End with CNTL/Z.
switch(boot)(config)# interface mgmt 0
switch(boot)(config-if)# ip address 10.0.X.Y 255.255.255.0
switch(boot)(config-if)# no shut
switch(boot)(config-if)# exit
switch(boot)(config)# ip default-gateway 10.0.X.254
switch(boot)(config)# end
14-12 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 11 Recover the system image from the FTP server:
switch(boot)# copy ftp://192.168.0.198/9100-system-3.2.3
bootflash:9100-system-3.2.3
Enter username: student
Password: mdslab
Step 12 Verify the download was successful:
switch(boot)# dir bootflash:
14954496 Feb 14 22:55:26 2008 9100-kickstart-3.2.3
67605711 Feb 14 23:13:39 2008 9100-system-3.2.3
Step 13 Load the system image from the kickstart image prompt:
switch(boot)# load bootflash:9100-system-3.2.3
Note: Now that you’ve recovered from a missing system image file, next you’ll see how to recover from a
missing kickstart image file.
Note: A small subset of commands is available in this mode. Type “?” to see the available commands.
Step 18 To resolve this problem, you can boot the kickstart image from a TFTP server.
However, similar to above, you must first configure the mgmt 0 interface IP address
(X refers to your pod number; Y refers to 5 for MDS1 or 3 for MDS2):
loader> ip address 10.0.X.Y 255.255.255.0
Found Intel EtherExpressPro100 82559ER at 0xe800, ROM address
0xc000
Probing...[Intel EtherExpressPro100 82559ER]Ethernet addr:
0:0D:BD:84:FD:F5
Address: 10.0.X.5
Netmask: 255.255.255.0
Server: 0.0.0.0
Gateway: 0.0.0.0
Step 19 Configure the default gateway (X refers to your pod number):
loader> ip default-gateway 10.0.X.254
Address: 10.0.X.5
Netmask: 255.255.255.0
Server: 0.0.0.0
Gateway: 10.0.X.254
Step 20 Boot the kickstart image from the TFTP server
loader> boot tftp://192.168.0.198/9100-kickstart-3.2.3
Note: This boots, but does not download, the kickstart image to the switch.
Step 21 Enter global config mode. Configure the default gateway and mgmt0 interface (X
refers to your pod number, Y refers to 5 for MDS1, or 3 for MDS2):
switch(boot)# config terminal
Enter configuration commands, one per line. End with CNTL/Z.
switch(boot)(config)# interface mgmt 0
switch(boot)(config-if)# ip address 10.0.X.Y 255.255.255.0
switch(boot)(config-if)# no shut
switch(boot)(config-if)# exit
switch(boot)(config)# ip default-gateway 10.0.X.254
switch(boot)(config-if)# end
switch(boot)#
14-14 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 22 Recover the kickstart image from the TFTP server:
switch(boot)# copy ftp://192.168.0.198/9100-kickstart-3.2.3
bootflash:9100-kickstart-3.2.3
Enter username: student
Password: mdslab
Note: Now you’ve seen how to recover from missing or corrupted system and kickstart files. Note that the
above problem of finding yourself at the loader> or switch(boot)# prompts can also
occur simply because the boot variables are missing or mistyped in the configuration file.
Step 1 Pay close attention to the console as the system reboots. When you see the following
message, immediately press Ctrl-C:
00000589K Low Memory Passed
00000000K Ext Memory Passed
Hit ^C if you want to run SETUP.
Step 2 This should take you to the System BIOS Setup screen.
Note: BIOS stands for Basic Input Output System. CMOS stands for Complementary Metal Oxide
Semiconductor.
14-16 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 3 Press <Enter> to go the Basic CMOS Configuration screen.
Note: At this point, you could use the <tab> key to move the “>” cursor to various fields and enter
information similar to that shown above to configure the switch to boot the kickstart image
from a TFTP server. The steps for completing the process are similar to the previous
procedures. These step, including re-formatting the bootflash file system, are covered in
detail in the MDS Configuration Guide.
Visual Objective
Figure 1 illustrates the topology that should be working when you have completed this lab.
The above topology is nearly identical to the one that you have been building up to throughout
the course. The primary difference is that the VSANs are numbered 100 and 200 rather than X1
and X2 (where X is your pod number). Also note that the VSAN port assignments force traffic
to cross switch ISLs.
Required Resources
These are the resources and equipment required to complete this exercise:
2 MDS 9000 family Fibre Channel switches
2 Windows 2000 hosts running Fabric Manager and Device Manager
2 Windows 2000 servers with dual attached FC HBAs
A FC-AL JBOD disk device with at least four disks
Exercise Objective
The overall goal of this exercise is to practice the skills you’ve learned throughout the course to
put the fabric back in a working state.
Unlike previous labs, in this exercise, you be given very little direction.
15-2 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Job Aids
The following are some CLI commands that may be helpful in performing this lab.
show interface fcx/y Displays a detailed output of the status of the specified port.
show fcns database vsan x Displays the FC Name Server database for the specified
VSAN.
Problem Statement
Your fabric was working fine. Then last night, one of the junior technical support staff got his
hands on the administrative password, and now the hosts cannot see their storage. You have
been assigned the task of resolving the problem.
Step 1 Stop all Fabric Manager and Device Manager sessions you may have running.
Step 2 Completely uninstall the Fabric Manager (see lab 2 if you are unsure how to achieve
this.)
Step 3 Login to your switch console (not Telnet or SSH) with the username admin and the
password 1234qwer..
Step 4 Erase your current startup configuration:
# write erase
Warning: This command will erase the startup-configuration.
Do you wish to proceed anyway? (y/n) [n] y
Step 5 Reload your switch:
# reload
This command will reboot the system. (y/n)? [n] y
Step 6 When the switch reloads, you will be asked if you want to perform the initial setup.
Answer “yes” and perform a basic switch configuraiton.
Would you like to enter the basic configuration dialog
(yes/no): yes
Step 7 Login with the username admin and the password 1234qwer.
15-4 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.
Step 8 Install the Fabric Manager on your W2K system.
ZoneSet_Eng_100
ZoneS1D1
Server1
Disk1
ZoneS1D2
Server1
Disk2
ZoneSet_Sales_200
ZoneS2D3
Server2
Disk3
ZoneS2D4
Server2
Disk4
Make sure all devices are properly logged into the fabric
Use device aliases
• Port Mode Security: Set port mode security on all active ports
15-6 Implementing Cisco Storage Networking Solutions (ICSNS) v3.2 Copyright © 2008, Skyline ATS, Inc.