-
系统要求
:
使用
WEB
方式连接
,
配置机器需要安装有
JAVA
201
5
年
7
月
28
号
光纤交换机默认的
IP
地址
:10.77.77.77
默认的子网掩码
:255.255.255.0
1.
1.
给配置机器配置一个和光纤交换机相同网段的
IP
地址
.
例如
:10.77.77.50/24
2.
2.
把网线一端插入光前交换机的网络配置口
,
备注
:
光纤交换机上有
2
个管理口
,1
个是用串口方式
,
这
里使用的是
IP
管理口
.
3.
3.
使用
IE,
直接键入
:10.77.77.77
输入用户名和密码
.
默认用户名
:admin
默认密码
:password
4.
图为初试界面
5.
5.
点击界面左侧的
Zone Admin
6.
下图为
Zone
Admin
的界面
7.
先点击红线标出的
Zone,
然后点击绿线标出
New
Zone,
会出现输入
Zone Name
的对话框
.
8.
先选择
Zone
名称
,
然后把交换机的端口
添加进
Zone
内
.
9.
然后创建
Zone
Congfig
组
10.
选择
congfig
名称
,
然后把配置好
的
Zone
添加进
congfig
p>
中
11.
然后
Save Config
,
然后
Enable Config
激活
LI
C
步骤:
1.
1.
telnet 10.77.77.77
2.
2.
admin /password
3.
3.
licenseidshow
-----
可以看到
LICENSE ID
4.
4.
记录
WWN
号,如
10:00:XX:XX:XX
5.
5.
上网,键入:
/storage
/key
6.
6.
根据表单上的要求填写。
7.
7.
8.
8.
按
continue
后会产生一个
Activation Key,
9.
9.
在交换机上键入:
licenseAdd
+
网上生成的
Activation Key,
10.
licenseidshow
看是否已经激活。
关于“
SAN
光纤交换机技术知识
之
BrocadeCisco
SAN
交
换机如何做健康检查”
的文档,
请大家仔细阅读以下资料。
p>
2015
年
7
月<
/p>
30
号
交换机
在
SAN
里面作用就是保证同一个
zo
ne
内成员能够正常通信,
为
FC-4
层协议提供一个正常
的链路。
健康检查主要包括以下主要内容:
物理链路是否正常
查看端口是否
p>
online
,端口速率是否正确,设备类型
FC_SW/FC_AL
)。
Brocade
光纤交换机:
Switchshow
switchshow
:
CURRENT CONTEXT -- 0 , 128
switchName:
SW_xxx
switchType:
62.3
switchState:
Online
switchMode:
Native
switchRole:
Subordinate
switchDomain:
100
switchId:
fffc64
switchWwn:
10:xx:xx:xx:xx:xx:xx:xx
zoning:
ON (Zone_xxx)
switchBeacon:
OFF
FC Router:
OFF
Allow XISL Use:
OFF
LS
Attributes:
[FID:
128,
Base
Switch:
No,
Default
Switch:
Yes,
Address
Mode
0]
Index Slot Port Address Media Speed
State
Proto
=====================
==============================
0
1
0
640000
id
N2
Online
FC
F-Port
21:00:00:xx:xx:xx:xx:xx
1
1
1
640100
id
N2
Online
FC
F-Port
10:00:00:xx:xx:xx:xx:xx
Cisco
光纤交换机:
`show interface brief`
---------------------------
--------------------------------------------------
--
Interface
Vsan
Admin
Admin
Status
SFP
Oper
Op
er
Port
Mode
Trunk
Mode
Speed
Channel
Mode
(Gbps)
--------
--------------------------------------------------
---------------------
fc1/1
4
FX
off
up
s
wl
F
4
--
fc1/2
4
FX
off
up
s
wl
F
4
--
fc1/3
4
FX
off
up
s
wl
F
4
--
fc1/4
4
FX
off
up
s
wl
F
4
--
fc1/5
4
FX
off
up
s
wl
F
4
--
fc1/6
3
FX
off
up
s
wl
F
4
--
设备是否正常
FLOGI
p>
,
PLOGI
检查设备是否正常
FLOGI
和
PLOGI
,并且在
Name
Server
里面已经正确注册。
Brocade
光纤交换机:
(
brocade
交换机没有专门的
flogi
数据库)
nsshow:
/fabos/cliexec/nsshow -r:
{
Type
Pid
COS
PortName
NodeName
SCR
N
151100;
3;21:00:00:xx:xx:xx:xx:xx;20:00:00:xx:xx:xx:xx:xx;
3
FC4s: FCP
NodeSymb: [43]
Fabric Port Name:
20:03:00:xx:xx:xx:xx:xx
Permanent Port Name:
21:00:00:xx:xx:xx:xx:xx
Port Index: 3
Share Area: No
Device Shared in Other AD: No
Redirect:
No
Cisco
光纤交换机:
查看
flogi
`showflogi database`
-------
--------------------------------------------------
-----------------------
INTERFACE
VSAN
FCID
PORT
NAME
NODE NAME
p>
-----------------------------------------
---------------------------------------
fc1/1
50:06:04:xx:xx:xx:xx:xx
fc1/2
50:06:04:xx:xx:xx:xx:xx
fc1/3
50:06:04:xx:xx:xx:xx:xx
查看
plogi
`showfcns
database vsan 1-4093`
VSAN 3:
--------------------
--------------------------------------------------
----
FCID
TYPE
PWWN
(VENDOR)
FC4-TYPE:FEATURE
0x0c0000
N
50:06:04:xx:xx:xx:xx:xx (EMC)
scsi-fcp
253
4
0x0d0101
50:06:04:xx:xx:xx:xx:xx
4
0x0d0100
50:06:04:xx:xx:xx:xx:xx
4
0x0d0104
50:06:04:xx:xx:xx:xx:xx
Zone
是否生效
< br>,
SAN
是否稳定
确保主机和存储在同一个
Zone
里面,并且
p>
zone
是活动生效的。
Brocade
光纤交换机:
cfgshow:
/fabos/cliexec/cfgshow:
Defined configuration:
. . .
Effective configuration:
---Brocade
交换机当前生效的配置信息
cfg:
KH_cfg
---
生效的配置名称
zone:
zone_test
---
生效的
zone
21:00:00:24:xx:xx:xx:xx
50:06:01:61:xx:xx:xx:xx
Cisco
光纤交换机:
`showzoneset active vsan 1-4093`
zoneset name Test_CFGvsan 3
zone name Test_zonevsan 3
interface fc1/7 swwn 20:00:00:xx:xx:xx:xx:xx
* fcid 0x0c0000 [interface
fc1/6 swwn 20:00:00:xx:xx:xx:xx:xx]
如果通
过了以上检查,那么主机和存储之间的交换机链路是正常的。
关于“
SAN
光纤交换机技术知识
之
Brocade
和
Cisco
< br>光纤交换机
级联配置”的文档,请大家仔细阅读以下资料。
2015
年
7
月
31
号
1.
配置异构交换机平台协同工作模式
Cisco
9120
配置过程
激活前
8
个端口
switch# config t
Enter
configuration commands, one per line.
End with CNTL/Z.
switch(config)#interface fc1/1-8
switch(config-if)# no shutdown
switch(config-if)# end
配置交换机协同工作模式
switch# config t
Enter
configuration commands, one per line.
End with CNTL/Z.
switch(config)# vsan
database
switch(config-vsan-db)# vsan 1
interop
switch(config-vsan-db)#
end
配置
domain ID
switch# config t
Enter
configuration commands, one per line.
End with CNTL/Z.
switch(config)#
fcdomain domain
100
preferred vsan 1
switch(config)# end
激活
VSAN
switch#
config t
Enter configuration commands,
one per line.
End with CNTL/Z.
switch(config)# vsan database
switch(config-vsan-db)# vsan 1 suspend
switch(config-vsan-db)# no vsan 1
suspend
switch(config-vsan-db)#
end
察看修改之后的系统配置信息
switch# show running
version
2.0(2b)
vsan database
vsan 1 interop 1
fcdomain domain 100 preferred vsan 1
fcdomainfcid persistent vsan 1
boot kickstartbootflash:/
boot system bootflash:/
kernel core target 0.0.0.0
kernel core limit 1
snmp-server
user
admin
network-admin
auth
0xeec64ba2afbe9b65e13b23882ac6ae05
priv
0xeec64ba2afbe9b65e13b23882ac6ae05 localizedkey
username
admin
password
5
$$1$$V3smTQpb$$MTvub69DkVBxdCt9BsEDB1
network-admin
callhome
switch-priority 7
snmp-server enable traps license
interface mgmt0
ip address 192.168.70.139 255.255.255.0
interface fc1/1
no shutdown
md5
role
interface
fc1/2
no
shutdown
interface fc1/3
no shutdown
interface fc1/4
no shutdown
interface fc1/5
no shutdown
interface fc1/6
no shutdown
interface fc1/7
no shutdown
interface fc1/8
no shutdown
interface fc1/9
interface fc1/10
interface
fc1/11
interface fc1/12
interface fc1/13
interface
fc1/14
interface fc1/15
interface fc1/16
interface
fc1/17
interface fc1/18
interface fc1/19
interface
fc1/20
switch#
察看端口连接状态信息
switch# show interface brief
-------------------------------------------------
--------------------
----------
Interface
Vsan
Admin
Admin
Status
FCOT
Oper
Oper
Port
Mode
Trunk
Mode
Speed
Channel
Mode
(Gbps)
--------
--------------------------------------------------
-----------
----------
fc1/1
1
auto
on
up
swl
F
2
--
fc1/2
1
auto
on
up
swl
F
2
--
fc1/3
1
auto
on
up
swl
E
2
--
fc1/4
1
auto
on
notConnected
swl
--
--
fc1/5
1
FX
--
notConnected
swl
--
--
fc1/6
1
FX
--
notConnected
swl
--
--
fc1/7
1
FX
--
notConnected
swl
--
--
fc1/8
1
FX
--
swl
--
--
fc1/9
1
FX
--
--
--
--
fc1/10
1
FX
--
--
--
--
fc1/11
1
FX
--
--
--
--
fc1/12
1
FX
--
--
--
--
fc1/13
1
FX
--
--
--
--
fc1/14
1
FX
--
--
--
--
fc1/15
1
FX
--
--
--
--
fc1/16
1
FX
--
--
--
--
fc1/18
1
FX
--
--
--
--
fc1/19
1
FX
--
--
--
--
fc1/20
1
FX
--
--
--
--
刀片中心光纤交换机模块配置
禁止交换机
brocadessm:
USERID>switchdisable
修改
Domain ID
brocadessm:USERID> configure
Configure...
Fabric parameters (yes, y, no, n):
[no] yes
Domain: (1..239) [1]
99
R_A_TOV: (4000..120000)
[10000]
E_D_TOV: (1000..5000)
[2000]
notConnected
sfpAbsent
sfpAbsent
sfpAbsent
sfpAbsent
sfpAbsent
sfpAbsent
sfpAbsent
sfpAbsent
sfpAbsent
sfpAbsent
sfpAbsent
WAN_TOV: (0..30000) [0]
MAX_HOPS: (7..19) [7]
Data field
size: (256..2112) [2112]
Sequence Level
Switching: (0..1) [0]
Disable Device
Probing: (0..1) [0]
Suppress Class
F Traffic: (0..1) [0]
Switch PID
Format: (1..2) [1]
Per-frame
Route Priority: (0..1) [0]
Long Distance
Fabric: (0..1) [0]
BB credit:
(1..27) [16]
Insistent Domain ID Mode (yes, y, no, n): [no]
Virtual
Channel parameters (yes, y, no, n): [no]
Zoning
Operation parameters (yes, y, no, n): [no]
RSCN
Transmission Mode (yes, y, no, n): [no]
Arbitrated
Loop parameters (yes, y, no, n): [no]
System services (yes, y,
no, n): [no]
Portlog events enable (yes, y, no, n): [no]
ssl attributes
(yes, y, no, n): [no]
http attributes (yes, y, no, n): [no]
snmp
attributes (yes, y, no, n): [no]
rpcd attributes (yes, y,
no, n): [no]
cfgload attributes (yes, y, no, n): [no]
webtools
attributes (yes, y, no, n): [no]
WARNING: The domain ID will be changed.
The port level zoning may be
affected
brocadessm:USERID>msPlMgmtDeactivate
Switch is in Offline state.
修改协同工作模式
brocadessm:USERID>interoper mode 1
The switch effective configuration will
be lost when the operating mode
is
changed; do you want to continue? (yes, y, no, n):
[no] y
Interopmode is enabled
Note: It is recommended that you reboot
this switch for the new change
to take
effect.
重新引导交换机
brocadessm:USERID>fastboot
Broadcast message from root (pts/0) Tue
Jun 13 10:07:45 2006... The
system is
going down for reboot NOW !! USERID
Password:
Please
change your passwords now.
Use
Control-C to exit or press 'Enter' key to proceed.
Password was not changed. Will prompt
again at next login
until password is
changed.
brocadessm:USERID>
激活交换机
brocadessm:
USERID>switchenable
察看修改配置之后的交换机状态
brocadessm:USERID>switchshow
switchName:
brocadessm
switchType:
22.0
switchState:
Online
switchMode:
Interop
switchRole:
Principal
switchDomain:
99
switchId:
fffc63
switchWwn:
10:00:00:05:1e:02:78:c6
zoning:
OFF
switchBeacon:
OFF
Area Port Media Speed State
==============================
0
0
id
2G
No_Light
1
1
cu
2G
Online
24:a9:04
2
2
cu
2G
Online
24:a9:36
3
3
cu
2G
Online
24:a9:7a
4
4
cu
2G
Online
24:a9:b6
5
5
cu
2G
Online
24:a9:28
6
6
cu
2G
Online
24:aa:f6
7
7
cu
2G
Online
24:aa:f0
8
8
cu
2G
Online
24:a9:38
9
9
cu
2G
No_Light
10
10
cu
2G
No_Light
11
11
cu
2G
No_Light
12
12
cu
2G
No_Light
13
13
cu
2G
No_Light
14
14
cu
2G
No_Light
15
15
id
2G
Online
06:b4:41 (downstream)
2.
划分
zone
Cisco
9120
划分
zone
F-Port
F-Port
F-Port
F-Port
F-Port
F-Port
F-Port
F-Port
E-Port
21:00:00:14:5e:
21:00:00:14:5e:
21:00:00:14:5e:
21:00:00:14:5e:
21:00:00:14:5e:
21:00:00:14:5e:
21:00:00:14:5e:
21:00:00:14:5e:
20:01:00:0d:ec:
察看
fabric
连接设备
port
wwn
信息
switch#
show fcns database vsan 1
VSAN 1:
--------------------
-------------------------------------------------<
/p>
-----
FCID
TYPE
PWWN
(VENDOR)
FC4-TYPE:FEATURE
----------------------
-----------------------------------------------
-----
0x630100
N
21:00:00:14:5e:24:a9:04
scsi-fcp
0x630200
N
21:00:00:14:5e:24:a9:36
scsi-fcp
0x630300
N
21:00:00:14:5e:24:a9:7a
scsi-fcp
0x630400
N
21:00:00:14:5e:24:a9:b6
scsi-fcp
0x630500
N
21:00:00:14:5e:24:a9:28
scsi-fcp
0x630600
N
21:00:00:14:5e:24:aa:f6
scsi-fcp
0x630700
N
21:00:00:14:5e:24:aa:f0
scsi-fcp
0x630800
N
21:00:00:14:5e:24:a9:38
scsi-fcp
0x640000
N
20:07:00:a0:b8:21:19:9f
(SymBios)
scsi-fcp:both
0x640100
N
20:06:00:a0:b8:21:19:9f
(SymBios)
scsi-fcp:both
Total number of entries = 10
创建
zone
分别创建
2
个
zone
,前
4
个刀片服务器与
DS4300
2
个控制器组成的
zone
,第
5
到第
8
个刀片服务器与
DS4300 2
个控制器组成的
zone
。
switch# config t Enter configuration
commands, one per line.
End with
CNTL/Z.
switch(config)# zone
name blade_hs20_1-4 vsan 1
switch(config-zone)# member pwwn
21:00:00:14:5e:24:a9:04
switch(config-
zone)# member pwwn 21:00:00:14:5e:24:a9:36
switch(config-zone)# member pwwn
21:00:00:14:5e:24:a9:7a
switch(config-
zone)# member pwwn 21:00:00:14:5e:24:a9:b6
switch(config-zone)# member pwwn
20:07:00:a0:b8:21:19:9f
switch(config-
zone)# member pwwn 20:06:00:a0:b8:21:19:9f
switch(config-zone)#exit
switch(config)# zone name
blade_hs20_5-8 vsan 1
switch(config-
zone)# member pwwn 21:00:00:14:5e:24:a9:28
switch(config-zone)# member pwwn
21:00:00:14:5e:24:aa:f6
switch(config-
zone)# member pwwn 21:00:00:14:5e:24:aa:f0
switch(config-zone)# member pwwn
21:00:00:14:5e:24:a9:38
switch(config-
zone)# member pwwn 20:07:00:a0:b8:21:19:9f
switch(config-zone)# member pwwn
20:06:00:a0:b8:21:19:9f
创建
zoneset
switch(config-zone)# zoneset name
ds4300_blade vsan 1
switch(config-
zoneset)# member Blade_Hs20_1-4
switch(config-zoneset)# member
Blade_Hs20_5-8
switch(config-zoneset)#
end
激活
zoneset
switch# config t Enter configuration commands, one
per
line.
End with CNTL/Z.
switch(config)#
zoneset
activate
name
ds4300_blade
vsan
1
Zoneset
activation initiated. check zone status
察看激活的
zone
信息
switch# show zone
active vsan 1
zone name
blade_hs20_1-4 vsan 1
* fcid 0x630100
[pwwn 21:00:00:14:5e:24:a9:04]
* fcid
0x630200 [pwwn 21:00:00:14:5e:24:a9:36]
* fcid 0x630300 [pwwn
21:00:00:14:5e:24:a9:7a]
* fcid
0x630400 [pwwn 21:00:00:14:5e:24:a9:b6]
* fcid 0x640000 [pwwn
20:07:00:a0:b8:21:19:9f]
* fcid
0x640100 [pwwn 20:06:00:a0:b8:21:19:9f]
zone name blade_hs20_5-8 vsan 1
* fcid 0x630500 [pwwn
21:00:00:14:5e:24:a9:28]
* fcid
0x630600 [pwwn 21:00:00:14:5e:24:aa:f6]
* fcid 0x630700 [pwwn
21:00:00:14:5e:24:aa:f0]
* fcid
0x630800 [pwwn 21:00:00:14:5e:24:a9:38]
* fcid 0x640000 [pwwn
20:07:00:a0:b8:21:19:9f]
* fcid
0x640100 [pwwn 20:06:00:a0:b8:21:19:9f]
保存系统配置信息
switch#
copy running startup
[#####
###################################] 100%
刀片中心光纤交换机模块查看
zon
e
信息
brocadessm:USERID>cfgshow
Defined configuration:
no configuration defined
Effective configuration:
cfg:
ds4300_blade
zone:
blade_hs20_1-4
21:00:00:14:5e:24:a9:04
21:00:00:14:5e:24:a9:36
21:00:00:14:5e:24:a9:7a
21:00:00:14:5e:24:a9:b6
20:07:00:a0:b8:21:19:9f
20:06:00:a0:b8:21:19:9f
zone:
blade_hs20_5-8
21:00:00:14:5e:24:a9:28
21:00:00:14:5e:24:aa:f6
21:00:00:14:5e:24:aa:f0
21:00:00:14:5e:24:a9:38
20:07:00:a0:b8:21:19:9f
20:06:00:a0:b8:21:19:9f
如上命令输出所示,
Cisco
9120
的
zone
信息已经同步到
刀片中心的交换机模
块。
系统配置完成。
< br>关于“
SAN
光纤交换机技术知识
之
Brocade
光纤交换机
zone
信息配置
(命令行配置)
”的文档,
请大家仔细阅读以
下资料。
2015
创建基于
port
的
zone
。
1
、为
port
2
创建别名
switch:admin> alicreate
“
4800_01_ctrl_a1
”
,
”
1,2
”
2
、为
port
11
创建别名
switch:admin> alicreate
“
p>
P550_03_LA_fcs0
”
,
p>
”
1,11
”
年
8
月
3
p>
号
3
、
创建基
于
port
的
zone
:
Zone
名称:
P550_03_LA_fcs0_4800_01_ctrl_a1
switch:admin> zonecreate
_03_LA_fcs0
4
、将新建的
zone
加到现有配置中:
switch:admin>cfgadd
“
DS4100B_B_CFG_080329
”
,
”
P550_03_LA_fcs0_4800
_01_ctrl_a1
”
5
、保存配置:
switch:admin>cfgsave
6
、使配置生效:
switch:admin>cfgenable
7
、查看配置:
switch:admin>zoneshow
如果在
Effective configuration
p>
中有了刚才配置的
zone
,则说明配置成
功。
FC06:admin> cfgshow
Defined
configuration:
cfg: CopyOfcyanway
vioc_ds4700; vios
cfg: cyanway vioc_ds4700; vios
zone: vioc_ds4700
ds4700; vioc
zone: vios ds4700;
vioc1
alias: ds4700
20:08:00:a0:b8:50:a0:bd; 20:09:00:a0:b8:50:a0:bd
alias: vioc
20:00:00:00:c9:75:82:ad; 20:00:00:00:c9:75:87:c6
alias: vioc1 c0:50:76:00:bc:60:00:06
Effective configuration:
cfg: cyanway
zone:
vioc_ds4700
20:08:00:a0:b8:50:a0:bd
20:09:00:a0:b8:50:a0:bd
20:00:00:00:c9:75:82:ad
20:00:00:00:c9:75:87:c6
zone: vios
20:08:00:a0:b8:50:a0:bd
20:09:00:a0:b8:50:a0:bd
c0:50:76:00:bc:60:00:06
-
-
-
-
-
-
-
-
-
上一篇:基于MATLAB的MIMO系统预编码性能仿真
下一篇:名词变形容词规律