命令行设置区域
摘要:区域设置命令行 如果您有大量服务器连接到交换机,请使用命令行设置它出现的区域的好处。 1 大数字可以很容易地在图形界面中出错。 2 快 (以下是新交换机,新连接的服务器和VN
区域设置命令行
如果您有大量服务器连接到交换机,请使用命令行设置它出现的区域的好处。
1
大数字可以很容易地在图形界面中出错。
2

(以下是新交换机,新连接的服务器和VNX 5400存储)
查看整个服务器端口和存储WWN交换机连接(显示部分)switchShow
IndexPortAddressMediaSpeedStateProto ============================================ 00020000idN8OnlineFCF_Port 50:06:01:68:60:73:7a 110 20 100 id N 8 OnlineFCF_Port 21:0 0:00:24:FF:0 E:4 B:8222020200 id N 8在线FCF_端口21:00:24:FF:0 E:4 D图5D:3844020400idN8OnlineFCF_Port50:06:01:61:08:60:73:7a55020500idN8OnlineFCF_Port21:00:00:24:FF:0E:5C:bf66020600idN8OnlineFCF_Port21:00:00:24:FF:0E:15:e677020700idN8OnlineFCF_Port21:00:00:24:FF:12:1E:2b88020800idN8OnlineFCF_Port21:00:00:24:FF:12:1F:1e99020900idN8OnlineFCF_Port10:00:00:90:FA:A4:74:631010020a00idN8OnlineFCF_Port10:00:00:90:FA:A4:77:一般为44,WWN,别名,端口设备别名
格式:alicreate“alias”,“别名对应WWN”别名:alicreate“VNX54_2020_B0”,“50:06:01:68:08:60:73:7”alicreate“VNX54_2020_A1”,“50:06:01:61:08:73:60 7“alicreate”zbjb_jyesxi01“”21:00:00:24:FF:0E:5D:38“alicreate”zbjb_jyesxi02“”21:0:00:24:FF:0E:5C:BF“alicreate “zbjb_jyesxi03” “21:00:00:24:FF:0E:4B:82” alicreate “zbjb_jyesxi04” “21:00:00:24:FF:0E:15:E6” alicreate “zbjb_jyesxi05”“21:00:00:24:FF:0E:4D 9B“alicreate”zbjb_jyesxi06“”21:00:00:24:FF:12:1 E:2B“alicreate”zbjb_jyesxi07“”21:00:00:24:FF:12:1F:1E “alicreate” zbjb_jyesxi08 “” 21:00:00:24:FF:12:1E:28 “alicreate” zbjb_jyesxi09 “” 10:00:00:90:FA:A4:74:63 “alicreate” zbjb_jyesxi10“创建“10:00:00:90:FA:A4:77:44”第二个创建区域,并通过添加格式(成员)对应的成员区域如下,能够彼此yVLAN)进行通信:zonecreate“名称区”“ali1; ali2AlI3”
正如您可以一眼看到的那样,通常命名的区域称为“存储服务器_”格式。
zonecreate “VNX54_0206_zbjb_jyesxi01” “VNX54_0206_B0; VNX54_0206_A1; zbjb_jyesxi01” zonecreate “VNX54_0206_zbjb_jyesxi02” “VNX54_0206_B0; VNX54_0206_A1; zbjb_jyesxi02” zonecreate “VNX54_0206_zbjb_jyesxi03” “VNX54_0206_B0; VNX54_0206_A1; zbjb_jyesxi03” zonecreate “VNX54_0206_zbjb_jyesxi04” “VNX54_0206_B0; VNX54_0206_A1; zbjb_jyesxi04” zonecreate “VNX54_0206_zbjb_jyesxi05”“VNX54_0206_B0; VNX54_0206_A1; zbjb_jyesxi05 “zonecreate” VNX54_0206_zbjb_jyesxi06 “” VNX54_0206_B0; VNX54_0206_A1; zbjb_jyesxi05 “zonecreate” VNX54_0206_zbjb_jyesxi07 “” VNX54_0206_B0; VNX54_0206_A1; zbjb_jyesxi06 “zonecreate” VNX54_0206_zbjb_jyesxi08 “” VNX54_0206_B0; VNX54_0206_A1; zbjb_jyesxi07 “zonecreate” VNX54_0206_zbjb_jyesxi09 “” VNX54_0206_B0。Zbjb_jyesxi08“zonecreate”VNX54_2206_zbjb_jyesxi10“”VNX54_2020_B0; VNX54_2020_A1;
第三,将区域添加到配置文件中以进入
格式:cfgadd“profile name”,“zone 1,zone 2,zone 3”。

?配置文件名添加到完整个人资料:(没有) “cfgadd” 区域, “VNX54_0206_zbjb_jyesxi01是” “cfgadd”, “VNX54_0206_zbjb_jyesxi02是” “cfgadd”, “VNX54_0206_zbjb_jyesxi03是” “cfgadd”, “VNX54_0206_zbjb_jyesxi04是” “” cfgadd“VNX54_0206_zbjb_jyesxi05” cfgadd “” “VNX54_0206_zbjb_jyesxi06” cfgadd “” “VNX54_0206_zbjb_jyesxi07” cfgadd “” “VNX54_0206_zbjb_jyesxi08” cfgadd “” “VNX54_0206_zbjb_jyesxi09” cfgadd “” “VNX54_0206_zbjb_jyesxi10”
第四,保存。该cfgSave
五,新配置文件的名称:(空)cfgenable“”

作者:365bet官网开户 来源:365bet官网888 发布于2019-05-06 04:27
您可能喜欢的文章
热门阅读
推荐阅读