新建zone----->保存zone至cfg文件---->Zone增加或删除端口---->保存配置文件---->启用配置文件
ZONE名称起容易识别的名字
zonecreate "storage1_esx06","50:00:d9:10:03:59:d0:24;50:00:83:10:03:59:d0:26;50:00:d3:10:63:59:d0:20;50:00:93:10:03:59:d0:22;3,10"
zonecreate "storage2_esx06","3,0;3,1;3,2;3,3;3,10"
zonecreate "storage3_3par8200","1,13;3,10"
zoneadd "storage3_3par8200","1,3"
zoneadd "storage3_3par8200","50:00:d3:10:03:59:d0:24"
zoneremove "storage3_3par8200","1,3"
zoneremove "storage3_3par8200","50:90:d3:10:03:59:d0:24"
cfgadd "NSAP","scv2020_esx06"
cfgadd "NSAP","ss7200_esx06"
cfgadd "NSAP","esx06_3par8200"
cfgremove "NSAP", "storage1_esx06"
交换机可以有多个配置文件,这里保存所有的配置文件
cfgsave
光纤交换机同时只能有一个配置文件生效,这里需要指定相应的文件名
cfgenable "NSAP"
zoneshow
switchshow
portdisable 8
portenable 8