Professional Documents
Culture Documents
Lab Guide CFP300 Rev0114 LG - L
Lab Guide CFP300 Rev0114 LG - L
Brocade Advanced
Gen 5 SAN
Administration
Lab Guide
Brocade University
Revision 0114
Corporate Headquarters - San Jose, CA USA
T: (408) 333-8000
info@brocade.com
Brocade, the Brocade B-weave logo, Fabric OS, File Lifecycle Manager, MyView, Secure Fabric OS, SilkWorm,
and StorageX are registered trademarks and the Brocade B-wing symbol and Tapestry are trademarks of
Brocade Communications Systems, Inc., in the United States and/or in other countries. FICON is a registered
trademark of IBM Corporation in the U.S. and other countries. All other brands, products, or service names are
or may be trademarks or service marks of, and are used to identify, products or services of their respective
owners.
Notice: This document is for informational purposes only and does not set forth any warranty, expressed or
implied, concerning any equipment, equipment feature, or service offered or to be offered by Brocade.
Brocade reserves the right to make changes to this document at any time, without notice, and assumes no
responsibility for its use. This informational document describes features that may not be currently available.
Contact a Brocade sales office for information on feature and product availability. Export of technical data
contained in this document may require an export license from the United States government.
Revision 0114
Contents
Remote Lab Access Instructions
Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Record Remote Lab Access Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Login information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Connecting to the Brocade RSL Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Close Open Sessions and Exit Remote Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Module 5: FCIP
Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
FCIP Simulation Lab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Objectives
In this lab exercise, you will perform tasks related to connecting and then disconnecting from the
Brocade Remote Solutions Lab. This lab is divided into the following sections:
Record remote lab access information
Connect to the Brocade RSL environment
Cleanly disconnect from the remote lab station
NOTE
If this is your first time connecting to the RSL, you will be prompted to download the Secure Application
Manager. The Secure Application Manager is used to control access to the RSL.
7. The Secure Application Manager used to control access to the RSL launches.
8. A link to your RSL station will be provided (shown below). Click the link to access your RSL
workstation.
10. A web browser window to the Windows server in your RSL workstation opens. You may first be
prompted with a dialog (shown below) that warns you about displaying the web browser in full-
screen mode. Review the information then click OK.
NOTE
You can press Ctrl+Alt+Pause to toggle between a window view and a full-screen view.
13. You have successfully connected to the Windows server in your RSL workstation. In your display,
you will see the tab controls shown below. Remember, typing CTRL-ALT-PAUSE will toggle
between full screen and windowed mode.
Important
Once you are connected please do not alter any of the partitions on the C drive.
If you are unable to sign on to your station, notify the instructor immediately.
Objectives
Verify that the edge and backbone fabrics are ready for FC-FC integrated routing activities
Configure a backbone router for FC-FC integrated routing
Configure and verify zone aliases for backbone and edge fabrics
Configure edge-to-edge FC-FC routing across a B5100-based backbone
Lab Environment
Getting Started
This lab exercise will configure a backbone and 2 edge fabrics for sharing devices while maintaining
fabric services and fault isolation between the fabrics.
To connect to the environment, follow the instructions in Lab 0. You will need information about logins,
passwords, and switch IP address information found in the Student Information Sheet.
1. Verify that your station includes the devices shown.
All devices should be enabled and form a single FC fabric.
Credentials to access switches and RSL station:
User credentials for Remote Desktop to servers:
- Username: Administrator (click Administrator icon)
- Password: brcd
User credentials for Brocade Network Advisor:
- Username: Administrator
- Password: password
User credentials for the B300, B5100, B6510:
- Username: admin
- Password: password
NOTE
Keep the Telnet sessions open until you are instructed to close them.
<output truncated>
7. Review the switchshow command output from Step6 and fill in the following parameters:
a. switchDomain: ____________________________________1
b. zoning: ____________________________________2
c. FC Router: ____________________________________3
d. List all E_Ports: ____________________________________4
8. Type the licenseshow command and verify the Integrated Routing license is installed.
ST01-B5100:admin> licenseshow
c9SdQeRedATeRK:
1.2
2. There should be no active zoning configuration (zoning output is OFF).
3. The FC Router output should display OFF.
4. Ports 8, 9, 14, 15
Fabric license
bRyRc9RRzbci3Sd6:
Full Ports on Demand license - additional 16 port upgrade
license
PWrGHFKXFHQ4EAMSPWNJFXXSfEYKY7C9BJ9MH:
Enhanced Group Management license
RR3rEXQKTXHHmR3gLYRgF3ttSXS7KM9rBJtSK:
8 Gig FC license
QDQfZS3QWaPmrSDHfrMRGXYFrffr3F9LB7tYN:
Extended Fabric license
Fabric Watch (Fabric Vision capable) license
Performance Monitor (Fabric Vision capable) license
Trunking license
Integrated Routing license
Adaptive Networking - obsolete license
7aACCMPLDAfrRrFJXHZEGHS3FfLf9HAtB7LTA:
Server Application Optimization - obsolete license
ST01-B5100:admin> switchenable
10. Use the fosconfig --show command and verify that the FC Routing service is
disabled.
ST01-B5100:admin> fosconfig --show
FC Routing service: disabled
iSCSI service: Service not supported on this Platform
iSNS client service: Service not supported on this Platform
Virtual Fabric: disabled
Ethernet Switch Service: Service not supported on this Platform
If the FC Routing service feature is enabled then disable it using the
fosconfig --disable fcr command.
11. Type the switchshow to verify the switch is enabled and the FC BB Fabric ID is set to 100.
ST01-B5100:admin> switchshow
switchName:ST01-B5100
switchType:66.1
switchState:Online
switchMode:Native
switchRole:Principal
switchDomain:2
switchId:fffc02
switchWwn:10:00:00:05:1e:7f:06:9c
zoning:OFF
switchBeacon:OFF
FC Router:OFF
FC Router BB Fabric ID:100
Address Mode:0
12. Type the fosconfig --enable fcr command.
ST01-B5100:admin> fosconfig --enable fcr
FC Routing service is enabled
13. Verify the FC Router feature is enabled using the fosconfig --show command.
ST01-B5100:admin> fosconfig --show
FC Routing service:enabled
iSCSI service:Service not supported on this Platform
iSNS client service:Service not supported on this Platform
Virtual Fabric:disabled
Ethernet Switch Service:Service not supported on this Platform
14. Use the portdisable command to disable all E_Ports connected to the B300 and B6510.
ST01-B5100:admin> portdisable 8-9
ST01-B5100:admin> portdisable 14-15
15. Verify FC router-related values in backbone fabric:
a. Display the FC router switches in the backbone fabric using the fcrfabricshow
command.
ST01-B5100:admin> fcrfabricshow
FC Router WWN: 10:00:00:05:1e:7f:06:9c, Dom ID: 2,
Info: 10.255.224.35, "ST01-B5100"
EX_Port FIDNeighbor Switch Info (enet IP, WWN, name)
------------------------------------------------------------------------
N/A
How many FC router switches appear? 5
____________________________________________________________________
b. Display the FCR physical devices initially configured in backbone fabric using the
fcrphydevshow command.
ST01-B5100:admin> fcrphydevshow
No device found
5. One (domain 2)
6. None.
7. None.
8. None.
9. No devices are being shared.
31. From the Web Tools window select the Configure > FCR menu.
32. In the FC Router window that opens, click on the EX-Ports tab.
33. Verify the switch name in the left pane is highlighted and click Actions > New.
34. From the Port Selection List click Port 8.
35. Click Add.
36. Click Next.
37. In the drop down list for Fabric ID, select 20.
38. Review the remaining default FC Parameters and accept them by clicking Next.
39. Confirm the settings, click Save and Close.
40. Repeat this procedure for Port 9.
41. Enable both ports by right-clicking and selecting Port Enable.
Why? 13
____________________________________________________________________
44. Move to the B300 (edge fabric 10) Telnet session and identify the changes seen from these
commands:
a. Type switchshow | grep -i online.
ST02-B300:admin> switchshow | grep -i online
switchState: Online
12. Yes.
13. No additional switches (domains) were added to the backbone fabric, front domains are not presented
in the backbone, and devices are not being shared with the backbone so no translate domains were
added. Therefore the count of 1 domain did not change.
How many front domains are now present? What do you observe about the domain ID of
the new front domain? 16
____________________________________________________________________
d. Type the topologyshow command.
ST02-B300:admin> topologyshow
Domain: 5
Metric: 500
Name: fcr_fd_5
Path Count: 1
Hops: 1
Out Port: 14
In Ports: 1
Total Bandwidth: 16.000 Gbps
Bandwidth Demand: 50 %
Flags: D
14. Yes.
15. Domain name fcr_fd_5 represents Fibre Channel Router Front Domain with a domain ID of 5 as
specified earlier when we configured EX_Ports -d 5 on the B5100.
16. There is one front domain, with a domain ID of 5 as configured earlier.
17. One hop to the front domain.
CHECK POINT
There should now be four EX_Ports configured on the B5100; two that are attached to edge fabric 10
B300 and two to edge fabric 20 B6510. These ports should form EX_Port trunks with each respective
edge fabric EX_Port. Your topology window in Network Advisor should look similar to the following:
49. Expand all the objects in the device tree in the pane on the left of the Zoning window.
50. Click New Zone.
51. Rename the new zone to LSAN_StXX, where XX is your station number.
52. Select the Brocade Host Adapter port connected to the B6510 and the storage device attached
the B300 and click the arrow button that points to the right to add it to the new LSAN zone you
created.
NOTE
If a zone configuration is already effective in a given fabric, then the new LSAN zone will be added to
the existing configuration and it will be activated. If no effective configuration is present, a new auto-
matically generated zone configuration will be created and activated.
54. Verify that both the edge fabrics are listed in the Destination Fabrics column. If any are missing,
select it from the Fabrics pane, and click the arrow pointing to the left to add it as a destination.
60. In the Connectivity Map, right-click the Edge20 and Edge10 fabrics and select View > Connected
End Devices > Show All.
NOTE
The end devices have a blue arrow pointing away from them indicating that they are being exported out
to another fabric.
61. Looking at the device tree for Edge10 expand Routed Products Group > From Lab Fabric
Edge10, you will see the host being imported from the B6510 Edge20 fabric.
62. Return to the B5100 Telnet session and type the fcrproxydevshow command to verify that
the devices are in the Imported state.
ST01-B5100:admin> fcrproxydevshow
Proxy WWN Proxy Device Physical State
Created PID Exists PID
in Fabric in Fabric
----------------------------------------------------------------------------
10 10:00:00:05:1e:56:c8:2b 02f001 20 030000 Imported
20 20:00:00:11:0d:0f:84:00 01f001 10 010100 Imported
Total devices displayed: 2
63. Type the lsanzoneshow command to verify that the LSAN zones have been created in each of
the respective Fabric IDs.
ST01-B5100:admin> lsanzoneshow
Fabric ID: 10 Zone Name: LSAN_stXX
10:00:00:05:1e:56:c8:2b
20:00:00:11:0d:0f:84:00
Fabric ID: 20 Zone Name: LSAN_stXX
18. These are the Translate Domains created by sharing routed devices to these fabrics.
10:00:00:05:1e:56:c8:2b
20:00:00:11:0d:0f:84:00
19. Three domains exist. The B300 itself, one translate domain, and one front domain. The name of the new
xlate domain fcr_xd_2_20 indicates a translate domain with a domain ID of 2 connected to a fabric
with a FID of 20 (Edge20 fabric.)
Effective configuration:
cfg: LSAN_CFG_20131215
zone: LSAN_stXX
20:01:00:11:0d:0f:85:00
10:00:00:05:1e:57:7c:b5
____________________________________________________________________20
a. Still on the B300, identify newly imported device from B5100 backbone fabric (the storage
from B5100 backbone fabric) whose PID has the same domain ID as the new translate
domain seen in the previous step using the nsallshow command, and write it here: 21
____________________________________________________________________
ST01-B300:admin> nsallshow
{
010100 02f001
2 Nx_Ports in the Fabric }
ST02-B300:admin> topologyshow
Domain: 2
Metric: 10500
Name: fcr_xd_2_20
Path Count: 1
Hops: 2
Out Port: 14
In Ports: 1
Total Bandwidth: 16.000 Gbps
Bandwidth Demand: 100 %
Flags: D
Domain: 5
Metric: 500
Name: fcr_fd_5
Path Count: 1
Hops: 1
Out Port: 14
In Ports: 1
Total Bandwidth: 16.000 Gbps
Bandwidth Demand: 100 %
Flags: D
How many hops to the new translate domain, and what is the metric cost? 22
____________________________________________________________________
c. Type the nsshow command. This shows you the contents of the Name Server entries on
the B300 that includes the physical storage port. Use the output of this command for
Step66.
ST01-B300:admin> nsshow
{
Type Pid COS PortName NodeName
TTL(sec)
N 010100;
3;20:00:00:11:0d:0f:84:00;20:00:00:11:0d:0f:84:00; na
FC4s: FCP
PortSymb: [36] "Brocade University Virtual FC Target"
Fabric Port Name: 20:01:00:05:1e:0a:83:6d
Permanent Port Name: 20:00:00:11:0d:0f:84:00
Port Index: 1
Share Area: No
Device Shared in Other AD: No
Redirect: No
Partial: No
The Local Name Server has 1 entry }
____________________________________________________________________
d. Type the nscamshow command. This shows you the contents of the Name Server entries
on the translate domain that includes the imported host from the Edge 20 fabric.
ST01-B300:admin> nscamshow
nscam show for remote switches:
Switch entry for 2
state rev owner cap_available
known v410 0xfffc01 1
Device list: count 1
Type Pid COS PortName NodeName
N 02f001;
3;10:00:00:05:1e:56:c8:2b;20:00:00:05:1e:56:c8:2b;
FC4s: FCP
22. It is 2 hops to the translate domain. The metric cost for the translate domain is 10500.
67. Return to the Telnet window for the B5100, and identify the changes seen in the backbone
fabric:
a. Use the fcrphydevshow command to display the physical devices being shared through
backbone fabric.
ST01-B5100:admin> fcrproxydevshow
Proxy WWN Proxy Device Physical State
Created PID Exists PID
in Fabric in Fabric
----------------------------------------------------------------------------
10 10:00:00:05:1e:56:c8:2b 02f001 20 030000 Imported
20 20:00:00:11:0d:0f:84:00 01f001 10 010100 Imported
Total devices displayed: 2
How many physical devices is the FC router sharing? By reviewing the Fabric IDs, in
which fabrics do the physical devices reside?23
____________________________________________________________________
b. Use the fcrproxydevshow command to display the proxy devices configured in
backbone fabric.
How many proxy devices are there now in backbone fabric? Do the proxy devices match
the physical devices displayed in the previous step? 24
____________________________________________________________________
c. Use the fcrresourceshow command to display the FCR resources in the backbone
fabric .
ST01-B5100:admin> fcrresourceshow
Daemon Limits:
Max Allowed Currently Used
----------------------------------
LSAN Zones: 3000 2
LSAN Devices: 10000 4
Proxy Device Slots: 10000 2
Port Limits:
Max proxy devices: 2000
Max NR_Ports: 1000
Currently Used(column 1: proxy, column 2: NR_Ports):
8 | 1 2
9 | 0 2
14 | 1 2
15 | 0 2
23. There are two physical devices, one in the edge fabric (FID = 10) and one in edge fabric (FID = 20).
24. There are two proxy devices, one in the edge fabric (FID = 10) and one in edge fabric (FID = 20). The proxy
devices appear in the opposite fabrics as they appeared in the fcrphydevshow output.
How many LSAN zones have now been allocated? How many LSAN devices? How many
proxy devices have been allocated? 25
____________________________________________________________________
d. Use the lsanzoneshow -s command to display the LSAN zones seen by the backbone
fabric.
ST01-B5100:admin> lsanzoneshow -s
Fabric ID: 10 Zone Name: LSAN_St01
10:00:00:05:1e:56:c8:2b Imported
20:00:00:11:0d:0f:84:00 EXIST
Fabric ID: 20 Zone Name: LSAN_St01
10:00:00:05:1e:56:c8:2b EXIST
20:00:00:11:0d:0f:84:00 Imported
How many LSAN zones have now been allocated in the edge fabric (FID = 10) and
backbone fabric (FID = 100)? Does this match the current zone configurations in the
two fabrics? 26
____________________________________________________________________
Important
This concludes the FC-FC Routing lab. Complete the Lab Cleanup on page26 section to prepare for
the next lab.
Lab Cleanup
NOTE
These cleanup steps are required for the remaining exercises in your lab guide.
68. In the Telnet session for the B5100 disable the switch using the switchdisable command.
69. For each configured EX_Port, type the following command, refer to the Figure1 on page7 if
necessary.
ST01-B5100:admin> portcfgdefault 8
ST01-B5100:admin> portcfgdefault 9
ST01-B5100:admin> portcfgdefault 14
ST01-B5100:admin> portcfgdefault 15
70. On the B300 re-enable port 0.
25. Two LSAN zones have been created, four LSAN devices and 2 proxy devices
26.There is one zone in the edge fabric (FID = 10) and one zone in edge fabric (FID = 20). If everything is
correct it will match the zone configurations in the two fabrics.
71. Disable FC-FC Routing on the B5100 using the fosconfig --disable fcr command,
answer y to the prompt.
ST01-B5100:admin> fosconfig --disable fcr
FC Routing service is disabled
72. Enable the switch using the switchenable command.
73. From the Telnet session of the B5100 Type the switchshow and verify all ISLs between the
B5100, B300 and B6510 are online and not segmented.
74. Type the fabricshow command and verify all four of your switches have joined the fabric.
75. After the fabric has stabilized all four switches in the fabric, remove the zoning information from
the fabric using the following commands on the B5100.
a. cfgdisable, answer y to the prompt
ST01-B5100:admin> cfgdisable
You are about to disable zoning configuration. This
action will disable any previous zoning configuration enabled.
Do you want to disable zoning configuration? (yes, y, no, n):
[no] y
Updating flash ...
b. cfgclear, answer y to the prompt
ST01-B5100:admin> cfgclear
The Clear All action will clear all Aliases, Zones, FA Zones
and configurations in the Defined configuration.
Run cfgSave to commit the transaction or cfgTransAbort to
cancel the transaction.
Do you really want to clear all configurations? (yes, y, no, n):
[no] y
c. cfgsave, answer y to the prompt
ST01-B5100:admin> cfgsave
You are about to save the Defined zoning configuration. This
action will only save the changes on Defined configuration.
Any changes made on the Effective configuration will not
take effect until it is re-enabled. Until the Effective
configuration is re-enabled, merging new switches into the
fabric is not recommended and may cause unpredictable
results with the potential of mismatched Effective Zoning
configurations.
Do you want to save Defined zoning configuration only? (yes, y,
no, n): [no] y
Updating flash ...
Objectives
Upon completion of this lab, you should be able to:
Configure an FCIP tunnel using CLI
Discover your FCIP tunnel using DCFM
Configure a tunnel using DCFM
Implement QoS over FCIP
Add a second circuit to the tunnel
Simulate failover
NOTE
This simulation requires Adobe Flash player, if you try to launch the EXE file and nothing hap-
pens (no error messages) please install Adobe Flash.
Objectives
In this laboratory exercise, you will perform tasks related to configuring Flow Vision flows:
Configuring flows for Flow Monitor
Configuring flows for Flow Mirror
Creating SIM-Ports
Configuring Flow Generator to generate traffic
Viewing Flow Vision configuration
NOTE
Kgen works by creating a test file and then writing it to a disk device. After the file is written it is then
read back and verified. When looking at the traffic profile keep in mind that you will see 1 GB worth of
writes followed by 1 GB worth of reads and then the test will repeat.
-------------------------------------------------------------------------------------------------
| I/O Count | I/O Per Sec.(IOPS) | I/O bytes Transferred | I/O bytes Per Sec. |
| Reads / Writes/ Total | Reads / Writes/ Total | Reads / Writes/ Total | Reads / Writes/ Total |
-------------------------------------------------------------------------------------------------
| 19.23k/ 22.59k/ 41.83k| 135 / 156 / 291 | 30.65G/ 36.21G/ 66.87G|221.50M/258.16M/479.66M|
-------------------------------------------------------------------------------------------------
1.The throughput is shown bidirectionaly. You can tell from the flow definition at the top of the show output.
10. Wait a moment to allow traffic to flow and then check the output with the
flow --show throughput command.
ST01-B6510:FID1:admin> flow --show throughput
========================================================================================================================
Name : throughputFeatures: mon(Active)noConfig: Off
Definition: IngrPort(0),SrcDev(0x030000),DstDev(0x010100),FrameType(srd)
11. After you have looked at the output remove the flow using the flow --delete throughput
command.
14. You can also see more information using the verbose option,
flow --show throughput -v.
NOTE
The verbose output includes the first 64 bytes of each frame captured. The output is too wide to be
shown correctly in this lab guide.
2.Although the SIM-Port looks like a normal port, it is called out as a SIM-Port in the last column.
3.There is no port or node symbolic information, however, this is not a clear identifier.
21. When the flow has been created use the flow --show traffic2 command to see the flow details.
Notice how the details are displayed for each feature the flow is attached to.
B6510:admin> flow --show traffic2
========================================================================================================================
Name : traffic2Features: gen(Active),mon(Active)noConfig: Off
Definition: IngrPort(2),SrcDev(0x030200),DstDev(0x010400)
-------------------------------------------------------------------------------------------------
| I/O Count | I/O Per Sec.(IOPS) | I/O bytes Transferred | I/O bytes Per Sec. |
| Reads / Writes/ Total | Reads / Writes/ Total | Reads / Writes/ Total | Reads / Writes/ Total |
-------------------------------------------------------------------------------------------------
| 0 / 0 / 0 | 0 / 0 / 0 | 0 / 0 / 0 | 0 / 0 / 0 |
-------------------------------------------------------------------------------------------------
22. You can also see the Flow Generator traffic as it crosses the ISL using the portperfshow
command.
23. Disable the traffic2 flow for the Flow Generator feature.
B6510:admin> flow --deactivate traffic2 -feature generator
24. Use the flow --show traffic2 command, notice that the monitor statistics remain but the flow
generator is no longer running.
ST01-B6510:FID1:admin> flow --show traffic2
========================================================================================================================
Name : traffic2Features: gen(Deactivated),mon(Active)noConfig: Off
Definition: IngrPort(2),SrcDev(0x030200),DstDev(0x010400)
-------------------------------------------------------------------------------------------------
| I/O Count | I/O Per Sec.(IOPS) | I/O bytes Transferred | I/O bytes Per Sec. |
| Reads / Writes/ Total | Reads / Writes/ Total | Reads / Writes/ Total | Reads / Writes/ Total |
-------------------------------------------------------------------------------------------------
| 0 / 0 / 0 | 0 / 0 / 0 | 0 / 0 / 0 | 0 / 0 / 0 |
-------------------------------------------------------------------------------------------------
SimPort Information
------|--------|--------------------------|--------------------|--------------------|
Index | PID | PWWN | SID Frame Count | DID Frame Count |
------|--------|--------------------------|--------------------|--------------------|
1 | 030100 | 20:01:00:05:33:93:69:40 | 697369K | 0K |
2 | 030200 | 20:02:00:05:33:93:69:40 | 113252K | 696374K |
------|--------|--------------------------|--------------------|--------------------|
27. Before continuing with the next steps delete the throughput flow:
B6510:admin> flow --delete throughput
This ends the Module 6a Lab: Configuring Flow Vision on the CLI exercise.
Objectives
In this laboratory exercise, you will perform tasks related to configuring Flow Vision using Network
Advisor.
Configuring flows for Flow Monitor
Configuring flows for Flow Mirror
Configuring Flow Generator to generate traffic
Viewing Flow Vision configuration information
Viewing Flow Vision flows graphically
3. Right-click on the B6510 entry and select Fabric Vision > Flow > Add from the menu, the Add
Flow Definition window will be displayed.
a. In the Name field enter bna_host_flow.
b. In the Features section put a check next in the Monitor check box.
c. Select the Source to Destination radio button.
d. Under Basic Options enter 030000 in the Source text box and 010100 in the Destination text box.
e. In the Switch section select the D,I radio button and enter 3,0 in the Ingress text box, this is the host
port for your stations host.
f. Expand the Advanced Options section by clicking on it and click the elipses (...) next to the Frame
Type field, the Frame Types Picker dialog will be displayed.
g. Under Available Frame Types select scsiwrite and click the right arrow to add it to the Selected Frame
Types.
030000 010100
i. Click OK, the flow will be created and the Flow Vision monitoring dialog will be displayed.
4. Click Close to return to the main Network Advisor window.
5. Right-click the B6510 entry again, select Fabric Vision > Flow > Add.
6. Create a new flow with the following options, if an option is not mentioned leave it at default:
Name: bna_generator_flow
Features: Generator
Source: 030100
Destination: 010400
Switch: D,I radio button
Ingress: 3,1
7. Click OK to create the flow, the Flow Vision control dialog will be displayed.
9. Click the arrow next to the Performance Graph button and select real-Time Graph.
10. On the left side select the bna_host_flow, you can scroll to the right to see the name and other
flow information.
11. Select the Receive Frame Rate (f/s) entry and click the right arrow to add it to the graph. You
should see something similar to the image below.
con
12. Click the Select Flows button, the Flow Vision control dialog will be displayed.
13. Select the bna_generator flow and click the right arrow to add it to the Flows column.
14. In the Feature pull-down on the right side select Generator and click the Graph button.
15. Select the bna_generator flow and the Generator Receive Frame Count (count) entry, click the
right arrow to add it to the graph.
16. Click Close to return to the main Network Advisor window.
Lab Cleanup
17. Stop the running KGen test.
18. In BNA select the B6510, right-click and select Flow Vision> Flow> Monitor
19. Select all flows using ctrl+click, from the Flow pull-down select Delete.
20. Log into the B6510 and disable the SIM Ports:
6510:admin> flow --control -simport 1 -disable
6510:admin> flow --control -simport 2 -disable
This ends the Module 6b Lab: Flow Vision and Network Advisor exercise.
Objectives
In this laboratory exercise, you will perform tasks related to configuring MAPS from the CLI:
Configuring custom groups
Creating, modifying, and editing rules and policies
5. When the conversion is complete check the MAPS policy summary one more time using the
mapspolicy --show -summary command. How many MAPS policies are there now?2
____________________________________________________________________
ST01-B300:admin> mapspolicy --show -summary
Policy Name Number of Rules
------------------------------------------------------------
dflt_aggressive_policy : 173
dflt_conservative_policy : 175
dflt_moderate_policy : 175
fw_default_policy : 107
fw_custom_policy : 107
fw_active_policy : 107
2.There should be six policies now, the three default policies and the three policies created by the Fabric
Watch conversion.
NOTE
The action list given in the mapsconfig --actions command will replace the current action
list, it does not add the action to the list. You will need to put the full list of actions you want to
enable in the command, even if some of the actions are already enabled.
3.By default the SW_CRITICAL, SW_MARGINAL, and SW_HEALTHY actions are enabled.
---------------------------------------------------------------------------------------------------------
Group Name |Predefined |Type |Member Count |Members
---------------------------------------------------------------------------------------------------------
ALL_PORTS |Yes |Port |24 |0-23
NON_E_F_PORTS |Yes |Port |20 |2-3,5-13,16-23
ALL_E_PORTS |Yes |Port |2 |14-15
ALL_F_PORTS |Yes |Port |2 |0-1
ALL_OTHER_F_PORTS |Yes |Port |0 |4
ALL_HOST_PORTS |Yes |Port |1 |0
ALL_TARGET_PORTS |Yes |Port |1 |1
ALL_TS |Yes |Temperature Sensor|3 |0-2
ALL_FAN |Yes |Fan |3 |1-3
ALL_WWN |Yes |WWN |1 |1
ALL_PS |Yes |Power Supply |1 |1
ALL_SFP |Yes |Sfp |4 |0-1,14-15
ALL_10GSWL_SFP |Yes |Sfp |0 |
ALL_10GLWL_SFP |Yes |Sfp |0 |
ALL_16GSWL_SFP |Yes |Sfp |0 |
ALL_16GLWL_SFP |Yes |Sfp |0 |
ALL_QSFP |Yes |Sfp |0 |
ALL_FLASH |Yes |Flash |1 |0
ALL_CIRCUITS |Yes |Circuit |0 |
SWITCH |Yes | |1 |0
CHASSIS |Yes | |1 |0
11. Look at the ALL_F_PORTS group, which ports are a member of this group by default on the
switch? What about the ALL_E_PORTS group?4
____________________________________________________________________
4.On this switch you will see ports 0-1 in the ALL_F_PORTS group and ports 14-15 in the ALL_E_PORTS
group.
12. Disable ports 0-1 and ports 14-15 on the switch. Run the logicalgroup --show command
one more time, are those ports still members of the ALL_F_PORTS and ALL_E_PORTS groups?5
____________________________________________________________________
ST01-B300:admin> portdisable 14-15
ST01-B300:admin> portdisable 0-1
ST01-B300:admin> logicalgroup --show
---------------------------------------------------------------------------------------------------------
-----
Group Name |Predefined |Type |Member Count |Members
---------------------------------------------------------------------------------------------------------
-----
ALL_PORTS |Yes |Port |24 |0-23
NON_E_F_PORTS |Yes |Port |24 |0-23
ALL_E_PORTS |Yes |Port |0 |
ALL_F_PORTS |Yes |Port |0 |
ALL_OTHER_F_PORTS |Yes |Port |0 |
ALL_HOST_PORTS |Yes |Port |0 |
ALL_TARGET_PORTS |Yes |Port |0 |
ALL_TS |Yes |Temperature Sensor|3 |0-2
ALL_FAN |Yes |Fan |3 |1-3
ALL_WWN |Yes |WWN |1 |1
ALL_PS |Yes |Power Supply |1 |1
ALL_SFP |Yes |Sfp |4 |0-1,14-15
ALL_10GSWL_SFP |Yes |Sfp |0 |
ALL_10GLWL_SFP |Yes |Sfp |0 |
ALL_16GSWL_SFP |Yes |Sfp |0 |
ALL_16GLWL_SFP |Yes |Sfp |0 |
ALL_QSFP |Yes |Sfp |0 |
ALL_FLASH |Yes |Flash |1 |0
ALL_CIRCUITS |Yes |Circuit |0 |
SWITCH |Yes | |1 |0
CHASSIS |Yes | |1 |0
5.Because the ports are disabled (no longer E or F_Ports) they are no longer members of those default
groups.
23. Create a second rule to add to your custom policy. This rule will monitor for E_Port down events,
if an E_Port goes down more than twice in a minute a RASLog message will be generated.
ST01-B300:admin> mapsrule --create E_Port_Down -group switch
-monitor EPORT_DOWN -timebase min -op g -value 2 -action RASLOG
-policy lab_policy
24. At this point you can verify the rules in your policy using the mapspolicy --show command.
R14-ST01-B300:admin> mapspolicy --show lab_policy
Policy Name: lab_policy
8.You will see a trigger for the port_state_change rule but not for the E_Port_Down rule. This is because ports
14 and 15 form a trunk and disabling a single port does not cause the E_Port to go down, it does however
generate a port state change event.
29. Now, disable port 15 and try disabling and re-enabling port 14 a few more times. Does this
trigger the E_Port_Down rule?9
____________________________________________________________________
30. Re-enable both E_Ports, 14 and 15, and continue with the next lab exercise.
NOTE
Because the mapsdb command outputs are fairly long, they have been included on the
following page.
31. To view the MAPS dashboard use the mapsdb --show command.
In section 3.1 Summary Report, which categories show an abnormal status for today?
Why?10
____________________________________________________________________
____________________________________________________________________
In section 3.2 Rules Affecting Health, which rules have been triggered?11
____________________________________________________________________
____________________________________________________________________
32. Detailed history data can also be shown using the mapsdb --show history command.
Take a moment to review the port statistics for your switch. Are there any STATE_CHG
events?12
____________________________________________________________________
____________________________________________________________________
9.Yes it does.
10.Port Health and Fabric State Changes show an abnormal status for today because of the rules you
created and triggered.
11.The port_state_change and E_Port_Down rules have been triggered.
12.Yes, there should be state change events for ports 0, 14, and 15.
1 Dashboard Information:
=======================
1 History Data:
===============
This ends the Module 7a Lab: Using the MAPS CLI exercise.
Objectives
In this laboratory exercise, you will perform tasks related to configuring MAPS using Network Advisor
Enabling MAPS on a switch using Network Advisor
Configuring MAPS actions using Network Advisor
Configuring custom groups
Creating, modifying, and editing rules and policies
Using the Network Advisor MAPS dashboards
At this point you have enabled MAPS on your stations B300, enabled actions, created a policy, and
defined rules for that policy. In these next exercises you will use Network Advisor to enable MAPS on
the rest of your switches.
Enabling MAPS
Network Advisor can enable MAPS on multiple chassis at once. You do not need to manually convert
the Fabric Watch policies either, Network Advisor does this automatically.
6. Return to the SAN tab.
7. In the navigation tree expand the Lab Fabric entry and select the B5100 switch.
8. From the menus choose Monitor > Fabric Vision > MAPS > Enable, the Enable MAPS dialog will
be displayed.
9. The B5100 switch should already be in the Selected Switches column
10. In the Available Switches column select your stations B6510 and click the right arrow.
13. Return to the SAN tab and look at the Master Log at the bottom of the window. You will see a
number of product events generated from the automatic conversion of Fabric Watch policies
and enabling MAPS on the switches.
14. In the navigation tree on the left, right-click the B6510 entry and select
Fabric Vision > MAPS > Configure, the MAPS Configuration dialog will be displayed with the
selected switch information already expanded.
What is the active policy for the B6510 switch?1
____________________________________________________________________
Look at the columns to the right of the switch, be sure to scroll. Which actions are enabled
on the B6510 switch?2
____________________________________________________________________
1.fw_active_policy, this is the policy that Network Advisor enables by default when MAPS is enabled.
2.Switch Status Marginal and Switch Status Critical
17. Verify that the action was successful on all four switches and click Close to return to the MAPS
Configuration dialog.
18. Network Advisor can also be used to configure an individual switch. Select the B5100 switch
and click the Actions button on the right.
19. Un-check the E-mail action and click OK, the Set Action Status dialog will be displayed.
20. Verify the action was successful and click Close to return to the MAPS Configuration dialog.
21. You will now see that the green check is missing from the E-mail column of the B5100.
Managing Groups
Similar to managing actions, Network Advisor allows you to manage logical groups on a switch-by-
switch or fabric basis. The logical groups created are still unique to each switch in the fabric, but
Network Advisor makes it easy to create groups with the same names across multiple switches
simultaneously.
22. Select the Lab Fabric entry and then click the Manage button on the right beneath the Groups
heading the Lab Fabric - Manage MAPS Groups window will be displayed. Are there any groups
already present on the switch?3
____________________________________________________________________
23. In the Available Ports column expand the Products entry to view all your fabric switches.
3.You will see the critical_ports group that was created in the previous lab.
24. Click the Add button in the lower left corner, the Add Group dialog will be displayed.
25. In the Name field enter ISLtoB5100.
26. In the Type pull-down leave the default selection of PORT.
27. Click OK.
28. Create a second group with the name HostPort of type PORT.
29. Select the ISLtoB5100 group.
30. In the Available Ports column expand the B300 and select ports 14 and 15. Click the right arrow
to add those ports to the Selected Ports column.
NOTE
You can select multiple items in a list by using Shift + click or Ctrl + click.
31. Expand the B6510 entry and select ports 8 and 9. Click the right arrow to add those ports to the
Selected Ports column.
32. Use the same procedure to assign the following ports to the HostPort group:
HostPort
B300 port 0
B6510 port 0
33. When you have finished setting up the groups click OK to apply the changes to the switches, the
Manage Groups dialog will be displayed.
34. Verify all the actions were successful and click Close.
39. Click on the Port tab. Are there any rules which would cause a port to be fenced if triggered?6
____________________________________________________________________
40. Click OK to create the newly cloned policy and return to the MAPS Configuration dialog.
6.You should see a number of rules where port fencing is an action. Remember that ports will only be fenced
if port fencing is enabled in the Global Allowable Actions list.
50. Click OK to create the policy on the switch and return to the MAPS Configuration dialog.
56. Click OK to finish editing the rule and return to the MAPS Configuration dialog.
60. Read the warning and click Yes to finnish the distribution, when the process is finished the
Distribute Policy Status dialog will be displayed.
61. Click Close to return to the MAPS Configuration dialog.
62. Click Close to return to the main Network Advisor screen.
65. Click the Enable Port entry to remove the check mark and disable the port, an HCM Message
dialog will be displayed.
66. Read the message and click OK to disable the port.
67. Wait a moment and then repeat this process to re-enable the port. This will trigger the
fence_host_ports rule created earlier and will result in port 0 on the B300 being fenced.
68. Use the PuTTY icon on your desktop to log into the B300 in your lab station.
69. Use the switchshow command to verify that the port has been fenced:
ST01-B300:admin> switchshow
switchName: R14-ST01-B300
switchType: 71.2
switchState: Online
switchMode: Native
switchRole: Principal
switchDomain: 1
switchId: fffc01
switchWwn: 10:00:00:05:1e:0b:55:3f
zoning: OFF
switchBeacon: OFF
<Output Truncated>
70. Return to your Network Advisor window and change to the Product Status and Traffic tab.
Do you see any violations shown in the dashboards?7
____________________________________________________________________
Which dashboards show violations? Why?8
____________________________________________________________________
7.Yes, there are port health violations shown on the Network Advisor dashboards.
8.The following dashboards show violations: Initiator Port Health, Port Health, and Out of Range. These
dashboards show the violations for this port because the port fits the scope for each one (it is an initiator
port, it is also a port, and the rule trigger creates an out of range violation).
71. In the Initiator Port Health Violations dashboard right-click on the port and choose Locate, you
will be taken to the SAN tab and the port will be highlighted.
72. Right-click on the port and select Enable / Disable > Enable to re-enable the port, a Network
Advisor Message dialog will be displayed.
73. Read the message and click Yes to finish enabling the port.
74. Look in the Master Log for any relevant events. There will be an event showing that the port was
fenced due to a rule violation.
Lab Cleanup
In order to prevent the fence_host_ports rule from causing problems with the remainder of the labs
you are going to adjust the threshold values.
75. Before continuing on with any other labs run the mapsconfig --purge command on all
three of your stations switches. This will remove any MAPS configurations and will prevent ports
from being fenced by mistake.
This ends the Module 7b Lab: Using MAPS With Network Advisor exercise.
Objectives
In this lab exercise, you will perform tasks related to FC-FC routing:
Enable Virtual Fabrics on your B5100
Implement routing on the B5100 base switch
Implement TI zones over a routed fabric backbone
Lab Environment
82. Review the warning and consider the impacts of enabling VF then click OK.
It is necessary to wait several minutes (3-5 minutes) as the B5100 reboots. The B5100 icon will
change in the Network Advisor window as it goes through this process.
NOTE
When you enable Virtual Fabrics, the chassis is automatically rebooted. When the switch comes up,
only one default logical switch is present, with the default fabric ID (FID) of 128.
Notice there is now a V above the B5100 icon denoting that Virtual Fabrics is enabled.
84. In the Logical Switches dialog box, click New Fabric to create a new fabric template for logical
switches.
85. Replace the value of the Logical Fabric ID with 100.
86. Review the other options available to configure the new fabric template. The fabric template acts
as a container for all of the logical switch attributes created in it. Click OK when finished.
A new fabric template has been created that is called NewFabric. Notice that in the FID column
the value of 100 has been assigned.
87. Select the NewFabric entry in the Existing Logical Switches field.
88. Click New Switch.
89. The same information is displayed that was used to configure the fabric. Uncheck Base Fabric
for Transport.
NOTE
This procedure could take several minutes to complete.When the Status field changes to Success,
review the status window output and then click the Close button to continue.
98. Your Network Advisor topology map will now indicate that you have missing elements in the
fabric with the red circle with a dash icon.
99. Select your fabric name in the device tree pane on the left and right-click it, select Accept
Change(s).
100. Click the Yes button to accept. This will remove the missing devices from that fabrics device
tree and topology map.
2. 128, this is the default setting for the Default logical switch that is created when Virtual Fabrics is enabled.
____________________________________________________________________3
112. Type the lscfg --show command.
ST02-B5100:FID128:admin> lscfg --show
Port 0 1 2 3 4 5 6 7 8 9
-------------------------------------------------------------------
FID 128 | 128 | 128 | 128 | 128 | 128 | 128 | 128 | 128 | 128 |
Port 10 11 12 13 14 15 16 17 18 19
-------------------------------------------------------------------
FID 128 | 128 | 128 | 128 | 100 | 100 | 128 | 128 | 128 | 128 |
Port 20 21 22 23 24 25 26 27 28 29
-------------------------------------------------------------------
FID 128 | 128 | 128 | 128 | 128 | 128 | 128 | 128 | 128 | 128 |
Port 30 31 32 33 34 35 36 37 38 39
-------------------------------------------------------------------
FID 128 | 128 | 128 | 128 | 128 | 128 | 128 | 128 | 128 | 128 |
3. The switchshow command only shows the specific switch information that you are logged into. The missing
ports are assigned to a different logical switch and do not show up here.
4. 14 and 15
115. Type the switchshow command. Only the ports assigned to this logical switch will be shown.
B5100_LS100:FID100:admin> switchshow
switchName:B5100_LS100
switchType:66.1
switchState:Online
switchMode:Native
switchRole:Principal
switchDomain:2
switchId:fffc02
switchWwn:10:00:00:05:1e:9c:b2:34
zoning:OFF
switchBeacon:OFF
FC Router:OFF
Allow XISL Use:OFF
LS Attributes:[FID: 100, Base Switch: No, Default Switch: No, Address Mode 0]
116. What is the status of the Allow XISL Use feature? __________5
NOTE
Logical switches with no ports assigned can be created as staging areas for preparing the switch for
your environment, including fabric parameters, zoning, security policies and other features.
119. Return to the default logical switch context using the setcontext 128 command.
5. OFF. When the check mark next to Base Fabric for Transport option was removed, it sets this feature to
OFF.
6. 0, zero: No ports found in the system!!!
120. Type the switchshow command. Notice that ports you just moved from the other FIDs are
disabled.
ST02-B5100:FID128:admin> switchshow
switchName:ST02-B5100
switchType:66.1
switchState:Online
switchMode:Native
switchRole:Principal
switchDomain:2
switchId:fffc02
switchWwn:10:00:00:05:1e:9c:b2:33
zoning:OFF
switchBeacon:OFF
FC Router:OFF
Allow XISL Use:OFF
LS Attributes:[FID: 128, Base Switch: No, Default Switch: Yes, Address Mode 0]
NOTE
There are no warning messages after you type this command. You may get a Termination of
all active login sessions for FID 100 has failed. message after this completes. This is ok.
124. Type the lscfg --show command to verify that FID 100 has been deleted.
ST02-B5100:FID128:admin> lscfg --show
Port 0 1 2 3 4 5 6 7 8 9
-------------------------------------------------------------------
FID 128 | 128 | 128 | 128 | 128 | 128 | 128 | 128 | 128 | 128
Port 10 11 12 13 14 15 16 17 18 19
-------------------------------------------------------------------
FID 128 | 128 | 128 | 128 | 128 | 128 | 128 | 128 | 128 | 128 |
Port 20 21 22 23 24 25 26 27 28 29
-------------------------------------------------------------------
FID 128 | 128 | 128 | 128 | 128 | 128 | 128 | 128 | 128 | 128 |
Port 30 31 32 33 34 35 36 37 38 39
-------------------------------------------------------------------
FID 128 | 128 | 128 | 128 | 128 | 128 | 128 | 128 | 128 | 128 |
____________________________________________________________________
125. Return to Network Advisor and expand the Chassis Group in the device tree pane on the left.
126. Right-click the B5100 in the Chassis Group and select Virtual Fabric > Disable.
127. Click the OK button after the consideration timer counts down.
Objectives
Implement, troubleshoot, and support Access Gateway on a Brocade B300 switch.
Overview
The next page shows the default Access Gateway configuration. On the right is the configuration
performed in this lab. To complete this, you will need to do the following:
Review pre-Access Gateway environment
Enable Access Gateway Mode
Unmap ports 14 and 15
Enable ports 14 and 15 as N_Ports
Map server connected to port 0 to port 14
Test failover/failback
Enable F_Port Trunking
Test failover - verify the host 24-bit address does not change
Disable Access Gateway mode
5. Confirm that ports 0, 1, 14, and 15 are enabled. If necessary, enable them using the
portcfgpersistentenable <port#> command for each port number to enable.
ST02-B300:admin> portcfgpersistentenable 0
6. Use the nsshow command to display the local Name Server on the B300.
ST02-B300:admin> nsshow
{
Type Pid COS PortName NodeName TTL(sec)
N 010000; 3;10:00:00:05:1e:57:7c:b4;20:00:00:05:1e:57:7c:b4; na
FC4s: FCP
PortSymb: [89] "Brocade-825 | 3.0.0.0 | DEV2-ST02-HBA | Windows Server (R)
2008 Standard | Service Pack 1"
Fabric Port Name: 20:00:00:05:33:07:5a:dd
Permanent Port Name: 10:00:00:05:1e:57:7c:b4
Port Index: 0
Share Area: No
Device Shared in Other AD: No
Redirect: No
Partial: No
N 010100; 3;20:01:00:11:0d:0f:85:00;20:01:00:11:0d:0f:85:00; na
FC4s: FCP
PortSymb: [36] "Brocade University Virtual FC Target"
Fabric Port Name: 20:01:00:05:33:07:5a:dd
Permanent Port Name: 20:01:00:11:0d:0f:85:00
Port Index: 1
Share Area: No
Device Shared in Other AD: No
Redirect: No
Partial: No
The Local Name Server has 2 entries }
What is the FC address (PID) of the server connected to port 0?
____________________________________________________________________1
NOTE
The standard process for enabling the Access Gateway feature on the Brocade B300 includes
uploading the switch configuration. This lab does not include this step.
9. Enable Access Gateway mode on the Brocade B300 using the ag --modeenable command.
Review the command output, and at the Do you want to continue? prompt, type y.
ST02-B300:admin> ag --modeenable
WARNING: Access Gateway mode changes the standard behavior of the
switch. Please check Access Gateway Administrator's Guide before
proceeding.
Enabling agmode will remove all the configuration data on the switch
including zoning configuration and security database. Please backup
your
configuration using configupload.
This operation will reboot the switch.
Do you want to continue? (yes, y, no, n): [no] y
Access Gateway mode was enabled successfully
Switch is being rebooted...
Important
The Brocade B300 switch now reboots.
10. Wait a couple of minutes for the Brocade B300 to reboot, then re-open a CLI session to the
B300.
11. Verify that Access Gateway mode has been enabled with the ag --modeshow command.
ST02-B300:admin> ag --modeshow
Access Gateway mode is enabled.
CHECK POINT
You have now enabled Access Gateway mode on the Brocade B300.
Ports 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
--------------------+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--
Locked N_Port .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ON ON ON ON ON ON ON ON
4. These are by default configured as F_Ports. F_Ports are disabled until the N_Port they are mapped to is
logged in.
5. Ports 16-23 should now be configured as N_Ports.
6. Port 0 is mapped to N_Port 16
7. Port 1 is mapped to N_Port 16
8. Port 14 is mapped to N_Port 23
9. Port 15 is mapped to N_Port 23
CHECK POINT
The default N_Port configuration and port map has been implemented and verified.
19. Now configure ports 14 and 15 as N_Ports using the portcfgnport 14-15 1 command.
20. Verify ports 14 and 15 are now N_Ports using the portcfgnport command.
ST02-B300:admin> portcfgnport
Ports 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
--------------------+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--
Locked N_Port .. .. .. .. .. .. .. .. .. .. .. .. .. .. ON ON ON ON ON ON ON ON ON ON
CHECK POINT
Ports 14 and 15 should be configured as N_Ports.
a. How many NPIV public devices are logged into port 14? _______10
b. How many NPIV public devices are logged into port 15? _______11
a. What ports are the host and storage mapped to? _________________________12
b. Why are these values different than what you recorded in Step16?
____________________________________________________________________13
12.The host port 0 is now mapped to N_Port 14 and the storage port 1 is mapped to N_Port 15.
13.By default, the port grouping policy is enabled that also enables the auto map balancing feature.
c. ag --show
ST02-B300:admin> ag --show
Name : ST02-B300
NodeName : 10:00:00:05:33:07:5a:dd
Number of Ports : 24
IP Address(es) : 10.255.224.39
Firmware Version : v7.0.0a
N_Ports : 2
F_Ports : 2
Policies enabled : pg
Persistent ALPA : Disabled
Static WWN Map : None
Port Group information :
PG_IDPG_MembersPG_NamePG_Mode
----------------------------------------------------------------------------------------
0 14;15;16;17;18; pg0 -
19;20;21;22;23
----------------------------------------------------------------------------------------
Fabric Information :
Attached Fabric NameN_Ports
---------------------------------------------
10:00:00:05:33:92:ea:66 14;15
---------------------------------------------
N_Port information :
Port PortID Attached PWWN FO FB IP_Addr F_Ports
---------------------------------------------------------------------
14 0x020e00 20:0e:00:05:1e:9c:b2:33 1 1 10.255.224.40 None
15 0x020f00 20:0f:00:05:1e:9c:b2:33 1 1 10.255.224.40 0;1;
---------------------------------------------------------------------
F_Port information :
Port PortID Attached PWWNN_Port Preferred N_port Login Exceeded?
------------------------------------------------------------------------------------
0 0x020f02 10:00:00:05:1e:57:7c:b415 None No
1 0x020f01 20:01:00:11:0d:0f:85:0015 None No
------------------------------------------------------------------------------------
Static N-Port to F-Port Mapping :
N-Port F-Port
------------------------------------------------------------------------------------
14 None
15 0;
------------------------------------------------------------------------------------
14. 2
Port Index: 14
Share Area: No
Device Shared in Other AD: No
Redirect: No
Partial: No
N 020f00;
3;20:0f:00:05:33:07:5a:dd;10:00:00:05:33:07:5a:dd; na
Fabric Port Name: 20:0f:00:05:1e:9c:b2:33
Permanent Port Name: 20:0f:00:05:33:07:5a:dd
Port Index: 15
Share Area: No
Device Shared in Other AD: No
Redirect: No
Partial: No
N 020f01;
3;20:01:00:11:0d:0f:85:00;20:01:00:11:0d:0f:85:00; na
FC4s: FCP
PortSymb: [36] "Brocade University Virtual FC Target"
Fabric Port Name: 20:0f:00:05:1e:9c:b2:33
Permanent Port Name: 20:0f:00:05:33:07:5a:dd
Port Index: 15
Share Area: No
Device Shared in Other AD: No
Redirect: No
Partial: No
N 020f02;
3;10:00:00:05:1e:57:7c:b4;20:00:00:05:1e:57:7c:b4; na
FC4s: FCP
PortSymb: [89] "Brocade-825 | 3.0.0.0 | DEV2-ST02-HBA | Windows
Server (R) 2008 Standard | Service Pack 1"
Fabric Port Name: 20:0f:00:05:1e:9c:b2:33
Permanent Port Name: 20:0f:00:05:33:07:5a:dd
Port Index: 15
Share Area: No
Device Shared in Other AD: No
Redirect: No
Partial: No
The Local Name Server has 4 entries }
15.The host, storage and each of the N_Ports (14 and 15) of the B300 itself.
Testing Failover
Move to the open Telnet session on the Brocade B300.
28. Type the ag --mapshow command.
ST02-B300:admin> ag--mapshow
N_Port Configured_F_Ports Static_F_Ports Current_F_Ports Failover Failback PG_ID PG_Name
------------------------------------------------------------------------------------------------
14 None None None 1 1 0 pg0
15 None 0 0;1 1 1 0 pg0
16 1 None None 1 1 0 pg0
17 2;3 None None 1 1 0 pg0
18 4;5 None None 1 1 0 pg0
19 6;7 None None 1 1 0 pg0
20 8;9 None None 1 1 0 pg0
21 10;11 None None 1 1 0 pg0
22 12;13 None None 1 1 0 pg0
23 None None None 1 1 0 pg0
------------------------------------------------------------------------------------------------
a. Looking at the current F_Ports; did port 0 failover? ________?17 Port 1?_______?18 Why?
____________________________________________________________________19
31. To change the static mapping to a dynamic mapping, first delete the static map using the
ag --staticdel 15 0 command.
ST02-B300:admin> ag --staticdel 15 0
F_Port to N_Port static mapping has been updated successfully
32. The add the new mapping using the ag --mapadd 15 0 command, enter y when prompted
to continue.
ST02-B300:admin> ag --mapadd 15 0
33. Type the ag --mapshow command to look at the new port mapping.
ST02-B300:admin> ag --mapshow
N_Port Configured_F_Ports Static_F_Ports Current_F_Ports Failover Failback PG_ID PG_Name
------------------------------------------------------------------------------------------------
14 None None 0;1 1 1 0 pg0
15 0 None None 1 1 0 pg0
16 1 None None 1 1 0 pg0
17 2;3 None None 1 1 0 pg0
18 4;5 None None 1 1 0 pg0
19 6;7 None None 1 1 0 pg0
20 8;9 None None 1 1 0 pg0
21 10;11 None None 1 1 0 pg0
22 12;13 None None 1 1 0 pg0
23 None None None 1 1 0 pg0
------------------------------------------------------------------------------------------------
Looking at the current F_Ports; did port 0 failover? ________?20 Port 1?_______?21
a. Type the switchshow command.
ST02-B300:admin> switchshow
switchName:ST02-B300
switchType:71.2
switchState:Online
switchMode:Access Gateway Mode
switchWwn:10:00:00:05:33:07:5a:dd
switchBeacon:OFF
20.No
21.No
Test Failback
34. Now test fail back by running the portenable 15 command.
35. Type the ag --mapshow command to look at the new port mapping.
ST02-B300:admin> ag--mapshow
N_Port Configured_F_Ports Static_F_Ports Current_F_Ports Failover Failback PG_ID PG_Name
------------------------------------------------------------------------------------------------
14 None None 1 1 1 0 pg0
15 0 None 0 1 1 0 pg0
16 1 None None 1 1 0 pg0
17 2;3 None None 1 1 0 pg0
18 4;5 None None 1 1 0 pg0
19 6;7 None None 1 1 0 pg0
20 8;9 None None 1 1 0 pg0
21 10;11 None None 1 1 0 pg0
22 12;13 None None 1 1 0 pg0
23 None None None 1 1 0 pg0
------------------------------------------------------------------------------------------------
a. Looking at the current F_Ports; did port 0 failover? ________? Port 1?_______? Why?
____________________________________________________________________22
b. Type the switchshow command.
ST02-B300:admin> switchshow
switchName:ST02-B300
switchType:71.2
switchState:Online
switchMode:Access Gateway Mode
switchWwn:10:00:00:05:33:07:5a:dd
switchBeacon:OFF
CHECK POINT
You have now tested failover and noticed that port 0 changed address (due to the fact that the server
must re-login to the fabric). Now you will enable F_Port Trunking and retest failover; this time however
you will notice that the failover is non-disruptive (server does not have to re-login to the fabric).
38. Verify that ports 14 and 15 are now trunked using the porttrunkarea --show 14-15
command.
ST02-B5100:admin> porttrunkarea --show 14-15
Port Type State Master TI DI
-------------------------------------
14 F-port Slave 15 14 14
15 F-port Master 15 14 15
Are ports 14 and 15 are trunked? How can you tell?
____________________________________________________________________23
CHECK POINT
You have now enabled F_Port Trunking on the B5100 switch. You are now ready to test failover on the
B300.
Testing Failover
Move to the open Telnet session on the Brocade B300.
39. Type the following commands and answer the questions.
a. Type the switchshow command.
ST02-B300:admin> switchshow
switchName:ST02-B300
switchType:71.2
switchState:Online
switchMode:Access Gateway Mode
switchWwn:10:00:00:05:33:07:5a:dd
switchBeacon:OFF
23. In the state column a master and slave are specified. The Master column specifies port 15 as the master
which corresponds to the state of port 14.
b. Enter the switchshow command and write down which port is the master ISL.
c. Disable the master ISL using the portdisable <port#> command where <port#> is
the port number obtained in step b.
d. Type the switchshow command.
ST02-B300:admin> switchshow
switchName:ST02-B300
switchType:71.2
switchState:Online
switchMode:Access Gateway Mode
switchWwn:10:00:00:05:33:07:5a:dd
switchBeacon:OFF
Verify that port 0 failed over and is currently mapped to the new trunk master port specified
in the switchshow output from Step39.
41. Use the portenable <port#> command to enable the ISL port, where <port#> is the port
number you disabled in step c.
24.No, because F_Port Trunking is enabled when a port fails over it does not require the complete re-login
process.
CHECK POINT
You have completed the Access Gateway lab but need to run some cleanup commands to prepare the
lab station for the next lab.
WARNING 1: Changing from Access Gateway mode to Switch mode will set
zoning to "all access".
NOTE
This will cause your Telnet session to the B300 to be lost; close that window.