已阅读5页,还剩14页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
9124光纤交换机配置管理使用手册9124光纤交换机配置管理使用手册1.初始化信息32.交换机基本配置42.1.配置交换机管理地址42.2.LICENSE注册42.3.配置VSAN62.4.配置ZONESET62.5.配置ZONE72.6.TRUNKING的配置73.标准配置模板84.常用检查命令95.常用配置命令95.1.删除创建的ZONE95.2.清除配置95.3.设置配置口超时105.4.安装与清除license105.5.显示指定License105.6.显示全部Licenses105.7.显示ID115.8.命名交换机115.9.设置管理口115.10.禁止与使能Telnet 与 ssh115.11.下载配置文件125.12.保存配置125.13.创建与设置VSAN125.14.分配VSAN成员125.15.删除VSAN135.16.浏览VSAN设置135.17.设置FC端口145.18.设置Zone155.19.设置Zone Sets155.20.激活Zone Set155.21.浏览Zone信息155.22.恢复管理员口令185.23.设置端口速率191. 初始化信息在启动交换机后,会有类似如下的信息显示: - System Admin Account Setup - Enter the password for admin: 输入admin管理员密码,系统设为Pssw0rd Confirm the password for admin: 再次输入admin管理员密码,Pssw0rd - Basic System Configuration Dialog -This setup utility will guide you through the basic configuration ofthe system. Setup configures only enough connectivity for managementof the system.Please register Cisco MDS 9000 Family devices promptly with yoursupplier. Failure to register may affect response times for initialservice calls. MDS devices must be registered to receive entitled support services.Press Enter at anytime to skip a dialog. Use ctrl-c at anytimeto skip the remaining dialogs.输入no,然后进入命令行配置模式;输入yes,然后进入配置向导模式。Would you like to enter the basic configuration dialog (yes/no): no输入正确的用户名和刚才设置的密码Pssw0rd,进入命令行模式 MDS Switchswitch login: adminPassword: Cisco Storage Area Networking Operating System (SAN-OS) SoftwareTAC support: /tacCopyright (c) 2002-2005, Cisco Systems, Inc. All rights reserved.The copyrights to certain works contained herein are owned byother third parties and are used and distributed under license.Some parts of this software are covered under the GNU PublicLicense. A copy of the license is available at/licenses/gpl.html.switch# 然后,可以按照类似以太网交换机配置的方法来配置交换机了。2. 交换机基本配置Config t 进入配置模式 2.1. 配置交换机管理地址修改交换机名为switch switch# config tEnter configuration commands, one per line. End with CNTL/Z.配置交换机的管理IP地址switch (config)# switchname switchswitch(config)# switch(config)# interface mgmt 0switch(config-if)# ip adress 08 switch(config-if)# no shutdown开启管理端口interface mgmt 0 表示的是交换机的管理端口。2.2. LICENSE注册1.查看主机Host-idMDS9214#show license host-id 2.申请License在/go/license/public 登录(需要在思科网站先行注册一个用户),使用Host-id和License Key申请获得许可证文件(一个扩展名为lic的文件),大概2小时后收到。(注意事项:必须使用以FOX开头的host-id,绝对不能使用以JAB开头的设备SN number进行申请,否则将导致注册失败而且License Key失效!)3.拷贝License到交换机获得CISCO许可证文件(文件扩展名为lic)后,复制许可证文件到交换机内的CF卡上(注意关闭电脑防火墙):MDS9214#copy tftp:/xxx.xxx.xxx.xxx/MDS20075233204134504.lic bootflash:4.安装License许可证文件MDS9124#install license bootflash:/MDS20070523204134504.lic5.查看许可证License使用情况GD-CTD# show port-license举例:interface mgmt0 ip address 0 GD-CTD# copy t2/MDS20110725204358947.lic bootflash: Trying to connect to tftp server.Connection to server Established. Copying Started.TFTP get operation was successfulGD-CTD# install license bootflash:/MDS20110725204358947.licGD-CTD# show port-license Available port activation licenses are 0- Interface Cookie Port Activation License - fc1/1 16777216 acquired fc1/2 16781312 acquired fc1/3 16785408 acquired fc1/4 16789504 acquired fc1/5 16793600 acquired fc1/6 16797696 acquired fc1/7 16801792 acquired fc1/8 16805888 acquired fc1/9 16809984 acquired fc1/10 16814080 acquired fc1/11 16818176 acquired fc1/12 16822272 acquired fc1/13 16826368 acquired fc1/14 16830464 acquired fc1/15 16834560 acquired fc1/16 16838656 acquired fc1/17 16842752 eligible fc1/18 16846848 eligible fc1/19 16850944 eligible fc1/20 16855040 eligible fc1/21 16859136 eligible fc1/22 16863232 eligible fc1/23 16867328 eligible fc1/24 16871424 eligible GD-CTD#2.3. 配置VSAN接下来配置VSANswitch#config t增加VSAN 100switch (config)#vsan databaseswitch(config-vsan-db)# vsan 100switch(config-vsan-db)#end在VSAB100中创建名为anhuipower的ZONE2.4. 配置ZONESETswitch#config tswitch (config)#zoneset name anhuipower vsan 100switch (config-zoneset)#member ZONE_NAME把ZONE填加到该ZONESET中注:在交换机处于正常运行时,如果配置了新的ZONE,并且填加到了ZONESET中,此时需要Acitvate才能生效,命令如下:switch#config tswitch (config)#zoneset activate name anhuipower vsan 100 2.5. 配置ZONE下面配置ZONE基本命令如下:switch#config t配置zone,并给zone命名,然后把指定端口加入到该zone中switch(config)#zone name zone_name vsan 100switch(config)#member interface fc#/#switch(config)#member interface fc#/#交换机端口都是以fc表示,fc1/1 表示第一个模块上的第一个端口。由于像cisco9506之类的交换机是模块化的,所以其每个端口就是fc模块号/端口号。像cisco9120,cisco9140,不是模块化的,但其接口默认是fc1/端口号。2.6. TRUNKING的配置默认情况下,交换机每个端口的TRUNKING协议都是启用的,交换机互连的端口应工作在E mode下,如果有两台交换机互相连接的情况,则要启用TRUNKING,以FC1/1和FC1/2为例。 配置命令如下:switch#config t指定端口为E工作模式switch(config)# interface fc1/1switch(config-if)# switchport mode eswitch(config)# interface fc1/2switch(config-if)# switchport mode e3. 标准配置模板配置主机名switchname MDS9124配置vsanvsan database vsan 100 vsan 100 interface fc1/1 - 8配置zonezone name server1 vsan 100 member interface fc1/1 - 8配置zonesetzoneset name server vsan 100 member server1激活zonesetzoneset activate name Yeslab-ZoneSet vsan 100启用端口interface fc1/1 no shutdowninterface fc1/2 no shutdown保存配置Copy run start4. 常用检查命令show run显示当前配置show zone显示当前配置的ZONE的信息show zoneset显示当前配置的ZONESET的信息show interface fc1/1显示端口fc1/1信息show zone activate显示当前活动的ZONE信息show zoneset activate显示当前活动的ZONESET信息show flogi database detail 查看交换机端口连接的HBA卡的WWN号copy run start保存当前配置5. 常用配置命令5.1. 删除创建的ZONEswitch(config)# zone name test vsan 1switch(config-zone)# exitswitch(config)# no zone name test vsan 1switch(config)#5.2. 清除配置Switchwrite erase5.3. 设置配置口超时switch(config)# line consoleswitch(config-console)# exec-timeout 60switch(config)# line vtyswitch(config-line)# exec-timeout 605.4. 安装与清除licenseswitch# install license bootflash:license-fileswitch# clear license license-fileswitch# clear license all5.5. 显示指定Licenseswitch# show license fcports.licfcports.lic:SERVER this_host ANYVENDOR ciscoFEATURE fcports cisco 1.000 permanent 30 HOSTID=VDH=4C0AF664 SIGN=24B2B68AA676 - fcport license5.6. 显示全部Licensesswitch# show license allfcports.lic:SERVER this_host ANYVENDOR ciscoFEATURE fcports cisco 1.000 permanent 30 HOSTID=VDH=4C0AF664 SIGN=24B2B68AA676 -fcport licenseficon.lic:FEATURE ficon cisco 1.000 permanent uncounted HOSTID=VDH=4C0AF664 SIGN=CB7872B23700 -ficon license5.7. 显示IDswitch# show license hostidLicense hostid:VDH=4C0AF6645.8. 命名交换机switch# config t switch(config)# switchname myswitch1myswitch1(config)#myswitch1(config)# no switchnameswitch(config)#5.9. 设置管理口switch# config terminalswitch(config)# interface mgmt 0switch(config)# ip address switch(config-if)# no shutdown switch(config-if)# exitswitch(config)# ip default-gateway 5.10. 禁止与使能Telnet 与 sshswitch# config t switch(config)# no telnet server enableswitch(config)# telnet server enableswitch# config t switch(config)# ssh server enableswitch(config)# no ssh server enable5.11. 下载配置文件switch# copy :/ system:running-configswitch# copy t/237.img bootflash: 237.img5.12. 保存配置switch# copy running-config startup-config5.13. 创建与设置VSANswitch# config t.switch(config)# vsan databaseswitch(config-vsan-db)#switch(config-vsan-db)# vsan 2switch(config-vsan-db)#switch(config-vsan-db)# vsan 2 name TechDoc5.14. 分配VSAN成员switch# config t switch(config)# vsan databaseswitch(config-vsan-db)#switch(config-vsan-db)# vsan 2switch(config-vsan-db)#switch(config-vsan-db)# vsan 2 interface fc1/8switch(config-vsan-db)#switch(config-vsan-db)# vsan 7switch(config-vsan-db)#switch(config-vsan-db)# vsan 7 interface fc1/85.15. 删除VSANswitch# config t switch(config)# vsan databaseswitch(config-db)#switch-config-db# vsan 2switch(config-vsan-db)#switch(config-vsan-db)# no vsan 5switch(config-vsan-db)#switch(config-vsan-db)# endswitch#5.16. 浏览VSAN设置switch# show vsan 100vsan 100 informationname:VSAN0100 state:activein-order guarantee:no interoperability mode:noloadbalancing:src-id/dst-id/oxidswitch# show vsan usage4 vsan configuredconfigured vsans:1-4vsans available for configuration:5-4093switch# show vsanvsan 1 informationname:VSAN0001 state:activein-order guarantee:no interoperability mode:noloadbalancing:src-id/dst-id/oxidvsan 2 informationname:VSAN0002 state:activein-order guarantee:no interoperability mode:noloadbalancing:src-id/dst-id/oxidvsan 7 informationname:VSAN0007 state:activein-order guarantee:no interoperability mode:noloadbalancing:src-id/dst-id/oxidvsan 100 informationname:VSAN0100 state:activein-order guarantee:no interoperability mode:noloadbalancing:src-id/dst-id/oxidswitch # show vsan 1 membershipvsan 1 interfaces:fc2/16 fc2/15 fc2/14 fc2/13 fc2/12 fc2/11 fc2/10 fc2/9fc2/8 fc2/7 fc2/6 fc2/5 fc2/4 fc2/3 fc2/2 fc2/1fc1/16 fc1/15 fc1/14 fc1/13 fc1/12 fc1/11 fc1/10 fc1/9fc1/7 fc1/6 fc1/5 fc1/4 fc1/3 fc1/2 fc1/1vsan 2 interfaces:vsan 7 interfaces:fc1/8vsan 100 interfaces:vsan 4094(isolated vsan) interfaces:5.17. 设置FC端口switch# config t switch(config)# interface fc1/1switch# config t switch(config)# interface fc1/1 - 4 , fc2/1 3switch(config-if)# no shutdown switch(config-if)# shutdown5.18. 设置Zoneswitch# config t switch(config)# zone name Zone1 vsan 3switch(config-zone)#switch(config-zone)# member interface fc 2/1 5.19. 设置Zone Sets(Either zone set A or zone set B can be activated (but not together).)switch# config tswitch(config)# zoneset name Zoneset1 vsan 3switch-config-zoneset#switch-config-zoneset# member Zone1switch-config-zoneset#5.20. 激活Zone Set switch# config tswitch(config)#switch(config)# zoneset activate name Zoneset1 vsan 3switch(config)# no zoneset activate name Zoneset1 vsan 3ATTETION: If one zone set is active and you activate another zone set, the currently active zone set is automatically deactivated. You dont need to explicitly deactivate the currently active zone set before activating a new zone set.5.21. 浏览Zone信息Displays Zone Information for All VSANsswitch# show zonezone name Zone3 vsan 1pwwn 21:00:00:20:37:6f:db:ddpwwn 21:00:00:20:37:9c:48:e5zone name Zone2 vsan 2fwwn 20:41:00:05:30:00:2a:1efwwn 20:42:00:05:30:00:2a:1efwwn 20:43:00:05:30:00:2a:1ezone name Zone1 vsan 1pwwn 21:00:00:20:37:6f:db:ddpwwn 21:00:00:20:37:a6:be:2fpwwn 21:00:00:20:37:9c:48:e5Displays Zone Information for a Specific VSAN.switch# show zone vsan 1zone name Zone3 vsan 1pwwn 21:00:00:20:37:6f:db:ddpwwn 21:00:00:20:37:9c:48:e5zone name Zone2 vsan 1fwwn 20:4f:00:05:30:00:2a:1efwwn 20:50:00:05:30:00:2a:1efwwn 20:51:00:05:30:00:2a:1efwwn 20:52:00:05:30:00:2a:1efwwn 20:53:00:05:30:00:2a:1ezone name Zone1 vsan 1pwwn 21:00:00:20:37:6f:db:ddpwwn 21:00:00:20:37:a6:be:2fpwwn 21:00:00:20:37:9c:48:e5Display Configured Zone Set Information:switch# show zoneset vsan 1zoneset name ZoneSet2 vsan 1zone name Zone2 vsan 1fwwn 20:4e:00:05:30:00:2a:1efwwn 20:4f:00:05:30:00:2a:1efwwn 20:50:00:05:30:00:2a:1efwwn 20:51:00:05:30:00:2a:1efwwn 20:52:00:05:30:00:2a:1ezone name Zone1 vsan 1pwwn 21:00:00:20:37:6f:db:ddpwwn 21:00:00:20:37:a6:be:2fpwwn 21:00:00:20:37:9c:48:e5fcalias Alias1zoneset name ZoneSet1 vsan 1zone name Zone1 vsan 1pwwn 21:00:00:20:37:6f:db:ddpwwn 21:00:00:20:37:a6:be:2fpwwn 21:00:00:20:37:9c:48:e5fcalias Alias1Display Configured Zone Set Information for a Range of VSANs:switch# show zoneset vsan 2-3zoneset name ZoneSet2 vsan 2zone name Zone2 vsan 2fwwn 20:52:00:05:30:00:2a:1efwwn 20:53:00:05:30:00:2a:1efwwn 20:54:00:05:30:00:2a:1efwwn 20:55:00:05:30:00:2a:1efwwn 20:56:00:05:30:00:2a:1ezone name Zone1 vsan 2pwwn 21:00:00:20:37:6f:db:ddpwwn 21:00:00:20:37:a6:be:2fpwwn 21:00:00:20:37:9c:48:e5fcalias Alias1zoneset name ZoneSet3 vsan 3zone name
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 胆囊错构瘤的护理
- 雨课堂学堂在线学堂云《博物馆学概论(天水师院 )》单元测试考核答案
- 2024年百特中秋国庆双节主题营销传播方案
- 2026年(通讯维修工)理论知识考试题库及答案(真题汇编)
- 宜宾市高县2025年面向社会公开招聘社区综合岗(8人)备考题库附答案解析
- 中国通信服务湖南公司2026秋季校园招聘历年真题汇编带答案解析
- 2026年陕西省选调生招录(面向西安电子科技大学)笔试模拟试卷附答案解析
- 四川省盐业集团宜宾有限公司2025年度营销人员招聘历年真题汇编附答案解析
- 2026年陕西省选调生招录(面向中国政法大学)笔试备考试卷附答案解析
- 2026民航中南空管局应届毕业生招聘57人备考题库附答案
- 前庭大腺囊肿课件
- 四川美术学院2025年设计考研《64中外设计史》真题与试题解析及答案
- 【2025年】人防工程测试题及答案
- 雨课堂学堂云在线《医患沟通与调适(广州医大 )》单元测试考核答案
- GB/T 5095.2-1997电子设备用机电元件基本试验规程及测量方法第2部分:一般检查、电连续性和接触电阻测试、绝缘试验和电压应力试验
- 医疗卫生事业单位结构化面试题打印
- GB/T 12467.1-2009金属材料熔焊质量要求第1部分:质量要求相应等级的选择准则
- 2023年版毛概知识点归纳
- klar乐莱原材料成份与功效 图文课件
- 纳米材料合成方法-很全教材课件
- 唾液腺疾病影像学课件
评论
0/150
提交评论