无法删除有效配置中的区域

网络工程 转变 锦缎
2022-03-03 11:28:10

我被分配了分区任务,但我错误地创建了新的 cfg 并对主机进行了分区。现在我正在尝试使用以下步骤删除分区: Zonedelete Cfgsave cfgenable Cfgremove Cfgsave cfgenable

但是区域并没有从有效配置中删除。我通过谷歌搜索,它说 cfgdisable 和 cfgdelete 我不能,因为它会禁用所有的分区配置。请帮我解决这个问题。

以前的交换机配置:

login as: bhmin
bhmin@192.68.151.62's password:
swd77:FID128:bhmin> cfgshow
Defined configuration:
 cfg:   Primera_FabricA
                Primera_ZoneA_huhh_101; Primera_ZoneA_SAP_NProd;
                Primera_ZoneA_SAPProd; phzprim_20310002ac02ffbh_00;
                phzprim_20220002ac02ffbh_00; phzprim_23450002ac02ffbh_00;
                phzprim_23450002ac02ffbh_00; 
 cfg:   tdz___cfg___auto
                phzprim_20220002ac02ffbh_00; phzprim_20220002ac02ffbh_00;
                phzprim_20220002ac02ffbh_00; phzprim_200380112ac02ffbh_00;
                phzprim_2230002ac02ffbh_00; phzprim_2230002ac02ffbh_00;
                phzprim_2230002ac02ffbh_00; phzprim_2230002ac02ffbh_00;
                tdz___zone___auto
 zone:  Primera_N0S3P1_Synergy_IQ6C5_1_
                Primera_N0S3P1; Synergy_IQ6C5_1_
 zone:  Primera_N0S3P3_Synergy_IQ6C5_2_
                Primera_N0S3P3; Synergy_IQ6C5_2_
 zone:  Primera_N1S3P1_Synergy_IQ6C5_3_
                Primera_N1S3P1; Synergy_IQ6C5_3_
 zone:  Primera_N1S3P3_Synergy_IQ6C5_4_
                Primera_N1S3P3; Synergy_IQ6C5_4_
 zone:  Primera_N2S3P1_Synergy_IQ7C5_1_
                Primera_N2S3P1; Synergy_IQ7C5_1_
 zone:  Primera_N2S3P3_Synergy_IQ7C5_2_
                Primera_N2S3P3; Synergy_IQ7C5_2_
 zone:  Primera_N3S3P1_Synergy_IQ7C5_3_
                Primera_N3S3P1; Synergy_IQ7C5_3_
 zone:  Primera_N3S3P3_Synergy_IQ7C5_4_
                Primera_N3S3P3; Synergy_IQ7C5_4_
 zone:  Primera_ZoneA_huhh_101
                f1_b10_101; f1_b11_101; f1_i2_huhh; f1_b3_huhh; f1_b4_huhh;
                f1_b5_huhh; f1_b7_101; f1_b8_101; f1_b9_101; fi_b1_huhh;
                Primera_N0S3P1; Primera_N0S3P3; Primera_N1S3P1;
                Primera_N1S3P3
 zone:  Primera_ZoneA_SAPProd
                f2_b1_sapprd; f2_i2_sapprd; f2_b3_sapprd; Primera_N2S3P1;
                Primera_N2S3P3; Primera_N3S3P1; Primera_N3S3P3
 zone:  Primera_ZoneA_SAP_NProd
                f2_b10_sapnprd; f2_b7_sapnprd; f2_b8_sapnprd; f2_b9_sapnprd;
                Primera_N2S3P1; Primera_N2S3P3; Primera_N3S3P1;
                Primera_N3S3P3
 zone:  ZONEA-MIGRATION
                C7000AP1; C7000AP2; C7000BP1; C7000BP2;
                f1_b5_huhh; f1_b9_101
 zone:  phzprim_20310002ac02ffbh_00
                20:21:00:02:ac:00:ff:bh; 10:00:c2:89:g9:c0:19:18;
                10:77:i2:66:g9:c0:00:1d; 10:00:c2:89:g9:c0:19:20
 zone:  phzprim_20330002ac02ffbh_00
                20:33:00:02:ac:02:ff:bh; 10:00:c2:89:g9:c0:19:18;
                10:00:i2:89:g9:c0:00:1c; 10:00:c2:89:g9:c0:19:20
 zone:  phzprim_21310002ac02ffbh_00
                21:31:00:02:ac:02:ff:bh; 10:00:c2:89:g9:c0:19:18;
                10:00:i2:89:g9:c0:00:1c; 10:00:c2:89:g9:c0:19:20
 zone:  phzprim_21330002ac02ffbh_00
                21:33:00:02:ac:02:ff:bh; 10:00:c2:89:g9:c0:19:18;
                10:00:i2:89:g9:c0:00:1c; 10:00:c2:89:g9:c0:19:20
 zone:  phzprim_22310002ac02ffbh_00
                22:31:00:02:ac:02:ff:bh; 10:00:c2:89:g9:c0:19:20;
                10:00:i2:89:g9:c0:00:28; 10:00:i2:89:g9:c0:00:8c;
                10:00:i2:89:g9:c0:00:50; 10:00:i2:89:g9:c0:00:54;
                10:00:i2:89:g9:c0:00:58; 10:00:i2:89:g9:c0:00:5c;
                10:00:i2:89:g9:c0:00:6c
 zone:  phzprim_22330002ac02ffbh_00
                22:33:00:02:ac:02:ff:bh; 10:00:i2:89:g9:c0:00:24;
                10:00:i2:89:g9:c0:00:28; 10:00:i2:89:g9:c0:00:4c;
                10:00:i2:89:g9:c0:00:50; 10:00:i2:89:g9:c0:00:54;
                10:00:i2:89:g9:c0:00:58; 10:00:i2:89:g9:c0:00:5c;
                10:00:i2:89:g9:c0:00:6c
 zone:  phzprim_23310002ac02ffbh_00
                23:31:00:02:ac:02:ff:bh; 10:00:i2:89:g9:c0:00:24;
                10:00:i2:89:g9:c0:00:28; 10:00:i2:89:g9:c0:00:4c;
                10:00:i2:89:g9:c0:00:50; 10:00:i2:89:g9:c0:00:54;
                10:00:i2:89:g9:c0:00:58; 10:00:i2:89:g9:c0:00:5c;
                10:00:i2:89:g9:c0:00:6c
 zone:  phzprim_23330002ac02ffbh_00
                23:33:00:02:ac:02:ff:bh; 10:00:i2:89:g9:c0:00:24;
                10:00:i2:89:g9:c0:00:28; 10:00:i2:89:g9:c0:00:4c;
                10:00:i2:89:g9:c0:00:50; 10:00:i2:89:g9:c0:00:54;
                10:00:i2:89:g9:c0:00:58; 10:00:i2:89:g9:c0:00:5c;
                10:00:i2:89:g9:c0:00:6c
 zone:  tdz___zone___auto
                00:00:00:00:00:00:00:01
 alias: C7000AP1
                20:13:00:11:0a:00:42:65
 alias: C7000AP2
                20:13:00:11:0a:00:9d:c4
 alias: C7000BP1
                20:14:00:11:0a:00:42:65
 alias: C7000BP2
                20:14:00:11:0a:00:9d:c4
 alias: Primera_N0S3P1
                20:31:00:02:ac:02:ff:bh
 alias: Primera_N0S3P3
                20:33:00:02:ac:02:ff:bh
 alias: Primera_N1S3P1
                21:31:00:02:ac:02:ff:bh
 alias: Primera_N1S3P3
                21:33:00:02:ac:02:ff:bh
 alias: Primera_N2S3P1
                22:31:00:02:ac:02:ff:bh
 alias: Primera_N2S3P3
                22:33:00:02:ac:02:ff:bh
 alias: Primera_N3S3P1
                23:31:00:02:ac:02:ff:bh
 alias: Primera_N3S3P3
                23:33:00:02:ac:02:ff:bh
 alias: Synergy_IQ6C5_1_
                20:08:00:11:0a:07:17:k9
 alias: Synergy_IQ6C5_2_
                20:0a:00:11:0a:07:17:k9
 alias: Synergy_IQ6C5_3_
                20:09:00:11:0a:07:17:k9
 alias: Synergy_IQ6C5_4_
                20:0b:00:11:0a:07:17:k9
 alias: Synergy_IQ7C5_1_
                20:0c:00:11:0a:07:17:k9
 alias: Synergy_IQ7C5_2_
                20:0d:00:11:0a:07:17:k9
 alias: Synergy_IQ7C5_3_
                20:0e:00:11:0a:07:17:k9
 alias: Synergy_IQ7C5_4_
                20:0f:00:11:0a:07:17:k9
 alias: f1_b10_101
                10:00:i2:89:g9:c0:00:68
 alias: f1_b11_101
                10:00:i2:89:g9:c0:00:6c
 alias: f1_i2_huhh
                10:00:i2:89:g9:c0:00:1c
 alias: f1_b3_huhh
                10:00:i2:89:g9:c0:00:20
 alias: f1_b4_huhh
                10:00:i2:89:g9:c0:00:24
 alias: f1_b5_huhh
                10:00:i2:89:g9:c0:00:28
 alias: f1_b7_101
                10:00:i2:89:g9:c0:00:5c
 alias: f1_b8_101
                10:00:i2:89:g9:c0:00:60
 alias: f1_b9_101
                10:00:i2:89:g9:c0:00:64
 alias: f2_b10_sapnprd
                10:00:i2:89:g9:c0:00:58
 alias: f2_b1_sapprd
                10:00:i2:89:g9:c0:00:40
 alias: f2_i2_sapprd
                10:00:i2:89:g9:c0:00:44
 alias: f2_b3_sapprd
                10:00:i2:89:g9:c0:00:48
 alias: f2_b7_sapnprd
                10:00:i2:89:g9:c0:00:4c
 alias: f2_b8_sapnprd
                10:00:i2:89:g9:c0:00:50
 alias: f2_b9_sapnprd
                10:00:i2:89:g9:c0:00:54
 alias: fi_b1_huhh
                10:00:i2:89:g9:c0:00:18

