HP (Hewlett-Packard) C-Series Switch User Manual


 
Merging zones-examples
21Fabric Interoperability: Merging Fabrics Based on C-Series and B-Series Fibre Channel Switches Application Notes
Now let us create three new zones vz11, vz22, and vz33.
Switch3800:admin> zoneCreate :"vz11", "10:00:00:00:c9:24:3d:90;
50:06:01:60:88:02:90:cb"
Switch3800:admin> zoneCreate "vz22", "10:00:00:00:c9:24:3f:75;
21:00:00:20:37:a7:ca:b7; 21:00:00:20:37:a7:c7:e0;
21:00:00:20:37:a7:c7:df"
Switch3800:admin> zoneCreate "vz33", "10:00:00:e0:69:f0:43:9f;
21:00:00:20:37:28:31:6d; 21:00:00:20:37:28:24:7b;
21:00:00:20:37:28:22:ea"
Let us add more members to the zone vz33
Switch3800:admin> zoneAdd "vz33", "21:00:00:20:37:28:2e:65;
21:00:00:20:37:28:26:0d"
Now check the zones before making them active.
Switch3800:admin> zoneShow
Defined configuration:
zone: vz11 10:00:00:00:c9:24:3d:90; 50:06:01:60:88:02:90:cb
zone: vz22 10:00:00:00:c9:24:3f:75; 21:00:00:20:37:a7:ca:b7;
21:00:00:20:37:a7:c7:e0; 21:00:00:20:37:a7:c7:df
zone: vz33 10:00:00:e0:69:f0:43:9f; 21:00:00:20:37:28:31:6d;
21:00:00:20:37:28:24:7b; 21:00:00:20:37:28:22:ea;
21:00:00:20:37:28:2e:65; 21:00:00:20:37:28:26:0d
Effective configuration:
no configuration in effect
Now we create the configuration, which when activated, will be known on the MDS as the
active zone set.
Switch3800:admin> cfgCreate "mdscore1", "vz11; vz22; vz33"
Now we activate the configuration
Switch3800:admin> cfgEnable "mdscore1"
zone config "mdscore1" is in effect
Updating flash ...
Let’s check the display on this switch.
Switch3800:admin> cfgShow
Defined configuration:
cfg: mdscore1
vz11; vz22; vz33
zone: vz11 10:00:00:00:c9:24:3d:90; 50:06:01:60:88:02:90:cb
zone: vz22 10:00:00:00:c9:24:3f:75; 21:00:00:20:37:a7:ca:b7;
21:00:00:20:37:a7:c7:e0; 21:00:00:20:37:a7:c7:df
zone: vz33 10:00:00:e0:69:f0:43:9f; 21:00:00:20:37:28:31:6d;
21:00:00:20:37:28:24:7b; 21:00:00:20:37:28:22:ea;
21:00:00:20:37:28:2e:65; 21:00:00:20:37:28:26:0d