此文档适用于IBM B24 EMC DS300B等相关OEM 博科B300的型号
授权申请具体请参照各厂家指导书
一、 授权申请导入
Fabric OS (SNS2124)
SNS2124 console login: admin
Password: password
Please change passwords for switch default accounts now.
Use Control-C to exit or press 'Enter' key to proceed.
SNS2124:admin> ipaddrshow
SWITCH
Ethernet IP Address: 10.77.77.77
Ethernet Subnetmask: 255.255.255.0
Gateway IP Address: none
DHCP: Off
SNS2124:admin> licenseidshow
10:00:50:eb:1a:1b:2e:92(华为licenseid为设备wwn,其他厂家可能会有不同)
将此id与授权书transaction ,以获取授权序列号
SNS2124:admin> licenseadd HZmKZaJPf9YCtDPEEETRQPAFPAHGStXGBALTN
adding license-key [HZmKZaJPf9YCtDPEEETRQPAFPAHGStXGBALTN]
For license change to take effect, use portdisable/portenable commands on affected ports...
2015/07/18-08:32:21, [SEC-3051], 21, CHASSIS, INFO, SNS2124, The license key HZmKZaJPf9YCtDPEEETRQPAFPAHGStXGBALTN is Added.
SNS2124:admin> switchshow
switchName: SNS2124
switchType: 71.2
switchState: Online
switchMode: Native
switchRole: Principal
switchDomain: 1
switchId: fffc01
switchWwn: 10:00:50:eb:1a:1b:2e:92
zoning: ON (VM_cfg)
switchBeacon: OFF
Index Port Address Media Speed State Proto
==================================================
0 0 010000 id N8 Online FC F-Port 21:00:00:24:ff:0e:24:6a
1 1 010100 id N8 Online FC F-Port 21:00:00:24:ff:0e:23:88
2 2 010200 id N8 Online FC F-Port 21:00:00:24:ff:0e:1c:a3
3 3 010300 id N8 Online FC F-Port 20:09:34:00:a3:0c:82:0f
4 4 010400 id N8 Online FC F-Port 21:00:00:24:ff:0e:23:44
5 5 010500 id N8 Online FC F-Port 21:00:00:24:ff:0e:1c:a9
6 6 010600 id N8 Online FC F-Port 21:00:00:24:ff:0e:22:be
7 7 010700 id N8 Online FC F-Port 20:19:34:00:a3:0c:82:0f
8 8 010800 id N8 No_Sync FC Disabled 端口授权已导入
9 9 010900 id N8 No_Light FC Disabled
10 10 010a00 id N8 No_Light FC Disabled
11 11 010b00 id N8 No_Light FC Disabled
12 12 010c00 id N8 No_Sync FC Disabled
13 13 010d00 id N8 No_Light FC Disabled
14 14 010e00 id N8 No_Light FC Disabled
15 15 010f00 id N8 No_Light FC Disabled
16 16 011000 -- N8 No_Module FC (No POD License) Disabled
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
SNS2124:admin> portenable 8-15 启用端口
SNS2124:admin> switchshow
switchName: SNS2124
switchType: 71.2
switchState: Online
switchMode: Native
switchRole: Principal
switchDomain: 1
switchId: fffc01
switchWwn: 10:00:50:eb:1a:1b:2e:92
zoning: ON (VM_cfg)
switchBeacon: OFF
Index Port Address Media Speed State Proto
==================================================
0 0 010000 id N8 Online FC F-Port 21:00:00:24:ff:0e:24:6a
1 1 010100 id N8 Online FC F-Port 21:00:00:24:ff:0e:23:88
2 2 010200 id N8 Online FC F-Port 21:00:00:24:ff:0e:1c:a3
3 3 010300 id N8 Online FC F-Port 20:09:34:00:a3:0c:82:0f
4 4 010400 id N8 Online FC F-Port 21:00:00:24:ff:0e:23:44
5 5 010500 id N8 Online FC F-Port 21:00:00:24:ff:0e:1c:a9
6 6 010600 id N8 Online FC F-Port 21:00:00:24:ff:0e:22:be
7 7 010700 id N8 Online FC F-Port 20:19:34:00:a3:0c:82:0f
8 8 010800 id N8 Online FC F-Port 21:00:00:24:ff:0f:28:20
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 Online FC F-Port 21:00:00:24:ff:0f:29:00
13 13 010d00 id N8 No_Light FC
14 14 010e00 id N8 No_Light FC
15 15 010f00 id N8 No_Light FC
(启用并连接的端口为Online状态)
16 16 011000 -- N8 No_Module FC (No POD License) Disabled
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
二、zone划分
SNS2124:admin> cfgshow 查看当前zone配置信息
Defined configuration:
cfg: VM_cfg vmzone1; vmzone2; vmzone3; vmzone4; vmzone5; vmzone6
zone: vmzone1 1,0; 1,3; 1,7
zone: vmzone2 1,1; 1,3; 1,7
zone: vmzone3 1,2; 1,3; 1,7
zone: vmzone4 1,4; 1,3; 1,7
zone: vmzone5 1,5; 1,3; 1,7
zone: vmzone6 1,6; 1,3; 1,7
Effective configuration:
cfg: VM_cfg
zone: vmzone1 1,0
1,3
1,7
zone: vmzone2 1,1
1,3
1,7
zone: vmzone3 1,2
1,3
1,7
zone: vmzone4 1,4
1,3
1,7
zone: vmzone5 1,5
1,3
1,7
zone: vmzone6 1,6
1,3
1,7
SNS2124:admin> zonecreate "vmzone7","1,8;1,3;1,7" 创建zone
SNS2124:admin> zonecreate "vmzone8","1,12;1,3;1,7"
SNS2124:admin> cfgadd "VM_cfg","vmzone7;vmzone8" 将zone添加至cfg
SNS2124:admin> cfgshow
Defined configuration:
cfg: VM_cfg vmzone1; vmzone2; vmzone3; vmzone4; vmzone5; vmzone6; vmzone7;
vmzone8
zone: vmzone1 1,0; 1,3; 1,7
zone: vmzone2 1,1; 1,3; 1,7
zone: vmzone3 1,2; 1,3; 1,7
zone: vmzone4 1,4; 1,3; 1,7
zone: vmzone5 1,5; 1,3; 1,7
zone: vmzone6 1,6; 1,3; 1,7
zone: vmzone7 1,8; 1,3; 1,7
zone: vmzone8 1,12; 1,3; 1,7 zone已划分但未生效
Effective configuration:
cfg: VM_cfg
zone: vmzone1 1,0
1,3
1,7
zone: vmzone2 1,1
1,3
1,7
zone: vmzone3 1,2
1,3
1,7
zone: vmzone4 1,4
1,3
1,7
zone: vmzone5 1,5
1,3
1,7
zone: vmzone6 1,6
1,3
1,7
SNS2124:admin> cfgenable VM_cfg 启用新配置
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 'VM_cfg' configuration (yes, y, no, n): [no] yes
sw0 Updating flash ...
2015/07/18-08:49:00, [ZONE-1022], 23, FID 128, INFO, SNS2124, The effective configuration has changed to VM_cfg. .
zone config "VM_cfg" is in effect
Updating flash ...
SNS2124:admin> cfgsave
You are about to save the Defined zoning configuration. This
action will only save the changes on Defined configuration.
Do you want to save the Defined zoning configuration only? (yes, y, no, n): [no] yes
Nothing changed: nothing to save, returning ...
SNS2124:admin> cfgshow
Defined configuration:
cfg: VM_cfg vmzone1; vmzone2; vmzone3; vmzone4; vmzone5; vmzone6; vmzone7;
vmzone8
zone: vmzone1 1,0; 1,3; 1,7
zone: vmzone2 1,1; 1,3; 1,7
zone: vmzone3 1,2; 1,3; 1,7
zone: vmzone4 1,4; 1,3; 1,7
zone: vmzone5 1,5; 1,3; 1,7
zone: vmzone6 1,6; 1,3; 1,7
zone: vmzone7 1,8; 1,3; 1,7
zone: vmzone8 1,12; 1,3; 1,7
Effective configuration:
cfg: VM_cfg
zone: vmzone1 1,0
1,3
1,7
zone: vmzone2 1,1
1,3
1,7
zone: vmzone3 1,2
1,3
1,7
zone: vmzone4 1,4
1,3
1,7
zone: vmzone5 1,5
1,3
1,7
zone: vmzone6 1,6
1,3
1,7
zone: vmzone7 1,8
1,3
1,7
zone: vmzone8 1,12
1,3
1,7 配置存在且已生效。