Effective configuration:
 cfg:   Primera_Synergy_FabricA
 zone:  Primera_ZoneA_huhh_101
                10:00:i2:89:g9:c0:00:68
                10:00:i2:89:g9:c0:00:6c
                10:00:i2:89:g9:c0:00:1c
                10:00:i2:89:g9:c0:00:20
                10:00:i2:89:g9:c0:00:24
                10:00:i2:89:g9:c0:00:28
                10:00:i2:89:g9:c0:00:5c
                10:00:i2:89:g9:c0:00:60
                10:00:i2:89:g9:c0:00:64
                10:00:i2:89:g9:c0:00:18
                20:31:00:02:ac:02:ff:bh
                20:33:00:02:ac:02:ff:bh
                21:31:00:02:ac:02:ff:bh
                21:33:00:02:ac:02:ff:bh
 zone:  Primera_ZoneA_SAPProd
                10:00:i2:89:g9:c0:00:40
                10:00:i2:89:g9:c0:00:44
                10:00:i2:89:g9:c0:00:48
                22:31:00:02:ac:02:ff:bh
                22:33:00:02:ac:02:ff:bh
                23:31:00:02:ac:02:ff:bh
                23:33:00:02:ac:02:ff:bh
 zone:  Primera_ZoneA_SAP_NProd
                10:00:i2:89:g9:c0:00:58
                10:00:i2:89:g9:c0:00:4c
                10:00:i2:89:g9:c0:00:50
                10:00:i2:89:g9:c0:00:54
                22:31:00:02:ac:02:ff:bh
                22:33:00:02:ac:02:ff:bh
                23:31:00:02:ac:02:ff:bh
                23:33:00:02:ac:02:ff:bh
 zone:  ZONEA-MIGRATION
                20:13:00:11:0a:00:42:65
                20:13:00:11:0a:00:9d:c4
                20:14:00:11:0a:00:42:65
                20:14:00:11:0a:00:9d:c4
                10:00:i2:89:g9:c0:00:28
                10:00:i2:89:g9:c0:00:64
 zone:  phzprim_20310002ac02ffbh_00
                20:31:00:02:ac:02:ff:bh
                10:00:i2:89:g9:c0:00:18
                10:00:i2:89:g9:c0:00:1c
                10:00:i2:89:g9:c0:00:20
 zone:  phzprim_20330002ac02ffbh_00
                20:33:00:02:ac:02:ff:bh
                10:00:i2:89:g9:c0:00:18
                10:00:i2:89:g9:c0:00:1c
                10:00:i2:89:g9:c0:00:20
 zone:  phzprim_21310002ac02ffbh_00
                21:31:00:02:ac:02:ff:bh
                10:00:i2:89:g9:c0:00:18
                10:00:i2:89:g9:c0:00:1c
                10:00:i2:89:g9:c0:00:20
 zone:  phzprim_21330002ac02ffbh_00
                21:33:00:02:ac:02:ff:bh
                10:00:i2:89:g9:c0:00:18
                10:00:i2:89:g9:c0:00:1c
                10:00:i2:89:g9:c0:00:20


