(Optional) Switch Configuration
Skip this section if you use direct-attached connections.
The following uses a Brocade switch as an example to explain how to configure switches.
Querying the Switch Model and Version
Perform the following steps to query the switch model and version:
- Log in to the Brocade switch on a web browser.
- On the web browser, enter the IP address of the Brocade switch and press Enter.
- In the Web Tools login dialog box displayed, enter the account and password.
The default account and password are admin and password.
Web Tools works properly only when Java is installed on the host. Java 1.6 or later is recommended.
- On the switch management page that is displayed, click Switch Information.Figure 5-2 Switch information
Major parameters are described as follows:
- Fabric OS version indicates the switch version. The interoperability between switches and storage systems varies with the switch version. Use only switches with verified interoperability.
- Type is a decimal consisting of an integer and a decimal fraction. The integer indicates the switch model and the decimal fraction indicates the switch template version. You only need to pay attention to the switch model. Table 5-1 describes switch model mapping.
- Ethernet IPv4 indicates the switch IP address.
- Effective Configuration indicates the currently effective configurations. This parameter is critical to subsequent zone configurations. In this example, the currently effective configuration is fyc.
Table 5-1 Mapping between switch types and namesSwitch Type
Switch Name
Switch Type
Switch Name
1
Brocade 1000 Switch
58
Brocade 5000 Switch
2,6
Brocade 2800 Switch
61
Brocade 4424 Embedded Switch
3
Brocade 2100, 2400 Switches
62
Brocade DCX Backbone
4
Brocade 20x0, 2010, 2040, 2050 Switches
64
Brocade 5300 Switch
5
Brocade 22x0, 2210, 2240, 2250 Switches
66
Brocade 5100 Switch
7
Brocade 2000 Switch
67
Brocade Encryption Switch
9
Brocade 3800 Switch
69
Brocade 5410 Blade
10
Brocade 12000 Director
70
Brocade 5410 Embedded Switch
12
Brocade 3900 Switch
71
Brocade 300 Switch
16
Brocade 3200 Switch
72
Brocade 5480 Embedded Switch
17
Brocade 3800VL
73
Brocade 5470 Embedded Switch
18
Brocade 3000 Switch
75
Brocade M5424 Embedded Switch
21
Brocade 24000 Director
76
Brocade 8000 Switch
22
Brocade 3016 Switch
77
Brocade DCX-4S Backbone
26
Brocade 3850 Switch
83
Brocade 7800 Extension Switch
27
Brocade 3250 Switch
86
Brocade 5450 Embedded Switch
29
Brocade 4012 Embedded Switch
87
Brocade 5460 Embedded Switch
32
Brocade 4100 Switch
90
Brocade 8470 Embedded Switch
33
Brocade 3014 Switch
92
Brocade VA-40FC Switch
34
Brocade 200E Switch
95
Brocade VDX 6720-24 Data Center Switch
37
Brocade 4020 Embedded Switch
96
Brocade VDX 6730-32 Data Center Switch
38
Brocade 7420 SAN Router
97
Brocade VDX 6720-60 Data Center Switch
40
Fibre Channel Routing (FCR) Front Domain
98
Brocade VDX 6730-76 Data Center Switch
41
Fibre Channel Routing, (FCR) Xlate Domain
108
Dell M8428-k FCoE Embedded Switch
42
Brocade 48000 Director
109
Brocade 6510 Switch
43
Brocade 4024 Embedded Switch
116
Brocade VDX 6710 Data Center Switch
44
Brocade 4900 Switch
117
Brocade 6547 Embedded Switch
45
Brocade 4016 Embedded Switch
118
Brocade 6505 Switch
46
Brocade 7500 Switch
120
Brocade DCX 8510-8 Backbone
51
Brocade 4018 Embedded Switch
121
Brocade DCX 8510-4 Backbone
55.2
Brocade 7600 Switch
Configuring Zones
Zone configuration is important for Fibre Channel switches. The following uses the Brocade switch as an example to explain the zone configuration procedure.
- Log in to the Brocade switch on a web browser.
- Check the port status on the switch.
In normal conditions, port indicators on the switch are steady green after the corresponding ports have been connected to hosts and storage arrays using optical fibers.
Each port on a Brocade 4100 has two indicators. The left one indicates the port status and the right one indicates the port rate. In Figure 5-3, all ports are normal and work at 4 Gbit/s.
If any port is abnormal, verify that the topology modes and rates are consistently configured. Go to the next step only if you verify that all ports are working properly.
- Choose Manage > Zone Admin from the main menu of Web Tools to navigate to the Zone Admin page.Figure 5-4 Navigating to the Zone Admin page
- Check whether the switch has identified hosts and storage systems.
On the Zone Admin page, click the Zone tab. In Member Selection List, check whether all related ports have been identified.
Figure 5-5 Identified portsIn this example, the hosts use ports 0 and 1, while the storage systems use ports 4 and 5. The display indicates that the switch has correctly identified the devices connected by the four ports.
- Create zones.
On the Zone tab page, click New Zone and enter a name (Zone001 in this example). Add port 0 (connecting to port P0 of a host) and port 4 (connecting to controller A of a storage system) to this zone.
Figure 5-6 Creating a zoneUse the same method to create Zone002 to Zone004. Add ports 1 and 5 to Zone0002, ports 0 and 5 to Zone003, and ports 1 and 4 to Zone004.
- Add the new zones to the configuration file and activate them.
On the Switch View tab page, identify the effective configuration file.
Figure 5-7 Effective configuration fileOn the Zone Admin page, click the Zone Config tab. In the Name drop-down list, choose the effective configuration file fyc.
In Member Selection List, select Zone001 to Zone004 and add them to the configuration file.
Click Save Config to save the configuration and then click Enable Config for the configuration to take effect.
Figure 5-8 Adding zones to the configuration file - Verify that the configuration has taken effect.
On the Name Server tab page, verify that the ports have been added to the zones and the zones have taken effect (marked * in the upper right corner).
Figure 5-9 Verifying the configuration
Precautions
If a Brocade switch connects to a storage system at a rate of 8 Gbit/s:
- The topology mode of the storage system must be set to switch.
- fill word of ports through which the switch is connected to the storage system must be set to 0. To configure this parameter, run the portcfgfillword <port number> 0 command on the switch.
If a Brocade switch connects to a host at a rate of 8 Gbit/s:
- When the switch is connected to module HP VC 8Gb 20-port FC or HP VC FlexFabric 10Gb/24-port, change the switch configuration. For details, see configuration documents.