首先添加别名并指定wwn号;然后添加zone并指定别名,最后添加cfg并指定zone。
ali -----> zone ------>cfg
添加wwn别名:
alicreate "wwn别名","wwn端口号1;wwn端口号2"
alicreate "A9_host_hba1","wwn1_name;wwn2_name"
alicreate "B9_storage_4port","wwn1_name;wwn2_name;wwn4_name"
添加zone:
zonecreate "zone名称","wwn别名"
zonecreate "A9_host_hba1_B9_stor_4port","A9_host_hba1;B9_stor_4port"
添加cfg:
cfgcreate "cfg名称","zone名称"
cfgcreate "myconfig","A9_host_hba1_B9_stor_4port"
保存配置:
# cfgsave
# cfgenable myconfig
添加删除对应关紧
add------remove 踢出来
create---delete 删除
删除时先要cfgdisable或者将端口disable,常用名命:
licenseshow
chassisshow
switchshow
switchstatusshow
cfgshow
cfgdisable
cfgenable
ipaddrshow
fabricshow
ipaddrset
portShow
version
portperfshow # 看流量
linux 查看WWWN
cat /sys/class/fc_host/host*/port_name
转载于:https://blog.51cto.com/allen03301/1881065