版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、命令行方式CISCO 的交换机和普通的博科或者QLOGIC的交换机差别很大。普通的交换机直接进入默认IP地址,通过图形化界面直接配置就OK了。CISCO的交换机没有图形界面,因此解决需要如下配置步骤:1、察看每个端口状态:switch2# show interface fc1/1fc1/1 is up Hardware is Fibre Channel, SFP is short wave laser w/o OFC (SN) Port WWN is 20:01:00:0d:ec:be:0d:40 Admin port mode is auto, trunk mode is on snmp l
2、ink state traps are enabled Port mode is F, FCID is 0xd40300 Port vsan is 1 Speed is 4 Gbps Rate mode is dedicated Transmit B2B Credit is 8 Receive B2B Credit is 16 Receive data field Size is 2112 Beacon is turned off 5 minutes input rate 0 bits/sec, 0 bytes/sec, 0 frames/sec 5 minutes output rate 0
3、 bits/sec, 0 bytes/sec, 0 frames/sec 378 frames input, 17228 bytes 0 discards, 0 errors 0 CRC, 0 unknown class 0 too long, 0 too short 56 frames output, 3536 bytes 0 discards, 0 errors 3 input OLS, 3 LRR, 0 NOS, 13 loop initsswitch2# show interface fc1/2fc1/2 is up Hardware is Fibre Channel, SFP is
4、short wave laser w/o OFC (SN) Port WWN is 20:02:00:0d:ec:be:0d:40 Admin port mode is auto, trunk mode is on snmp link state traps are enabled Port mode is F, FCID is 0xd40500 Port vsan is 1 Speed is 4 Gbps Rate mode is dedicated Transmit B2B Credit is 3 Receive B2B Credit is 16 Receive data field Si
5、ze is 2112 Beacon is turned off 5 minutes input rate 0 bits/sec, 0 bytes/sec, 0 frames/sec 5 minutes output rate 0 bits/sec, 0 bytes/sec, 0 frames/sec 11839 frames input, 476672 bytes 0 discards, 0 errors 0 CRC, 0 unknown class 0 too long, 0 too short 161 frames output, 8952 bytes 0 discards, 0 erro
6、rs 1 input OLS, 1 LRR, 0 NOS, 33 loop initsswitch2# show interface fc1/3fc1/3 is down (Link failure: Link Reset) Hardware is Fibre Channel, SFP is short wave laser w/o OFC (SN) Port WWN is 20:03:00:0d:ec:be:0d:40 Admin port mode is auto, trunk mode is on snmp link state traps are enabled Port vsan i
7、s 1 Receive data field Size is 2112 Beacon is turned off 5 minutes input rate 0 bits/sec, 0 bytes/sec, 0 frames/sec 5 minutes output rate 0 bits/sec, 0 bytes/sec, 0 frames/sec 966 frames input, 39704 bytes 0 discards, 0 errors 0 CRC, 0 unknown class 0 too long, 0 too short 89 frames output, 4424 byt
8、es 0 discards, 0 errors 1 input OLS, 1 LRR, 0 NOS, 32 loop inits 3 output OLS, 1 LRR, 5 NOS, 3 loop initsInterface last changed at Sat Aug 8 19:16:01 2009switch2# show interface fc1/7fc1/7 is up Hardware is Fibre Channel, SFP is short wave laser w/o OFC (SN) Port WWN is 20:07:00:0d:ec:be:0d:40 Admin
9、 port mode is auto, trunk mode is on snmp link state traps are enabled Port mode is F, FCID is 0xd40000 Port vsan is 1 Speed is 4 Gbps Rate mode is dedicated Transmit B2B Credit is 8 Receive B2B Credit is 16 Receive data field Size is 2112 Beacon is turned off 5 minutes input rate 0 bits/sec, 0 byte
10、s/sec, 0 frames/sec 5 minutes output rate 0 bits/sec, 0 bytes/sec, 0 frames/sec 296 frames input, 13284 bytes 0 discards, 0 errors 0 CRC, 0 unknown class 0 too long, 0 too short 301 frames output, 12820 bytes 0 discards, 0 errors 3 input OLS, 2 LRR, 1 NOS, 155 loop initsswitch2# show interface fc1/8
11、fc1/8 is up Hardware is Fibre Channel, SFP is short wave laser w/o OFC (SN) Port WWN is 20:08:00:0d:ec:be:0d:40 Admin port mode is auto, trunk mode is on snmp link state traps are enabled Port mode is F, FCID is 0xd40200 Port vsan is 1 Speed is 2 Gbps Rate mode is dedicated Transmit B2B Credit is 3
12、Receive B2B Credit is 16 Receive data field Size is 2112 Beacon is turned off 5 minutes input rate 0 bits/sec, 0 bytes/sec, 0 frames/sec 5 minutes output rate 0 bits/sec, 0 bytes/sec, 0 frames/sec 1265 frames input, 54276 bytes 0 discards, 0 errors 0 CRC, 0 unknown class 0 too long, 0 too short 309
13、frames output, 15104 bytes 0 discards, 0 errors 6 input OLS, 4 LRR, 0 NOS, 92 loop inits1、配置VSANVSAN的作用是隔离每一个交换机端口:switch2# conf tEnter configuration commands, one per line. End with CNTL/Z.switch2(config)# vsan databaseswitch2(config-vsan-db)# vsan 4000 name sw2switch2(config-vsan-db)# vsan 4000 in
14、terface fc1/1Traffic on fc1/1 may be impacted. Do you want to continue? (y/n) yswitch2(config-vsan-db)# vsan 4000 interface fc1/2Traffic on fc1/2 may be impacted. Do you want to continue? (y/n) yswitch2(config-vsan-db)# vsan 4000 interface fc1/7Traffic on fc1/7 may be impacted. Do you want to contin
15、ue? (y/n) yswitch2(config-vsan-db)# vsan 4000 interface fc1/8Traffic on fc1/8 may be impacted. Do you want to continue? (y/n) yswitch2(config-vsan-db)# endswitch2# show vsan 4000 membershipvsan 4000 interfaces:fc1/1 fc1/2 fc1/7 fc1/82、创建ZONE并且添加ZONE成员。witch2# conf tEnter configuration commands, one
16、per line. End with CNTL/Z.switch2(config)# zone name db2_3652_1 vsan 4000switch2(config-zone)# member interface fc1/1switch2(config-zone)# member interface fc1/2switch2(config-zone)# zoneset name db2_3652 vsan 4000switch2(config-zone)# member interface fc1/7switch2(config-zone)# member interface fc1
17、/84、配置ZONESET包含2个ZONEswitch2(config-zone)# zoneset name db2_3652 vsan 4000switch2(config-zoneset)# member db2_3652_1switch2(config-zoneset)# member db2_3652_25、察看ZONE成员switch2# show zonezone name db2_3652_1 vsan 4000 interface fc1/1 swwn 20:00:00:0d:ec:be:0d:40 interface fc1/2 swwn 20:00:00:0d:ec:be
18、:0d:40zone name db2_3652_2 vsan 4000 interface fc1/7 swwn 20:00:00:0d:ec:be:0d:40 interface fc1/8 swwn 20:00:00:0d:ec:be:0d:406、察看ZONESET成员switch2# show zonesetzoneset name db2_3652 vsan 4000 zone name db2_3652_1 vsan 4000 interface fc1/1 swwn 20:00:00:0d:ec:be:0d:40 interface fc1/2 swwn 20:00:00:0d
19、:ec:be:0d:40 zone name db2_3652_2 vsan 4000 interface fc1/7 swwn 20:00:00:0d:ec:be:0d:40interface fc1/8 swwn 20:00:00:0d:ec:be:0d:407、激活ZONESETswitch2# conf tEnter configuration commands, one per line. End with CNTL/Z.switch2(config)# zoneset activate name db2_3652 vsan 4000Zoneset activation initia
20、ted. check zone status8、察看激活ZONE的switch2# show zone activezone name db2_3652_1 vsan 4000* fcid 0x810000 interface fc1/1 swwn 20:00:00:0d:ec:be:0d:40* fcid 0x810100 interface fc1/2 swwn 20:00:00:0d:ec:be:0d:40zone name db2_3652_2 vsan 4000* fcid 0x810200 interface fc1/7 swwn 20:00:00:0d:ec:be:0d:40*
21、fcid 0x810300 interface fc1/8 swwn 20:00:00:0d:ec:be:0d:40第一个节点配置:switch1# show vsan 4000 membershipvsan 4000 interfaces: fc1/1 fc1/2 fc1/3 fc1/7 fc1/8 switch1# show zonezone name db2_3651_1 vsan 4000 interface fc1/1 swwn 20:00:00:0d:ec:be:05:00 interface fc1/2 swwn 20:00:00:0d:ec:be:05:00zone name db2_3651_2 vsan 4000 interface fc1/7 swwn 20:00:00:0d:ec:be:05:00 interface fc1/8 swwn 20:00:00:0d:ec:be:05:00switch1# show
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2024年佳木斯辅警招聘考试真题及一套完整答案详解
- 2023年莱芜辅警招聘考试题库附答案详解(能力提升)
- 2024年中山辅警招聘考试真题及一套完整答案详解
- 2024年兰州辅警协警招聘考试真题含答案详解(巩固)
- 湖北省黄冈市浠水实验高中2026届高二上物理期末考试模拟试题含解析
- 新乡职业技术学院《自动化测试设计》2024-2025学年第一学期期末试卷
- 2024年兰州辅警协警招聘考试真题附答案详解(培优a卷)
- 2025年成都龙泉中学高二数学第一学期期末监测模拟试题含解析
- 西藏大学《古典园林设计》2024-2025学年第一学期期末试卷
- 2025-2026学年宁夏长庆高级中学生物高二上期末质量检测试题含解析
- 屋顶光伏发电项目EPC工程总承包施工进度计划横道图
- 资源与环境约束下山东省海洋经济可持续发展对策研究的综述报告
- 基层网格员消防培训课件
- 圆的周长学习单
- qdslrdashboard应用软件使用说明
- 《Windows 网络操作系统》-教学教案
- GB/T 28733-2012固体生物质燃料全水分测定方法
- GA 1517-2018金银珠宝营业场所安全防范要求
- 英语形容词和副词课件
- 人教版小学五年级语文上册期中试卷及答案
- 工程结构荷载和可靠度设计原理课件
评论
0/150
提交评论