H3C SN3360B SAN交换机配置
7台H3C服务器FC接口分别接入两台SN3360B中,划分7个zone
交换机查看信息
switchshow
swd77:admin> switchshow switchName: swd77 switchType: 170.0 switchState: Online switchMode: Native switchRole: Principal switchDomain: 1 switchId: fffc01 switchWwn: 10:00:d8:1f:cc:25:d6:38 zoning: OFF switchBeacon: OFF HIF Mode: OFF Index Port Address Media Speed State Proto ================================================== 0 0 010000 id N16 Online FC F-Port 10:00:00:10:9b:54:9d:14 1 1 010100 id N16 Online FC F-Port 10:00:00:10:9b:b3:53:ec 2 2 010200 id N16 Online FC F-Port 10:00:00:10:9b:b3:54:56 3 3 010300 id N16 Online FC F-Port 10:00:00:10:9b:b3:6b:e8 4 4 010400 id N16 No_Light FC 5 5 010500 id N16 No_Light FC 6 6 010600 id N16 No_Light FC 7 7 010700 id N16 No_Light FC 8 8 010800 id N16 Online FC F-Port 10:00:00:10:9b:b3:6c:02 9 9 010900 id N16 Online FC F-Port 10:00:00:10:9b:b3:8c:f8 10 10 010a00 id N16 Online FC F-Port 10:00:00:10:9b:b3:8c:e0 11 11 010b00 id N16 Online FC F-Port 10:00:00:10:9b:b3:6b:ec 12 12 010c00 id N16 No_Light FC 13 13 010d00 id N16 No_Light FC 14 14 010e00 id N16 No_Light FC 15 15 010f00 id N16 No_Light FC 16 16 011000 id N16 No_Light FC 17 17 011100 id N16 No_Light FC 18 18 011200 id N16 No_Light FC 19 19 011300 id N16 No_Light FC 20 20 011400 id N16 No_Light FC 21 21 011500 id N16 No_Light FC 22 22 011600 id N16 Online FC F-Port 20:70:00:c0:ff:52:c4:60 23 23 011700 id N16 Online FC F-Port 24:70:00:c0:ff:52:c4:60 swd78:admin> switchshow switchName: swd78 switchType: 170.0 switchState: Online switchMode: Native switchRole: Principal switchDomain: 1 switchId: fffc01 switchWwn: 10:00:d8:1f:cc:2a:54:b8 zoning: OFF switchBeacon: OFF HIF Mode: OFF Index Port Address Media Speed State Proto ================================================== 0 0 010000 id N16 Online FC F-Port 10:00:00:10:9b:3f:54:dc 1 1 010100 id N16 Online FC F-Port 10:00:00:10:9b:b3:53:f6 2 2 010200 id N16 Online FC F-Port 10:00:00:10:9b:b3:55:08 3 3 010300 id N16 Online FC F-Port 10:00:00:10:9b:b3:6b:66 4 4 010400 id N16 No_Light FC 5 5 010500 id N16 No_Light FC 6 6 010600 id N16 No_Light FC 7 7 010700 id N16 No_Light FC 8 8 010800 id N16 Online FC F-Port 10:00:00:10:9b:b3:6b:4e 9 9 010900 id N16 Online FC F-Port 10:00:00:10:9b:b3:8d:0a 10 10 010a00 id N16 Online FC F-Port 10:00:00:10:9b:b3:8d:0c 11 11 010b00 id N16 Online FC F-Port 10:00:00:10:9b:b3:8d:08 12 12 010c00 id N16 No_Light FC 13 13 010d00 id N16 No_Light FC 14 14 010e00 id N16 No_Light FC 15 15 010f00 id N16 No_Light FC 16 16 011000 id N16 No_Light FC 17 17 011100 id N16 No_Light FC 18 18 011200 id N16 No_Light FC 19 19 011300 id N16 No_Light FC 20 20 011400 id N16 No_Light FC 21 21 011500 id N16 No_Light FC 22 22 011600 id N16 Online FC F-Port 25:70:00:c0:ff:52:c4:60 23 23 011700 id N16 Online FC F-Port 21:70:00:c0:ff:52:c4:60
创建zone
zonecreate
swd77:admin> zonecreate "zone1_h3c3020G3_0318","1,1;1,22;1,23" swd77:admin> zonecreate "zone2_h3c3020G3_0317","1,2;1,22;1,23" swd77:admin> zonecreate "zone3_h3c6000G3_0055","1,3;1,22;1,23" swd77:admin> zonecreate "zone4_h3c6000G3_0056","1,8;1,22;1,23" swd77:admin> zonecreate "zone5_h3c6000G3_0054","1,9;1,22;1,23" swd77:admin> zonecreate "zone6_h3c6000G3_0057","1,10;1,22;1,23" swd77:admin> zonecreate "zone7_h3c6000G3_0053","1,11;1,22;1,23"
查看zone信息
zoneshow
swd77:admin> zoneshow Defined configuration: zone: zone1_h3c3020G3_0318 1,1; 1,22; 1,23 zone: zone2_h3c3020G3_0317 1,2; 1,22; 1,23 zone: zone3_h3c6000G3_0055 1,3; 1,22; 1,23 zone: zone4_h3c6000G3_0056 1,8; 1,22; 1,23 zone: zone5_h3c6000G3_0054 1,9; 1,22; 1,23 zone: zone6_h3c6000G3_0057 1,10; 1,22; 1,23 zone: zone7_h3c6000G3_0053 1,11; 1,22; 1,23
创建zone配置
cfgcreate
swd77:admin> cfgcreate "cfg1","zone1_h3c3020G3_0318;zone2_h3c3020G3_0317;zone3_h3c6000G3_0055;zone4_h3c6000G3_0056;zone5_h3c6000G3_0054;zone6_h3c6000G3_0057;zone7_h3c6000G3_0053"
保存自定义配置
cfgsave
swd77:admin> cfgsave You are about to save the Defined zoning configuration. This action will only save the changes on Defined configuration. If the update includes changes to one or more traffic isolation zones, you must issue the 'cfgenable' command for the changes to take effect. Do you want to save the Defined zoning configuration only? (yes, y, no, n): [no] y Updating flash ...
查看配置信息
cfgshow
swd77:admin> cfgshow Defined configuration: cfg: cfg1 zone1_h3c3020G3_0318; zone2_h3c3020G3_0317; zone3_h3c6000G3_0055; zone4_h3c6000G3_0056; zone5_h3c6000G3_0054; zone6_h3c6000G3_0057; zone7_h3c6000G3_0053 zone: zone1_h3c3020G3_0318 1,1; 1,22; 1,23 zone: zone2_h3c3020G3_0317 1,2; 1,22; 1,23 zone: zone3_h3c6000G3_0055 1,3; 1,22; 1,23 zone: zone4_h3c6000G3_0056 1,8; 1,22; 1,23 zone: zone5_h3c6000G3_0054 1,9; 1,22; 1,23 zone: zone6_h3c6000G3_0057 1,10; 1,22; 1,23 zone: zone7_h3c6000G3_0053 1,11; 1,22; 1,23 Effective configuration: no configuration in effect
激活zone配置
cfgenable
swd77:admin> cfgenable "cfg1" You are about to enable a new zoning configuration. This action will replace the old zoning configuration with the current configuration selected. If the update includes changes to one or more traffic isolation zones, the update may result in localized disruption to traffic on ports associated with the traffic isolation zone changes. Do you want to enable 'cfg1' configuration (yes, y, no, n): [no] y zone config "cfg1" is in effect Updating flash ...
本站所有文章均可随意转载,转载时请保留原文链接及作者。