1、WWN zone创建别名
Alicreate “host01”,“20:01:00:03:1e:d1:79:01”
Alicreate “host02”,“20:01:00:03:1e:d1:79:00”
Alicreate “storage”,”20:01:00:03:1e:d1:79:02”
1、port zone创建别名
Alicreate “host01”,“10,1”
Alicreate “host02”,“10,2”
Alicreate “storage”,”10,3”
2、创建zone
Zonecreate “STH1” “storage;host01”
Zonecreate “STH2” “storage;host02”
3、查看zone的配置
Zoneshow
Cfgshow
4、创建配置文件并将zone添加到配置文件中
Cfgcreate “cfg”,“STH1;STH2”
5、使配置生效
Cfgenable cfg
6、保存配置
Cfgsave
7、查看生效配置
cfgshow