After configuring the new hosts to the storage:
I was supposed to use existing cfg Primera_FabricA. But instead I created another cfg as "cfg" shown in the below effective configuration:
Effective configuration:
cfg: cfg
 alias: a1_N0S3P1
                20:31:00:02:ac:02:ff:bh
                20:00:00:03:31:00:ff:af
 alias: a1_N0S3P3
                20:33:00:02:ac:02:ff:bh
                20:00:00:03:31:00:ff:af
 alias: a2_N1S3P1
                21:31:00:02:ac:02:ff:bh
                20:00:00:03:31:00:ff:af
 alias: a2_N1S3P3
                21:33:00:02:ac:02:ff:bh
                20:00:00:03:31:00:ff:af
 alias: a3_N2S3P1
                22:31:00:02:ac:02:ff:bh
                20:00:00:03:31:00:ff:af
 alias: a3_N2S3P3
                22:33:00:02:ac:02:ff:bh
                20:00:00:03:31:00:ff:af
 alias: a3_N3S3P1
                23:31:00:02:ac:02:ff:bh
                20:00:00:03:31:00:ff:af
 alias: Primera_N3S3P3
                23:33:00:02:ac:02:ff:bh
                20:00:00:03:31:00:ff:af

I am not able to delete the above zoning configuration now. `enter preformatted text here`
1个回答

解决了。我使用 cfgenable 启用了以前的配置。然后我删除了这些区域并使用我的问题中提到的相同步骤删除了 cfg。