|
端口zone
zonecreate "z1","1,0;1,1;1,2;1,3"
zonecreate "z2","1,4;1,5;1,6;1,7"
zonecreate "z3","1,8;1,9;1,10;1,11"
zonecreate "z4","1,12;1,13;1,14;1,15"
cfgcreate "cfgbase","z1;z2;z3;z4"
cfgsave
cfgenable "cfgbase“
适用于:设备经常更换的场合,可以随意更换设备,特别是在更换光纤卡的情况下,不需要修改SAN配置,发挥优势。
www-zone
aliCreate "p570c_1","10:00:00:00:C9:46:08:96"
aliCreate "p570c_2","10:00:00:00:C9:46:11:F1"
aliCreate "p570d_1","10:00:00:00:C9:44:EA:AD"
aliCreate "p570d_2","10:00:00:00:C9:45:06:6E"
aliCreate "F600_1_A","20:06:00:a0:b8:16:7d:1d"
aliCreate "F600_1_B","20:07:00:a0:b8:16:7d:1d"
aliCreate "F600_2_A","20:06:00:a0:b8:13:a0:8d"
aliCreate "F600_2_B","20:07:00:a0:b8:13:a0:8d"
zoneCreate "z1_c_5","p570c_1;F600_1_A"
zoneCreate "z1_c_6","p570c_2;F600_1_B"
zoneCreate "z1_c_7","p570d_1;F600_1_A"
zoneCreate "z1_c_8","p570d_2;F600_1_B"
zoneCreate "z2_c_5","p570c_1;F600_2_A"
zoneCreate "z2_c_6","p570c_2;F600_2_B"
zoneCreate "z2_c_7","p570d_1;F600_2_A"
zoneCreate "z2_c_8","p570d_2;F600_2_B"
cfgadd "cfg0603","z1_c_5;z1_c_6;z1_c_7;z1_c_8;z2_c_5;z2_c_6;z2_c_7;z2_c_8"
cfgsave
cfgenable "cfg0603"
适用于:设备位置经常更换的场合
特别是在将设备从一个物理位置移动到其他物理位置的时候,不需要修改SAN配置,发挥优势… |
|