MDS-9506思科光纤交换机配置管理使用手册.doc_第1页
MDS-9506思科光纤交换机配置管理使用手册.doc_第2页
MDS-9506思科光纤交换机配置管理使用手册.doc_第3页
MDS-9506思科光纤交换机配置管理使用手册.doc_第4页
MDS-9506思科光纤交换机配置管理使用手册.doc_第5页
已阅读5页,还剩14页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

9506光纤交换机配置管理使用手册9506光纤交换机配置管理使用手册1.初始化信息32.交换机基本配置42.1.配置交换机管理地址42.2.配置VSAN42.3.配置ZONESET42.4.配置ZONE52.5.TRUNKING的配置53.常用检查命令54.常用配置命令64.1.删除创建的ZONE64.2.清除配置64.3.设置配置口超时64.4.安装与清除license64.5.显示指定License64.6.显示全部Licenses74.7.显示ID74.8.命名交换机74.9.设置管理口74.10.禁止与使能Telnet 与 ssh84.11.下载配置文件84.12.保存配置84.13.创建与设置VSAN84.14.分配VSAN成员94.15.删除VSAN94.16.浏览VSAN设置94.17.设置FC端口114.18.设置Zone114.19.设置Zone Sets114.20.激活Zone Set124.21.浏览Zone信息124.22.恢复管理员口令154.23.设置端口速率151. 初始化信息在启动交换机后,会有类似如下的信息显示: - 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 15 switch(config-if)# no shutdown开启管理端口interface mgmt 0 表示的是交换机的管理端口。2.2. 配置VSAN接下来配置VSANswitch#config t增加VSAN 100switch (config)#vsan databaseswitch(config-vsan-db)# vsan 2增加VSAN 2端口switch(config-vsan-db)#end#vsan 2 interface fc1/1-16 2.3. 激活端口激活后,端口会发光#conf t #int fc1/1-16#int fc2/1-16#no shut #exit在VSAB2中创建名为zbzoneset的ZONE2.4. 配置ZONESETswitch#config tswitch (config)#zoneset name zbzoneset vsan 2switch (config-zoneset)#member ZONE_NAME把ZONE填加到该ZONESET中注:在交换机处于正常运行时,如果配置了新的ZONE,并且填加到了ZONESET中,此时需要Acitvate才能生效,命令如下:switch#config tswitch (config)#zoneset activate name zbzoneset vsan 2 2.5. 设置别名通过命令查看设备的pwwn:switch(config)# show fcs database FCS Local Database in VSAN: 1-Switch WWN : 20:01:54:7f:ee:cb:ee:81Switch Domain Id : 0x5e(94)Switch Mgmt-Addresses : snmp:/15/eth-ip 15/eth-ipFabric-Name : 20:01:54:7f:ee:cb:ee:81Switch Logical-Name : switchSwitch Information List : Cisco Systems, Inc.*DS-C9506*5.0(1a)*20:00:54:7f:ee:cb:ee:80Switch Ports:-Interface fWWN Type Attached-pWWNs (Device-alias)-fc1/13 20:0d:54:7f:ee:cb:ee:80 Unknown Nonefc1/14 20:0e:54:7f:ee:cb:ee:80 Unknown Nonefc1/15 20:0f:54:7f:ee:cb:ee:80 Unknown Nonefc1/16 20:10:54:7f:ee:cb:ee:80 Unknown None*Switch Ports:-Interface fWWN Type Attached-pWWNs (Device-alias)-fc1/1 20:01:54:7f:ee:cb:ee:80 Unknown Nonefc1/2 20:02:54:7f:ee:cb:ee:80 Unknown Nonefc1/3 20:03:54:7f:ee:cb:ee:80 Unknown Nonefc1/4 20:04:54:7f:ee:cb:ee:80 F 50:06:01:60:47:20:77:21 (vnx5700_db_spa_port0)fc1/5 20:05:54:7f:ee:cb:ee:80 F 50:06:01:62:47:20:77:21 (vnx5700_db_spa_port2)fc1/6 20:06:54:7f:ee:cb:ee:80 F 50:06:01:68:47:20:77:21 (vnx5700_db_spb_port0)fc1/7 20:07:54:7f:ee:cb:ee:80 F 50:06:01:6a:47:20:77:21 (vnx5700_db_spb_port2)fc1/8 20:08:54:7f:ee:cb:ee:80 Unknown Nonefc1/9 20:09:54:7f:ee:cb:ee:80 Unknown Nonefc1/10 20:0a:54:7f:ee:cb:ee:80 Unknown Nonefc1/11 20:0b:54:7f:ee:cb:ee:80 Unknown Nonefc1/12 20:0c:54:7f:ee:cb:ee:80 Unknown Nonefc2/1 20:41:54:7f:ee:cb:ee:80 Unknown Nonefc2/2 20:42:54:7f:ee:cb:ee:80 Unknown Nonefc2/3 20:43:54:7f:ee:cb:ee:80 Unknown Nonefc2/4 20:44:54:7f:ee:cb:ee:80 F 50:06:01:61:47:20:77:21 (vnx5700_db_spa_port1)fc2/5 20:45:54:7f:ee:cb:ee:80 F 50:06:01:63:47:20:77:21 (vnx5700_db_spa_port3)fc2/6 20:46:54:7f:ee:cb:ee:80 F 50:06:01:69:47:20:77:21 (vnx5700_db_spb_port1)fc2/7 20:47:54:7f:ee:cb:ee:80 F 50:06:01:6b:47:20:77:21 (vnx5700_db_spb_port3)fc2/8 20:48:54:7f:ee:cb:ee:80 Unknown Nonefc2/9 20:49:54:7f:ee:cb:ee:80 Unknown Nonefc2/10 20:4a:54:7f:ee:cb:ee:80 Unknown Nonefc2/11 20:4b:54:7f:ee:cb:ee:80 Unknown Nonefc2/12 20:4c:54:7f:ee:cb:ee:80 Unknown None进入配置,设置pwwn的别名switch#conf tswitch(config)# switch(config)# device-alias database switch(config-device-alias-db)#device-alias name vnx5700_db_spa_port0 pwwn 50:06:01:60:47:20:77:21switch(config-device-alias-db)#device-alias name vnx5700_db_spa_port2 pwwn 50:06:01:62:47:20:77:21switch(config-device-alias-db)#device-alias name vnx5700_db_spb_port0 pwwn 50:06:01:68:47:20:77:21switch(config-device-alias-db)#device-alias name vnx5700_db_spb_port2 pwwn 50:06:01:6a:47:20:77:21switch(config-device-alias-db)#device-alias name vnx5700_db_spa_port1 pwwn 50:06:01:61:47:20:77:21switch(config-device-alias-db)#device-alias name vnx5700_db_spa_port3 pwwn 50:06:01:63:47:20:77:21switch(config-device-alias-db)#device-alias name vnx5700_db_spb_port1 pwwn 50:06:01:69:47:20:77:21switch(config-device-alias-db)#device-alias name vnx5700_db_spb_port3 pwwn 50:06:01:6b:47:20:77:21switch(config-device-alias-db)# exi激活别名switch(config)# device-alias commit查看别名switch(config)# show device-alias databasedevice-alias name hus_zb_cs1 pwwn 50:06:0e:80:10:54:06:90device-alias name p720_zb_hb0 pwwn 10:00:00:90:fa:11:06:badevice-alias name p720_zb_hb1 pwwn 10:00:00:90:fa:11:06:a2device-alias name i500_bf_drive1 pwwn 50:03:08:c0:9a:81:70:01配置zone,并给zone命名,然后把指定device-alias加入到该zone中2.6. 配置ZONE下面配置ZONE基本命令如下:switch(config-zone)# exitswitch(config)# zone name x3850_sgdb2_hb1_vnx5700 vsan 2switch(config-zone)# member device-alias vnx5700_db_spa_port0switch(config-zone)# member device-alias vnx5700_db_spa_port2switch(config-zone)# member device-alias vnx5700_db_spb_port0switch(config-zone)# member device-alias vnx5700_db_spb_port2switch(config-zone)# member device-alias x3850_sgdb2_hb1交换机端口都是以fc表示,fc1/1 表示第一个模块上的第一个端口。由于像cisco9506之类的交换机是模块化的,所以其每个端口就是fc模块号/端口号。3. 常用检查命令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保存当前配置4. 常用配置命令4.1. 删除创建的ZONEswitch(config)# zone name test vsan 1switch(config-zone)# exitswitch(config)# no zone name test vsan 1switch(config)#4.2. 清除配置Switchwrite erase4.3. 设置配置口超时switch(config)# line consoleswitch(config-console)# exec-timeout 60switch(config)# line vtyswitch(config-line)# exec-timeout 604.4. 安装与清除licenseswitch# install license bootflash:license-fileswitch# clear license license-fileswitch# clear license all4.5. 显示指定Licenseswitch# show license fcports.licfcports.lic:SERVER this_host ANYVENDOR ciscoFEATURE fcports cisco 1.000 permanent 30 HOSTID=VDH=4C0AF664 SIGN=24B2B68AA676 - fcport license4.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 license4.7. 显示IDswitch# show license hostidLicense hostid:VDH=4C0AF6644.8. 命名交换机switch# config t switch(config)# switchname myswitch1myswitch1(config)#myswitch1(config)# no switchnameswitch(config)#4.9. 设置管理口switch# config terminalswitch(config)# interface mgmt 0switch(config)# ip address switch(config-if)# no shutdown switch(config-if)# exitswitch(config)# ip default-gateway 4.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 enable4.11. 下载配置文件switch# copy :/ system:running-configswitch# copy t/237.img bootflash: 237.img4.12. 保存配置switch# copy running-config startup-config4.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 TechDoc4.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/84.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#4.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:4.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)# shutdown4.18. 设置Zoneswitch# config t switch(config)# zone name Zone1 vsan 3switch(config-zone)#switch(config-zone)# member interface fc 2/1 4.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#4.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.4.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 2pw

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论