Brocade和Cisco光纤交换机级联配置 Brocade和Cisco光纤交换机级联配置 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 fcdomain fcid persistent vsan 1 boot kickstart bootflash:/m9100-s1ek9-kickstart-mz.2.0.2b.bin boot system bootflash:/m9100-s1ek9-mz.2.0.2b.bin kernel core target 0.0.0.0 kernel core limit 1 snmp-server user admin network-admin auth md5 0xeec64ba2afbe9b65e13b23882ac6ae05 priv 0xeec64ba2afbe9b65e13b23882ac6ae05 localizedkey username admin password 5 $1$V3smTQpb$MTvub69DkVBxdCt9BsEDB1 role 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 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 -- notConnected swl -- -- fc1/9 1 FX -- sfpAbsent -- -- -- fc1/10 1 FX -- sfpAbsent -- -- -- fc1/11 1 FX -- sfpAbsent -- -- -- fc1/12 1 FX -- sfpAbsent -- -- -- fc1/13 1 FX -- sfpAbsent -- -- -- fc1/14 1 FX -- sfpAbsent -- -- -- fc1/15 1 FX -- sfpAbsent -- -- -- fc1/16 1 FX -- sfpAbsent -- -- -- fc1/18 1 FX -- sfpAbsent -- -- -- fc1/19 1 FX -- sfpAbsent -- -- -- fc1/20 1 FX -- sfpAbsent -- -- -- 刀片中心光纤交换机模块配置 禁止交换机 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] 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 F-Port 21:00:00:14:5e:24:a9:04 2 2 cu 2G Online F-Port 21:00:00:14:5e:24:a9:36 3 3 cu 2G Online F-Port 21:00:00:14:5e:24:a9:7a 4 4 cu 2G Online F-Port 21:00:00:14:5e:24:a9:b6 5 5 cu 2G Online F-Port 21:00:00:14:5e:24:a9:28 6 6 cu 2G Online F-Port 21:00:00:14:5e:24:aa:f6 7 7 cu 2G Online F-Port 21:00:00:14:5e:24:aa:f0 8 8 cu 2G Online F-Port 21:00:00:14:5e: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 E-Port 20:01:00:0d:ec:06:b4:41 (downstream) 2.划分zone Cisco 9120划分zone 察看fabric连接设备port wwn 信息 switch# show fcns database vsan 1 VSAN 1: -------------------------------------------------------------------------- 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,第4到第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% 刀片中心光纤交换机模块查看zone信息 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 信息已经同步到刀片中心的交换机模块。 系统配置完成。