Configuring a Cisco FC switch after site disaster
You must use the Cisco-specific procedure to configure the replacement switch and enable the ISL ports.
About this task
The examples in this procedure are based on the following assumptions:Site A is the disaster site.
FC_switch_A_1 has been replaced.
FC_switch_A_2 has been replaced.
Site B is the surviving site.
FC_switch_B_1 is healthy.
FC_switch_B_2 is healthy.
- Configure the switch:
- Download the Fabric-attached MetroCluster Installation and Configuration Guide.
- Follow the steps for configuring the switch in the
Configuring the Cisco FC switches
section, except for theConfiguring zoning on a Cisco FC switch
section.
Zoning is configured later in this procedure.
- On the healthy switch (in this example, FC_switch_B_1), enable the ISL ports.
Example
The following example shows the commands to enable the ports:
FC_switch_B_1# conf t
FC_switch_B_1(config)# int fc1/14-15
FC_switch_B_1(config)# no shut
FC_switch_B_1(config)# end
FC_switch_B_1# copy running-config startup-config
FC_switch_B_1# - Verify that the ISL ports are up by using the show interface brief command.
- Retrieve the zoning information from the fabric.
Example
The following example shows the commands to distribute the zoning configuration:
FC_switch_B_1 is distributed to all other switches in the fabric for vsan 10 and vsan 20, and the zoning information is retrieved from FC_switch_A_1.FC_switch_B_1(config-zone)# zoneset distribute full vsan 10
FC_switch_B_1(config-zone)# zoneset distribute full vsan 20
FC_switch_B_1(config-zone)# end - On the healthy switch, verify that the zoning information is properly retrieved from the partner switch: show zone
Example
FC_switch_B_1# show zone
zone name FC-VI_Zone_1_10 vsan 10
interface fc1/1 swwn 20:00:54:7f:ee:e3:86:50
interface fc1/2 swwn 20:00:54:7f:ee:e3:86:50
interface fc1/1 swwn 20:00:54:7f:ee:b8:24:c0
interface fc1/2 swwn 20:00:54:7f:ee:b8:24:c0
zone name STOR_Zone_1_20_25A vsan 20
interface fc1/5 swwn 20:00:54:7f:ee:e3:86:50
interface fc1/8 swwn 20:00:54:7f:ee:e3:86:50
interface fc1/9 swwn 20:00:54:7f:ee:e3:86:50
interface fc1/10 swwn 20:00:54:7f:ee:e3:86:50
interface fc1/11 swwn 20:00:54:7f:ee:e3:86:50
interface fc1/8 swwn 20:00:54:7f:ee:b8:24:c0
interface fc1/9 swwn 20:00:54:7f:ee:b8:24:c0
interface fc1/10 swwn 20:00:54:7f:ee:b8:24:c0
interface fc1/11 swwn 20:00:54:7f:ee:b8:24:c0
zone name STOR_Zone_1_20_25B vsan 20
interface fc1/8 swwn 20:00:54:7f:ee:e3:86:50
interface fc1/9 swwn 20:00:54:7f:ee:e3:86:50
interface fc1/10 swwn 20:00:54:7f:ee:e3:86:50
interface fc1/11 swwn 20:00:54:7f:ee:e3:86:50
interface fc1/5 swwn 20:00:54:7f:ee:b8:24:c0
interface fc1/8 swwn 20:00:54:7f:ee:b8:24:c0
interface fc1/9 swwn 20:00:54:7f:ee:b8:24:c0
interface fc1/10 swwn 20:00:54:7f:ee:b8:24:c0
interface fc1/11 swwn 20:00:54:7f:ee:b8:24:c0
FC_switch_B_1# - Determine the worldwide names (WWNs) of the switches in the switch fabric.
Example
In this example, the two switch WWNs are as follows:
FC_switch_A_1: 20:00:54:7f:ee:b8:24:c0
FC_switch_B_1: 20:00:54:7f:ee:c6:80:78
FC_switch_B_1# show wwn switch
Switch WWN is 20:00:54:7f:ee:c6:80:78
FC_switch_B_1#
FC_switch_A_1# show wwn switch
Switch WWN is 20:00:54:7f:ee:b8:24:c0
FC_switch_A_1# - Enter configuration mode for the zone and remove zone members that do not belong to the switch WWNs of the two switches: no member interface interface-ide swwn wwn
Example
In this example, the following members are not associated with the WWN of either of the switches in the fabric and must be removed:
Zone name FC-VI_Zone_1_10 vsan 10
Interface fc1/1 swwn 20:00:54:7f:ee:e3:86:50
Interface fc1/2 swwn 20:00:54:7f:ee:e3:86:50
Zone name STOR_Zone_1_20_25A vsan 20
Interface fc1/5 swwn 20:00:54:7f:ee:e3:86:50
Interface fc1/8 swwn 20:00:54:7f:ee:e3:86:50
Interface fc1/9 swwn 20:00:54:7f:ee:e3:86:50
Interface fc1/10 swwn 20:00:54:7f:ee:e3:86:50
Interface fc1/11 swwn 20:00:54:7f:ee:e3:86:50
Zone name STOR_Zone_1_20_25B vsan 20
Interface fc1/8 swwn 20:00:54:7f:ee:e3:86:50
Interface fc1/9 swwn 20:00:54:7f:ee:e3:86:50
Interface fc1/10 swwn 20:00:54:7f:ee:e3:86:50
Interface fc1/11 swwn 20:00:54:7f:ee:e3:86:50
The following example shows the removal of these interfaces:
FC_switch_B_1# conf t
FC_switch_B_1(config)# zone name FC-VI_Zone_1_10 vsan 10
FC_switch_B_1(config-zone)# no member interface fc1/1 swwn 20:00:54:7f:ee:e3:86:50
FC_switch_B_1(config-zone)# no member interface fc1/2 swwn 20:00:54:7f:ee:e3:86:50
FC_switch_B_1(config-zone)# zone name STOR_Zone_1_20_25A vsan 20
FC_switch_B_1(config-zone)# no member interface fc1/5 swwn 20:00:54:7f:ee:e3:86:50
FC_switch_B_1(config-zone)# no member interface fc1/8 swwn 20:00:54:7f:ee:e3:86:50
FC_switch_B_1(config-zone)# no member interface fc1/9 swwn 20:00:54:7f:ee:e3:86:50
FC_switch_B_1(config-zone)# no member interface fc1/10 swwn 20:00:54:7f:ee:e3:86:50
FC_switch_B_1(config-zone)# no member interface fc1/11 swwn 20:00:54:7f:ee:e3:86:50
FC_switch_B_1(config-zone)# zone name STOR_Zone_1_20_25B vsan 20
FC_switch_B_1(config-zone)# no member interface fc1/8 swwn 20:00:54:7f:ee:e3:86:50
FC_switch_B_1(config-zone)# no member interface fc1/9 swwn 20:00:54:7f:ee:e3:86:50
FC_switch_B_1(config-zone)# no member interface fc1/10 swwn 20:00:54:7f:ee:e3:86:50
FC_switch_B_1(config-zone)# no member interface fc1/11 swwn 20:00:54:7f:ee:e3:86:50
FC_switch_B_1(config-zone)# save running-config startup-config
FC_switch_B_1(config-zone)# zoneset distribute full 10
FC_switch_B_1(config-zone)# zoneset distribute full 20
FC_switch_B_1(config-zone)# end
FC_switch_B_1# copy running-config startup-config - Add the ports of the new switch to the zones.
Example
The following example assumes that the cabling on the replacement switch is the same as on the old switch:
FC_switch_B_1# conf t
FC_switch_B_1(config)# zone name FC-VI_Zone_1_10 vsan 10
FC_switch_B_1(config-zone)# member interface fc1/1 swwn 20:00:54:7f:ee:c6:80:78
FC_switch_B_1(config-zone)# member interface fc1/2 swwn 20:00:54:7f:ee:c6:80:78
FC_switch_B_1(config-zone)# zone name STOR_Zone_1_20_25A vsan 20
FC_switch_B_1(config-zone)# member interface fc1/5 swwn 20:00:54:7f:ee:c6:80:78
FC_switch_B_1(config-zone)# member interface fc1/8 swwn 20:00:54:7f:ee:c6:80:78
FC_switch_B_1(config-zone)# member interface fc1/9 swwn 20:00:54:7f:ee:c6:80:78
FC_switch_B_1(config-zone)# member interface fc1/10 swwn 20:00:54:7f:ee:c6:80:78
FC_switch_B_1(config-zone)# member interface fc1/11 swwn 20:00:54:7f:ee:c6:80:78
FC_switch_B_1(config-zone)# zone name STOR_Zone_1_20_25B vsan 20
FC_switch_B_1(config-zone)# member interface fc1/8 swwn 20:00:54:7f:ee:c6:80:78
FC_switch_B_1(config-zone)# member interface fc1/9 swwn 20:00:54:7f:ee:c6:80:78
FC_switch_B_1(config-zone)# member interface fc1/10 swwn 20:00:54:7f:ee:c6:80:78
FC_switch_B_1(config-zone)# member interface fc1/11 swwn 20:00:54:7f:ee:c6:80:78
FC_switch_B_1(config-zone)# save running-config startup-config
FC_switch_B_1(config-zone)# zoneset distribute full 10
FC_switch_B_1(config-zone)# zoneset distribute full 20
FC_switch_B_1(config-zone)# end
FC_switch_B_1# copy running-config startup-config - Verify that the zoning is properly configured: show zone
Example
The following example output shows the three zones:
FC_switch_B_1# show zone
zone name FC-VI_Zone_1_10 vsan 10
interface fc1/1 swwn 20:00:54:7f:ee:c6:80:78
interface fc1/2 swwn 20:00:54:7f:ee:c6:80:78
interface fc1/1 swwn 20:00:54:7f:ee:b8:24:c0
interface fc1/2 swwn 20:00:54:7f:ee:b8:24:c0
zone name STOR_Zone_1_20_25A vsan 20
interface fc1/5 swwn 20:00:54:7f:ee:c6:80:78
interface fc1/8 swwn 20:00:54:7f:ee:c6:80:78
interface fc1/9 swwn 20:00:54:7f:ee:c6:80:78
interface fc1/10 swwn 20:00:54:7f:ee:c6:80:78
interface fc1/11 swwn 20:00:54:7f:ee:c6:80:78
interface fc1/8 swwn 20:00:54:7f:ee:b8:24:c0
interface fc1/9 swwn 20:00:54:7f:ee:b8:24:c0
interface fc1/10 swwn 20:00:54:7f:ee:b8:24:c0
interface fc1/11 swwn 20:00:54:7f:ee:b8:24:c0
zone name STOR_Zone_1_20_25B vsan 20
interface fc1/8 swwn 20:00:54:7f:ee:c6:80:78
interface fc1/9 swwn 20:00:54:7f:ee:c6:80:78
interface fc1/10 swwn 20:00:54:7f:ee:c6:80:78
interface fc1/11 swwn 20:00:54:7f:ee:c6:80:78
interface fc1/5 swwn 20:00:54:7f:ee:b8:24:c0
interface fc1/8 swwn 20:00:54:7f:ee:b8:24:c0
interface fc1/9 swwn 20:00:54:7f:ee:b8:24:c0
interface fc1/10 swwn 20:00:54:7f:ee:b8:24:c0
interface fc1/11 swwn 20:00:54:7f:ee:b8:24:c0
FC_switch_B_1#