拓扑描述:
1. Brocade 和CISCO FC交换机通过E模式级联。
2. HBA 与 Brocade交换机相连,CISCO 通过E模式nameserver 同步到HBA 信息。
CISCO配置:
-
- C5548-1(config)#interface fc2/1
- C5548-1(config-if)# no shutdown
-
- (1)配置交换机协同工作模式
- C5548-1# config t
-
- Enter configuration commands, one per line. End with CNTL/Z.
- C5548-1(config)# vsan database
-
- C5548-1(config-vsan-db)# vsan 1 interop 2
- C5548-1(config-vsan-db)# end
-
- (2)配置domain ID
- C5548-1# config t
-
- Enter configuration commands, one per line. End with CNTL/Z.
- C5548-1(config)# fcdomain domain 100 preferred vsan 1
-
- C5548-1(config)# end
- (3)激活VSAN
-
- C5548-1# config t
- Enter configuration commands, one per line. End with CNTL/Z.
-
- C5548-1(config)# vsan database
- C5548-1(config-vsan-db)# vsan 1 suspend
- C5548-1(config-vsan-db)# no vsan 1 suspend
- C5548-1(config-vsan-db)# end
BROCADE配置:
通过web登录brocade web管理界面,
进入zone 配置界面:
在zone 选项卡下 点击new zone 新建一个zone命名为zoneliujing
在member selection 下选择相应的端口加入之前配置的zone中,这里我按上面的拓扑把1/0和1/2加入zoneliujing中。
下一步是创建zone config,在一个SAN网络中一般需要有多个Zone同时存在,这一套同时存在的Zone被存放在一个Config中。为了解决在交换机上,在不同的时间有不同的Zone的配置的问题,在交换机上允许同时有多个Zone的Config存在方便Zone配置的切换。所有的Config配置中只有一个Config是生效的配置,被称作Active Config。其他的都是待选方案,只有在他们成为Active Config后,他们的Zone配置才会生效。
点击“zone config”选项卡,点击“new zone config”输入新建的zone config的名称“zoneliujingcfg”将建立的zone添加到zone config members中,然后先点击“save config”在点击“enable config”。
-
- 可以通过brocade cli命令查看zone配置的结果:
- brocade300:admin> zoneshow
-
- Defined configuration:
- cfg: zoneliujingcfg
-
- zoneliujing
- zone: zoneliujing
-
- 1,0; 1,2
-
- Effective configuration:
- cfg: zoneliujingcfg
-
- zone: zoneliujing
- 1,0
- 1,2
这样两台设备都配置完成,分别保存配置重启。
启机后正常协商的结果如下:
CISCO端查看:
-
- 查看cisco 通过E模式获取到的NS信息。
- C5548-1# sh fcns database detail vsan 1
-
- ------------------------
- VSAN:1 FCID:0x011300
-
- ------------------------
- port-wwn (vendor) :21:00:00:24:ff:29:68:3c
-
- node-wwn :20:00:00:24:ff:29:68:3c
- class :3
-
- node-ip-addr :0.0.0.0
- ipa :ff ff ff ff ff ff ff ff
-
- fc4-types:fc4_features :scsi-fcp:init
- symbolic-port-name :
-
- symbolic-node-name :QLE2562 FW:v5.03.15 DVR:v901.k1.1-14vmw
- port-type :N
-
- port-ip-addr :0.0.0.0
- fabric-port-wwn :20:02:00:05:33:49:b8:f8
-
- hard-addr :0x000000
- permanent-port-wwn (vendor) :00:00:00:00:00:00:00:00
-
- Connected Interface :Not Available
- Switch Name (IP address) :brocade300 (172.18.30.9)
-
- Total number of entries = 1
-
- 查看domain信息
-
- C5548-1# sh fcdomain vsan 1
- The local switch is a Subordinated Switch.
-
- Local switch run time information:
-
- State: Stable
- Local switch WWN: 20:01:00:05:73:b9:0c:c1
-
- Running fabric name: 10:00:00:05:33:49:b8:f8
- Running priority: 128
-
- Current domain ID: 0x64(100)
-
- Local switch configuration information:
- State: Enabled
-
- FCID persistence: Enabled
- Auto-reconfiguration: Disabled
-
- Contiguous-allocation: Disabled
- Configured fabric name: 20:01:00:05:30:00:28:df
-
- Optimize Mode: Disabled
- Configured priority: 128
-
- Configured domain ID: 0x64(100) (preferred)
-
- Principal switch run time information:
- Running priority: 2
-
- Interface Role RCF-reject
-
- ------------------ ------------- ------------
- fc2/1 Upstream Disabled
-
- ------------------ ------------- ------------
-
- 查看domain 列表信息
- C5548-1# sh fcdomain domain-list vsan 1
-
- Number of domains: 2
-
- Domain ID WWN
- --------- -----------------------
-
- 0x01(1) 10:00:00:05:33:49:b8:f8 [Principal]
- 0x64(100) 20:01:00:05:73:b9:0c:c1 [Local]
- C5548-1#
Brocade端查看的结果:
-
- 查看交换机角色状态
- brocade300:admin> switchshow
-
- switchName: brocade300
- switchType: 71.2
-
- switchState: Online
- switchMode: Native
-
- switchRole: Principal
- switchDomain: 1
-
- switchId: fffc01
- switchWwn: 10:00:00:05:33:49:b8:f8
-
- zoning: ON (zoneliujingcfg)
- switchBeacon: OFF
-
- Index Port Address Media Speed State Proto
-
- ==============================================
- 0 0 011700 id N8 Online FC E-Port 20:01:00:05:73:b9:0c:c1 "C5548-1" (downstream)
-
- 1 1 011500 -- N8 No_Module FC
- 2 2 011300 id N4 Online FC F-Port 21:00:00:24:ff:29:68:3c
-
- 3 3 011100 -- N8 No_Module FC
- 4 4 011600 -- N8 No_Module FC
-
- 5 5 011400 -- N8 No_Module FC
- 6 6 011200 -- N8 No_Module FC
-
- 7 7 011000 -- N8 No_Module FC
- 8 8 010f00 -- N8 No_Module FC (No POD License) Disabled
-
- 9 9 010d00 -- N8 No_Module FC (No POD License) Disabled
- 10 10 010b00 -- N8 No_Module FC (No POD License) Disabled
-
- 11 11 010900 -- N8 No_Module FC (No POD License) Disabled
- 12 12 010e00 -- N8 No_Module FC (No POD License) Disabled
-
- 13 13 010c00 -- N8 No_Module FC (No POD License) Disabled
- 14 14 010a00 -- N8 No_Module FC (No POD License) Disabled
-
- 15 15 010800 -- N8 No_Module FC (No POD License) Disabled
- 16 16 010700 -- N8 No_Module FC (No POD License) Disabled
-
- 17 17 010500 -- N8 No_Module FC (No POD License) Disabled
- 18 18 010300 -- N8 No_Module FC (No POD License) Disabled
-
- 19 19 010100 -- N8 No_Module FC (No POD License) Disabled
- 20 20 010600 -- N8 No_Module FC (No POD License) Disabled
-
- 21 21 010400 -- N8 No_Module FC (No POD License) Disabled
- 22 22 010200 -- N8 No_Module FC (No POD License) Disabled
-
- 23 23 010000 -- N8 No_Module FC (No POD License) Disabled
-
- brocade300:admin> nbrstateshow
-
- Local Domain ID: 1
-
- Local Port Domain Remote Port State
-
- -------------------------------------------------------
- 0 100 65792 NB_ST_FULL
-
- 查看fabric信息
-
- brocade300:admin> fabricshow
- Switch ID Worldwide Name Enet IP Addr FC IP Addr Name
-
- -------------------------------------------------------------------------
- 1: fffc01 10:00:00:05:33:49:b8:f8 172.18.30.9 0.0.0.0 >"brocade300"
-
- 100: fffc64 20:01:00:05:73:b9:0c:c1 172.18.30.20 0.0.0.0 "C5548-1"
-
- The Fabric has 2 switches
-
- 查看NS信息
-
- brocade300:admin> nsshow
- {
-
- Type Pid COS PortName NodeName TTL(sec)
- N 011300; 3;21:00:00:24:ff:29:68:3c;20:00:00:24:ff:29:68:3c; na
-
- FC4s: FCP
- NodeSymb: [39] "QLE2562 FW:v5.03.15 DVR:v901.k1.1-14vmw"
-
- Fabric Port Name: 20:02:00:05:33:49:b8:f8
- Permanent Port Name: 21:00:00:24:ff:29:68:3c
-
- Port Index: 2
- Share Area: No
-
- Device Shared in Other AD: No
- Redirect: No
- The Local Name Server has 1 entry }

DC Farm小程序二维码
扫一扫添加博客小程序
2013年1月8日 上午9:51 沙发
“…这里我按上面的拓扑把1/0和1/2加入zoneliujing中.”
拓扑图里哪来的1/2?
2013年1月10日 上午1:29 板凳
文才不错啊,哥们!加油!
2013年1月10日 下午5:34 地板
真诚谢!!
2013年1月12日 下午6:33 4楼
三无屌丝路过,博客不错呵
2013年1月13日 下午10:26 5楼
强中自有强中强!遭遇强者啦!好文才!
2013年1月14日 下午11:04 6楼
新年马上到了,提前祝新年快乐,博客越办越好!
2013年1月16日 上午8:42 7楼
沙发我做了喔!后排跟上
2013年2月3日 下午1:59 8楼
受教了。支持一下。
来自外部的引用: 1