光纤交换级联配置.docx
- 文档编号:6698630
- 上传时间:2023-01-09
- 格式:DOCX
- 页数:7
- 大小:17.20KB
光纤交换级联配置.docx
《光纤交换级联配置.docx》由会员分享,可在线阅读,更多相关《光纤交换级联配置.docx(7页珍藏版)》请在冰豆网上搜索。
光纤交换级联配置
1.配置异构交换机平台协同工作模式
Cisco9120配置过程
激活前8个端口
switch#configt
Enterconfigurationcommands,oneperline. EndwithCNTL/Z.
switch(config)#interfacefc1/1-8
switch(config-if)#noshutdown
switch(config-if)#end
配置交换机协同工作模式
switch#configt
Enterconfigurationcommands,oneperline. EndwithCNTL/Z.
switch(config)#vsandatabase
switch(config-vsan-db)#vsan1interop
switch(config-vsan-db)#end
配置domainID
switch#configt
Enterconfigurationcommands,oneperline. EndwithCNTL/Z.
switch(config)#fcdomaindomain100preferredvsan1
switch(config)#end
激活VSAN
switch#configt
Enterconfigurationcommands,oneperline. EndwithCNTL/Z.
switch(config)#vsandatabase
switch(config-vsan-db)#vsan1suspend
switch(config-vsan-db)#novsan1suspend
switch(config-vsan-db)#end
察看修改之后的系统配置信息
switch#showrunning
version2.0(2b)
vsandatabase
vsan1interop1
fcdomaindomain100preferredvsan1
fcdomainfcidpersistentvsan1
bootkickstartbootflash:
/m9100-s1ek9-kickstart-mz.2.0.2b.bin
bootsystembootflash:
/m9100-s1ek9-mz.2.0.2b.bin
kernelcoretarget0.0.0.0
kernelcorelimit1
snmp-serveruseradminnetwork-adminauthmd50xeec64ba2afbe9b65e13b23882ac6ae05
priv0xeec64ba2afbe9b65e13b23882ac6ae05localizedkey
usernameadminpassword5$1$V3smTQpb$MTvub69DkVBxdCt9BsEDB1 rolenetwork-admin
callhome
switch-priority7
snmp-serverenabletrapslicense
interfacemgmt0
ipaddress192.168.70.139255.255.255.0
interfacefc1/1
noshutdown
interfacefc1/2
noshutdown
interfacefc1/3
noshutdown
interfacefc1/4
noshutdown
interfacefc1/5
noshutdown
interfacefc1/6
noshutdown
interfacefc1/7
noshutdown
interfacefc1/8
noshutdown
interfacefc1/9
interfacefc1/10
interfacefc1/11
interfacefc1/12
interfacefc1/13
interfacefc1/14
interfacefc1/15
interfacefc1/16
interfacefc1/17
interfacefc1/18
interfacefc1/19
interfacefc1/20
switch#
察看端口连接状态信息
switch#showinterfacebrief
-------------------------------------------------------------------------------
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
修改DomainID
brocadessm:
USERID>configure
Configure...
Fabricparameters(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]
Datafieldsize:
(256..2112)[2112]
SequenceLevelSwitching:
(0..1)[0]
DisableDeviceProbing:
(0..1)[0]
SuppressClassFTraffic:
(0..1)[0]
SwitchPIDFormat:
(1..2)[1]
Per-frameRoutePriority:
(0..1)[0]
LongDistanceFabric:
(0..1)[0]
BBcredit:
(1..27)[16]
InsistentDomainIDMode(yes,y,no,n):
[no]
VirtualChannelparameters(yes,y,no,n):
[no]
ZoningOperationparameters(yes,y,no,n):
[no]
RSCNTransmissionMode(yes,y,no,n):
[no]
ArbitratedLoopparameters(yes,y,no,n):
[no]
Systemservices(yes,y,no,n):
[no]
Portlogeventsenable(yes,y,no,n):
[no]
sslattributes(yes,y,no,n):
[no]
httpattributes(yes,y,no,n):
[no]
snmpattributes(yes,y,no,n):
[no]
rpcdattributes(yes,y,no,n):
[no]
cfgloadattributes(yes,y,no,n):
[no]
webtoolsattributes(yes,y,no,n):
[no]
WARNING:
ThedomainIDwillbechanged.Theportlevelzoningmaybeaffected
brocadessm:
USERID>msPlMgmtDeactivate
SwitchisinOfflinestate.
修改协同工作模式
brocadessm:
USERID>interopermode1
Theswitcheffectiveconfigurationwillbelostwhentheoperatingmodeischanged;doyouwanttocontinue?
(yes,y,no,n):
[no]y
Interopmodeisenabled
Note:
Itisrecommendedthatyourebootthisswitchforthenewchangetotakeeffect.
重新引导交换机
brocadessm:
USERID>fastboot
Broadcastmessagefromroot(pts/0)TueJun1310:
07:
452006...ThesystemisgoingdownforrebootNOW!
!
USERID
Password:
Pleasechangeyourpasswordsnow.
UseControl-Ctoexitorpress'Enter'keytoproceed.
Passwordwasnotchanged.Willpromptagainatnextlogin
untilpasswordischanged.
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
AreaPortMediaSpeedState
==============================
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
Cisco9120划分zone
察看fabric连接设备portwwn信息
switch#showfcnsdatabasevsan1
VSAN1:
--------------------------------------------------------------------------
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
Totalnumberofentries=10
创建zone(在cisco上基于WWN号创建)
分别创建2个zone,前4个刀片服务器与DS43002个控制器组成的zone,第4到第8个刀片服务器与DS43002个控制器组成的zone。
switch#configt
Enterconfigurationcommands,oneperline. EndwithCNTL/Z.
switch(config)#zonenameblade_hs20_1-4vsan1
switch(config-zone)#memberpwwn21:
00:
00:
14:
5e:
24:
a9:
04
switch(config-zone)#memberpwwn21:
00:
00:
14:
5e:
24:
a9:
36
switch(config-zone)#memberpwwn21:
00:
00:
14:
5e:
24:
a9:
7a
switch(config-zone)#memberpwwn21:
00:
00:
14:
5e:
24:
a9:
b6
switch(config-zone)#memberpwwn20:
07:
00:
a0:
b8:
21:
19:
9f
switch(config-zone)#memberpwwn20:
06:
00:
a0:
b8:
21:
19:
9f
switch(config-zone)#exit
switch(config)#zonenameblade_hs20_5-8vsan1
switch(config-zone)#memberpwwn21:
00:
00:
14:
5e:
24:
a9:
28
switch(config-zone)#memberpwwn21:
00:
00:
14:
5e:
24:
aa:
f6
switch(config-zone)#memberpwwn21:
00:
00:
14:
5e:
24:
aa:
f0
switch(config-zone)#memberpwwn21:
00:
00:
14:
5e:
24:
a9:
38
switch(config-zone)#memberpwwn20:
07:
00:
a0:
b8:
21:
19:
9f
switch(config-zone)#memberpwwn20:
06:
00:
a0:
b8:
21:
19:
9f
创建zoneset
switch(config-zone)#zonesetnameds4300_bladevsan1
switch(config-zoneset)#memberBlade_Hs20_1-4
switch(config-zoneset)#memberBlade_Hs20_5-8
switch(config-zoneset)#end
激活zonesetswitch#configt
Enterconfigurationcommands,oneperline. EndwithCNTL/Z.
switch(config)#zonesetactivatenameds4300_bladevsan1Zonesetactivationinitiated.checkzonestatus
察看激活的zone信息
switch#showzoneactivevsan1
zonenameblade_hs20_1-4vsan1
*fcid0x630100[pwwn21:
00:
00:
14:
5e:
24:
a9:
04]
*fcid0x630200[pwwn21:
00:
00:
14:
5e:
24:
a9:
36]
*fcid0x630300[pwwn21:
00:
00:
14:
5e:
24:
a9:
7a]
*fcid0x630400[pwwn21:
00:
00:
14:
5e:
24:
a9:
b6]
*fcid0x640000[pwwn20:
07:
00:
a0:
b8:
21:
19:
9f]
*fcid0x640100[pwwn20:
06:
00:
a0:
b8:
21:
19:
9f]
zonenameblade_hs20_5-8vsan1
*fcid0x630500[pwwn21:
00:
00:
14:
5e:
24:
a9:
28]
*fcid0x630600[pwwn21:
00:
00:
14:
5e:
24:
aa:
f6]
*fcid0x630700[pwwn21:
00:
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 光纤 交换 级联 配置
![提示](https://static.bdocx.com/images/bang_tan.gif)