2024年5月21日发(作者:闫乾)
一、光纤交换机的配置
备注:默认管理IP:10.77.77.77,默认帐号:admin,默认密码:password
第一种:
1.1双击桌面图标,。弹出窗口输入IP、用户名,点击connect,接着输入密码就可以配置。
第二种:IE浏览器IP地址,弹出界面输入用户名和密码,就可以图形化界面配置。
1.2、查看交换机信息
sw300:admin> switchshow
switchName: sw300
switchType: 71.2
switchState: Online
switchMode: Native
switchRole: Principal
switchDomain: 1
switchId: fffc01
switchWwn: 10:00:50:eb:1a:06:53:44
zoning: OFF
switchBeacon: OFF
Index Port Address Media Speed State Proto
==============================================
0 0 010000 id N8 Online FC F-Port 21:12:00:02:ac:00:67:45
1 1 010100 id N8 Online FC F-Port 10:00:00:90:fa:46:c4:e9
2 2 010200 -- N8 No_Module FC
3 3 010300 -- N8 No_Module FC
4 4 010400 id N8 Online FC F-Port 20:12:00:02:ac:00:67:45
5 5 010500 id N8 No_Light FC
6 6 010600 -- N8 No_Module FC
7 7 010700 -- N8 No_Module FC
8 8 010800 -- N8 No_Module FC (No POD License) Disabled
9 9 010900 -- N8 No_Module FC (No POD License) Disabled
10 10 010a00 -- N8 No_Module FC (No POD License) Disabled
11 11 010b00 -- N8 No_Module FC (No POD License) Disabled
12 12 010c00 -- N8 No_Module FC (No POD License) Disabled
13 13 010d00 -- N8 No_Module FC (No POD License) Disabled
14 14 010e00 -- N8 No_Module FC (No POD License) Disabled
15 15 010f00 -- N8 No_Module FC (No POD License) Disabled
16 16 011000 -- N8 No_Module FC (No POD License) Disabled
1 / 1
17 17 011100 -- N8 No_Module FC (No POD License) Disabled
18 18 011200 -- N8 No_Module FC (No POD License) Disabled
19 19 011300 -- N8 No_Module FC (No POD License) Disabled
20 20 011400 -- N8 No_Module FC (No POD License) Disabled
21 21 011500 -- N8 No_Module FC (No POD License) Disabled
22 22 011600 -- N8 No_Module FC (No POD License) Disabled
23 23 011700 -- N8 No_Module FC (No POD License) Disabled
1.3、查看licenseshow信息。
sw300:admin> licenseshow
RSBDQmBfFX4HFEZ47WQPDG4LLAGERmHRBAEXA:
Fabric license
CDDHHRtt3NFtfTC7E73PQBg7EZPJaFamBAKAJ:
Enhanced Group Management license
RFRKrYL93rMKgKt9g3QGDZBr4KMtr7BFBJgPJ:
8 Gig FC license
1.4、创建别名
sw300:admin>alicreate"storage_3par_112_port","20:12:00:02:ac:00:67:45"
sw300:admin> alicreate "storege_3par_012_port", "21:12:00:02:ac:00:67:45"
sw300:admin> alicreate "host_dl380_fc1", "10:00:00:90:fa:46:c4:e9"
1.5、查看zone信息
sw300:admin> zoneshow
Defined configuration:
alias: host_dl380_fc1
10:00:00:90:fa:46:c4:e9
alias: storage_3par_112_port
20:12:00:02:ac:00:67:45
alias: storege_3par_012_port
21:12:00:02:ac:00:67:45
Effective configuration:
no configuration in effect
1.6、创建zone
sw300:admin> zonecreate "host_dl380_storage_3par", "host_dl380_fc1;storage_3par_112_port;storege_3par_012_port"
sw300:admin> zoneshow
Defined configuration:
zone: host_dl380_storage_3par
host_dl380_fc1; storage_3par_112_port; storege_3par_012_port
alias: host_dl380_fc1
10:00:00:90:fa:46:c4:e9
alias: storage_3par_112_port
20:12:00:02:ac:00:67:45
alias: storege_3par_012_port
21:12:00:02:ac:00:67:45
1.7、创建配置文件且保存才能生效
sw300:admin>cfgcreate "cfg_zlhospital", "host_dl380_storage_3par"
sw300:admin> zoneshow
Defined configuration:
cfg: cfg_zlhospital
host_dl380_storage_3par
zone: host_dl380_storage_3par
host_dl380_fc1; storage_3par_112_port; storege_3par_012_port
alias: host_dl380_fc1
10:00:00:90:fa:46:c4:e9
alias: storage_3par_112_port
20:12:00:02:ac:00:67:45
alias: storege_3par_012_port
21:12:00:02:ac:00:67:45
sw300:admin> cfgsave
You are about to save the Defined zoning configuration. This
action will only save the changes on Defined configuration.
Any changes made on the Effective configuration will not
take effect until it is re-enabled. Until the Effective
configuration is re-enabled, merging new switches into the
fabric is not recommended and may cause unpredictable
results with the potential of mismatched Effective Zoning
configurations.
1 / 1
Do you want to save Defined zoning configuration only? (yes, y, no, n): [no] y
Updating flash ...
sw300:admin> cfgenable
1.8、IP重置
sw300:admin> ipaddrset
Ethernet IP Address [10.77.77.77]:192.168.0.103
Ethernet Subnetmask [255.255.255.0]:255.255.255.0
Gateway IP Address [none]:192.168.0.1
DHCP [Off]:
1.9、级联
光纤交换机默认Domain ID均为1,在做级联前需要将其中一台设备Domain ID改为其他(非1,否则将会冲突,连接后指示灯将慢速闪烁)。
1.9.1、通过管理端口登录到交换机管理页面;
1.9.2、点击“Switch Admin”,如下图所示:
1.9.3、准备更改Domain ID,按下图操作:
1.9.4、更改Domain ID,按下图操作:
1 / 1
知识改变命运
1 / 1
2024年5月21日发(作者:闫乾)
一、光纤交换机的配置
备注:默认管理IP:10.77.77.77,默认帐号:admin,默认密码:password
第一种:
1.1双击桌面图标,。弹出窗口输入IP、用户名,点击connect,接着输入密码就可以配置。
第二种:IE浏览器IP地址,弹出界面输入用户名和密码,就可以图形化界面配置。
1.2、查看交换机信息
sw300:admin> switchshow
switchName: sw300
switchType: 71.2
switchState: Online
switchMode: Native
switchRole: Principal
switchDomain: 1
switchId: fffc01
switchWwn: 10:00:50:eb:1a:06:53:44
zoning: OFF
switchBeacon: OFF
Index Port Address Media Speed State Proto
==============================================
0 0 010000 id N8 Online FC F-Port 21:12:00:02:ac:00:67:45
1 1 010100 id N8 Online FC F-Port 10:00:00:90:fa:46:c4:e9
2 2 010200 -- N8 No_Module FC
3 3 010300 -- N8 No_Module FC
4 4 010400 id N8 Online FC F-Port 20:12:00:02:ac:00:67:45
5 5 010500 id N8 No_Light FC
6 6 010600 -- N8 No_Module FC
7 7 010700 -- N8 No_Module FC
8 8 010800 -- N8 No_Module FC (No POD License) Disabled
9 9 010900 -- N8 No_Module FC (No POD License) Disabled
10 10 010a00 -- N8 No_Module FC (No POD License) Disabled
11 11 010b00 -- N8 No_Module FC (No POD License) Disabled
12 12 010c00 -- N8 No_Module FC (No POD License) Disabled
13 13 010d00 -- N8 No_Module FC (No POD License) Disabled
14 14 010e00 -- N8 No_Module FC (No POD License) Disabled
15 15 010f00 -- N8 No_Module FC (No POD License) Disabled
16 16 011000 -- N8 No_Module FC (No POD License) Disabled
1 / 1
17 17 011100 -- N8 No_Module FC (No POD License) Disabled
18 18 011200 -- N8 No_Module FC (No POD License) Disabled
19 19 011300 -- N8 No_Module FC (No POD License) Disabled
20 20 011400 -- N8 No_Module FC (No POD License) Disabled
21 21 011500 -- N8 No_Module FC (No POD License) Disabled
22 22 011600 -- N8 No_Module FC (No POD License) Disabled
23 23 011700 -- N8 No_Module FC (No POD License) Disabled
1.3、查看licenseshow信息。
sw300:admin> licenseshow
RSBDQmBfFX4HFEZ47WQPDG4LLAGERmHRBAEXA:
Fabric license
CDDHHRtt3NFtfTC7E73PQBg7EZPJaFamBAKAJ:
Enhanced Group Management license
RFRKrYL93rMKgKt9g3QGDZBr4KMtr7BFBJgPJ:
8 Gig FC license
1.4、创建别名
sw300:admin>alicreate"storage_3par_112_port","20:12:00:02:ac:00:67:45"
sw300:admin> alicreate "storege_3par_012_port", "21:12:00:02:ac:00:67:45"
sw300:admin> alicreate "host_dl380_fc1", "10:00:00:90:fa:46:c4:e9"
1.5、查看zone信息
sw300:admin> zoneshow
Defined configuration:
alias: host_dl380_fc1
10:00:00:90:fa:46:c4:e9
alias: storage_3par_112_port
20:12:00:02:ac:00:67:45
alias: storege_3par_012_port
21:12:00:02:ac:00:67:45
Effective configuration:
no configuration in effect
1.6、创建zone
sw300:admin> zonecreate "host_dl380_storage_3par", "host_dl380_fc1;storage_3par_112_port;storege_3par_012_port"
sw300:admin> zoneshow
Defined configuration:
zone: host_dl380_storage_3par
host_dl380_fc1; storage_3par_112_port; storege_3par_012_port
alias: host_dl380_fc1
10:00:00:90:fa:46:c4:e9
alias: storage_3par_112_port
20:12:00:02:ac:00:67:45
alias: storege_3par_012_port
21:12:00:02:ac:00:67:45
1.7、创建配置文件且保存才能生效
sw300:admin>cfgcreate "cfg_zlhospital", "host_dl380_storage_3par"
sw300:admin> zoneshow
Defined configuration:
cfg: cfg_zlhospital
host_dl380_storage_3par
zone: host_dl380_storage_3par
host_dl380_fc1; storage_3par_112_port; storege_3par_012_port
alias: host_dl380_fc1
10:00:00:90:fa:46:c4:e9
alias: storage_3par_112_port
20:12:00:02:ac:00:67:45
alias: storege_3par_012_port
21:12:00:02:ac:00:67:45
sw300:admin> cfgsave
You are about to save the Defined zoning configuration. This
action will only save the changes on Defined configuration.
Any changes made on the Effective configuration will not
take effect until it is re-enabled. Until the Effective
configuration is re-enabled, merging new switches into the
fabric is not recommended and may cause unpredictable
results with the potential of mismatched Effective Zoning
configurations.
1 / 1
Do you want to save Defined zoning configuration only? (yes, y, no, n): [no] y
Updating flash ...
sw300:admin> cfgenable
1.8、IP重置
sw300:admin> ipaddrset
Ethernet IP Address [10.77.77.77]:192.168.0.103
Ethernet Subnetmask [255.255.255.0]:255.255.255.0
Gateway IP Address [none]:192.168.0.1
DHCP [Off]:
1.9、级联
光纤交换机默认Domain ID均为1,在做级联前需要将其中一台设备Domain ID改为其他(非1,否则将会冲突,连接后指示灯将慢速闪烁)。
1.9.1、通过管理端口登录到交换机管理页面;
1.9.2、点击“Switch Admin”,如下图所示:
1.9.3、准备更改Domain ID,按下图操作:
1.9.4、更改Domain ID,按下图操作:
1 / 1
知识改变命运
1 / 1