别名方式配置命令
alicreate "wolf_p770db_hba1_br0","1,0"
alicreate "wolf_p770db_hba1_br7","1,7"
alicreate "wolf_p770db_hba1_br15","1,15"
zonecreate "wolf_p770db_hba1_emc","wolf_p770db_hba1_br0;wolf_p770db_hba1_br7;wolf_p770db_hba1_br15"
cfgcreate "wolf_b5100a_emc","wolf_p770db_hba1_emc"
cfgenable "wolf_b5100a_emc"
cfgsave
alicreate "wolf_p770db_hba2_br8","1,8"
alicreate "wolf_p770db_hba2_br23","1,23"
alicreate "wolf_p770db_hba2_br31","1,31"
zonecreate "wolf_p770db_hba2_emc","wolf_p770db_hba2_br8;wolf_p770db_hba2_br23;wolf_p770db_hba2_br31"
cfgadd "wolf_b5100a_emc","wolf_p770db_hba2_emc"
cfgenable "wolf_b5100a_emc"
cfgsave
交换机目前的配置情况:
wolf_b5100a:FID128:admin> zoneshow
Defined configuration:
cfg: wolf_b5100a_emc
wolf_p770db_hba1_emc; wolf_p770db_hba2_emc
zone: wolf_p770db_hba1_emc
wolf_p770db_hba1_br0; wolf_p770db_hba1_br7; wolf_p770db_hba1_br15
zone: wolf_p770db_hba2_emc
wolf_p770db_hba2_br8; wolf_p770db_hba2_br23; wolf_p770db_hba2_br31
alias: wolf_p770db_hba1_br0
1,0
alias: wolf_p770db_hba1_br15
1,15
alias: wolf_p770db_hba1_br7
1,7
alias: wolf_p770db_hba2_br23
1,23
alias: wolf_p770db_hba2_br31
1,31
alias: wolf_p770db_hba2_br8
1,8
Effective configuration:
cfg: wolf_b5100a_emc
zone: wolf_p770db_hba1_emc
1,0
1,7
1,15
zone: wolf_p770db_hba2_emc
1,8
1,23
1,31
wolf_b5100a:FID128:admin> switchshow
switchName: wolf_b5100a
switchType: 66.1
switchState: Online
switchMode: Native
switchRole: Principal
switchDomain: 1
switchId: fffc01
switchWwn: 10:00:00:27:f8:27:c1:41
zoning: ON (wolf_b5100a_emc)
switchBeacon: OFF
FC Router: OFF
Allow XISL Use: OFF
LS Attributes: [FID: 128, Base Switch: No, Default Switch: Yes, Address Mode 0]
Index Port Address Media Speed State Proto
==============================================
0 0 010000 id N8 Online FC F-Port 10:00:00:90:fa:10:52:28
1 1 010100 id N8 No_Light FC
2 2 010200 id N8 No_Light FC
3 3 010300 id N8 No_Light FC
4 4 010400 id N8 No_Light FC
5 5 010500 id N8 No_Light FC
6 6 010600 id N8 No_Light FC
7 7 010700 id N8 Online FC F-Port 50:06:0e:80:10:13:90:34
8 8 010800 id N8 Online FC F-Port 10:00:00:90:fa:10:47:4a
9 9 010900 id N8 No_Light FC
10 10 010a00 id N8 No_Light FC
11 11 010b00 id N8 No_Light FC
12 12 010c00 id N8 No_Light FC
13 13 010d00 id N8 No_Light FC
14 14 010e00 id N8 No_Light FC
15 15 010f00 id N8 Online FC F-Port 50:06:0e:80:10:13:90:3c
16 16 011000 id N8 No_Light FC
17 17 011100 id N8 No_Light FC
18 18 011200 id N8 No_Light FC
19 19 011300 id N8 No_Light FC
20 20 011400 id N8 No_Light FC
21 21 011500 id N8 No_Light FC
22 22 011600 id N8 No_Light FC
23 23 011700 id N8 Online FC F-Port 50:06:0e:80:10:13:90:36
24 24 011800 id N8 No_Light FC
25 25 011900 id N8 No_Light FC
26 26 011a00 id N8 No_Light FC
27 27 011b00 id N8 No_Light FC
28 28 011c00 id N8 No_Light FC
29 29 011d00 id N8 No_Light FC
30 30 011e00 id N8 No_Light FC
31 31 011f00 id N8 Online FC F-Port 50:06:0e:80:10:13:90:3e
32 32 012000 id N8 No_Light FC
33 33 012100 id N8 No_Light FC
34 34 012200 id N8 No_Light FC
35 35 012300 id N8 No_Light FC
36 36 012400 id N8 No_Light FC
37 37 012500 id N8 No_Light FC
38 38 012600 id N8 No_Light FC
39 39 012700 id N8 No_Light FC
wolf_b5100a:FID128:admin> cfgshow
Defined configuration:
cfg: wolf_b5100a_emc
wolf_p770db_hba1_emc; wolf_p770db_hba2_emc
zone: wolf_p770db_hba1_emc
wolf_p770db_hba1_br0; wolf_p770db_hba1_br7; wolf_p770db_hba1_br15
zone: wolf_p770db_hba2_emc
wolf_p770db_hba2_br8; wolf_p770db_hba2_br23; wolf_p770db_hba2_br31
alias: wolf_p770db_hba1_br0
1,0
alias: wolf_p770db_hba1_br15
1,15
alias: wolf_p770db_hba1_br7
1,7
alias: wolf_p770db_hba2_br23
1,23
alias: wolf_p770db_hba2_br31
1,31
alias: wolf_p770db_hba2_br8
1,8
Effective configuration:
cfg: wolf_b5100a_emc
zone: wolf_p770db_hba1_emc
1,0
1,7
1,15
zone: wolf_p770db_hba2_emc
1,8
1,23
1,31