




已阅读5页,还剩21页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
博科Brocade SAN交换机常用命令1.查看IP地址命令22.查看firmware版本23.查看交换机状态24.查看交换机license-id35.配置ZONE36.查看zone配置文件47.查看ZONE58.查看系统日志信息69.关机610.设置博科Brocade交换机IP地址611.博科brocade交换机查看OS版本信息712.博科brocade交换机添加license授权信息713.查看博科brocade交换机license授权信息714.博科Brocade Slikworm 300交换机license715.博科Brocade交换机修改密码命令716.博科 brocade SAN交换机密码重置817.登陆后是用passwddefault命令恢复出厂密码918.交换机升级919.帮助信息131.查看IP地址命令swd77:admin ipaddrshowSWITCHEthernet IP Address: 7Ethernet Subnetmask: Fibre Channel IP Address: noneFibre Channel Subnetmask: noneGateway IP Address: noneDHCP: Offswd77:admin2.查看firmware版本swd211:admin swd211:admin firmwareshowAppl Primary/Secondary Versions -FOS v6.2.1 v6.2.13.查看交换机状态swd211:admin switchoshowrbash: switchoshow: command not foundswd211:admin switchshowswitchName: swd211switchType: 34.0switchState: Online switchMode: NativeswitchRole: PrincipalswitchDomain: 1switchId: fffc01switchWwn: 10:00:00:05:1e:02:a2:10zoning: ON (FC01)switchBeacon: OFFArea Port Media Speed State Proto= 0 0 id N2 Online F-Port 50:08:05:f3:00:1b:4e:91 1 1 id N4 Online F-Port 10:00:00:00:c9:53:b2:8d 2 2 id N4 Online F-Port 10:00:00:00:c9:53:b3:c1 3 3 id N4 Online F-Port 10:00:00:00:c9:53:b3:c2 4 4 id N4 Online F-Port 50:06:0b:00:00:66:00:c4 5 5 id N4 Online F-Port 50:06:0b:00:00:66:01:1e 6 6 id N2 Online F-Port 50:05:08:b3:00:93:b2:81 7 7 - N4 No_Module 8 8 id N4 Online F-Port 50:01:43:80:04:c7:87:d8 9 9 id N4 Online F-Port 50:01:43:80:04:c7:87:dc 10 10 id N4 Online F-Port 50:01:43:80:06:31:cf:7c 11 11 - N4 No_Module 12 12 - N4 No_Module 13 13 - N4 No_Module 14 14 - N4 No_Module 15 15 - N4 No_Module swd211:admin4.查看交换机license-idswd211:admin swd211:admin licenseidshow10:00:00:05:1e:02:a2:10swd211:admin5.配置ZONE案例:1)CreateAliasesalicreate“Eng_Host”,“1,0”alicreate“Eng_Stor”,“1,4;1,5”alicreate“Mkt_Host”,“Mktwwn”alicreate“Mkt_Stor”,“s3wwn;s4wwn;s5wwn”2)CreateZoneszonecreate“Zone_Eng”,“Eng_Host;Eng_Stor”zonecreate“Zone_Mkt”,“Mkt_Host;Mkt_Stor”3)CreateConfigurationcfgcreate“Cfg_EngMkt”,“Zone_Eng;Zone_Mkt”sw4100:admincfgshowDefinedconfiguration:cfg:Cfg_EngMktZone_Eng;Zone_Mktzone:Zone_EngEng_Host;Eng_Storzone:Zone_MktMkt_Host;Mkt_Stor alias:Eng_Stor1,4; 1,5alias:Eng_Host1,0alias:Mkt_Stor21:00:00:20:37:87:49:29; 21:00:00:20:37:87:e5:20; 21:00:00:20:37:87:20:c5alias:Mkt_Host21:00:00:20:37:87:23:e2Effectiveconfiguration:noconfigurationineffect4)EnableConfigurationcfgenable“Cfg_EngMkt”sw4100:admincfgshowDefinedconfiguration:cfg:Cfg_EngMktone_Eng;Zone_Mktzone:Zone_EngEng_Host;Eng_Storzone:Zone_MktMkt_Host;Mkt_Stor alias:Eng_Stor1,4; 1,5alias:Eng_Host1,0alias:Mkt_Stor21:00:00:20:37:87:49:29; 21:00:00:20:37:87:e5:20; 21:00:00:20:37:87:20:c5alias:Mkt_Host21:00:00:20:37:87:23:e2Effectiveconfiguration:cfg:Cfg_EngMktzone:Zone_Eng1,0; 1,4;1,5zone:Zone_Mkt21:00:00:20:37:87:23:e2; 21:00:00:20:37:87:e5:20;21:00:00:20:37:87:49:29; 21:00:00:20:37:87:20:c5 6.查看zone配置文件swd211:admin swd211:admin cfgshowDefined configuration: cfg: FC01 OADB_ML6030; SPC_MSA1000; SFDB_EVA4400; SFDB04_MSA1500; SFEVA4400_SMA zone: OADB_ML6030 1,7; 1,14; 1,15 zone: SFDB04_MSA1500 1,10; 1,6 zone: SFDB_EVA4400 1,3; 1,4; 1,5; 1,7; 1,8; 1,9 zone: SFEVA4400_SMA 1,8; 1,9; 1,11 zone: SPC_MSA1000 1,0; 1,1; 1,2; 1,7Effective configuration: cfg: FC01 zone: OADB_ML6030 1,7 1,14 1,15 zone: SFDB04_MSA1500 1,10 1,6 zone: SFDB_EVA4400 1,3 1,4 1,5 1,7 1,8 1,9 zone: SFEVA4400_SMA 1,8 1,9 1,11 zone: SPC_MSA1000 1,0 1,1 1,2 1,7swd211:admin swd211:admin7.查看ZONEswd211:admin zoneshowDefined configuration: cfg: FC01 OADB_ML6030; SPC_MSA1000; SFDB_EVA4400; SFDB04_MSA1500; SFEVA4400_SMA zone: OADB_ML6030 1,7; 1,14; 1,15 zone: SFDB04_MSA1500 1,10; 1,6 zone: SFDB_EVA4400 1,3; 1,4; 1,5; 1,7; 1,8; 1,9 zone: SFEVA4400_SMA 1,8; 1,9; 1,11 zone: SPC_MSA1000 1,0; 1,1; 1,2; 1,7Effective configuration: cfg: FC01 zone: OADB_ML6030 1,7 1,14 1,15 zone: SFDB04_MSA1500 1,10 1,6 zone: SFDB_EVA4400 1,3 1,4 1,5 1,7 1,8 1,9 zone: SFEVA4400_SMA 1,8 1,9 1,11 zone: SPC_MSA1000 1,0 1,1 1,2 1,7swd211:admin8.查看系统日志信息swd211:admin supportshow日志比较多,建议log出来查看.9.关机swd211:admin sysshutdown10.设置博科Brocade交换机IP地址博科交换机的默认IP地址是7,在命令行模式下可以通过ipaddrset命令对交换机的IP地址进行设置和修改swd77:admin ipaddrsetEthernet IP Address 7: #输入交换机需要设置的IP地址Ethernet Subnetmask : #输入掩码Fibre Channel IP Address none:Fibre Channel Subnetmask none:Gateway IP Address none: # 输入网关DHCP Off: #是否开启DHCPswd77:admin11.博科brocade交换机查看OS版本信息swd77:admin versionKernel: /linux内核版本Fabric OS: v6.1.0a / 交换机OS版本Made on: Thu Apr 17 21:45:31 2008 / 生产日期Flash: Tue Jan 13 23:33:44 2009BootProm: 4.6.6 swd77:admin12.博科brocade交换机添加license授权信息swd77:admin licenseadd XXXXXXXX(博科的激活号)13.查看博科brocade交换机license授权信息在命令行模式下使用licenseshow命令可以查看博科交换机的授权情况,使用licenseadd命令可以添加授权。博科Brocade Slikworm 210E交换机授权情况swd77:admin licenseshowRzcQSXXXCS0RTc:Unknown1 licenseS9zXXXCSzRTScl:Unknown2 licenseb9QQGGHJHARRdF:Fabric licenseswd77:admin其中两个Unknown1 和Unknown2这两个授权应该是两个4端口的授权。Fabric license是级联license授权,是我后来添加的,默认的210E交换机是没有的。14.博科Brocade Slikworm 300交换机licenseswd77:admin licenseshowXSCJBCmH3SARFa7BXrVVBGGFFRRXBArGR: Fabric license /级联License Enhanced Group Management license /增强组管理授权 8 Gig FC license /8Gb的授权swd77:admin15.博科Brocade交换机修改密码命令Brocade交换机在命令行模式下可以通过passwd命令来修改用户密码:以brocade 300为例:swd77:admin passwd #使用passwd命令修改当前用户密码Changing password for adminEnter old password: #输入目前使用的密码Enter new password: #输入新密码Re-type new password: #确认新密码passwd: all authentication tokens updated successfullySaving password to stable storage.Password saved to stable storage successfully.swd77:admin16.博科 brocade SAN交换机密码重置博科300的默认用户名是admin,默认密码是password。由于这台机器用户做过设置,密码改过了需要重设一下。博科交换机是没有reset按钮的,必须通过console线连接通过命令重置。博科300的os是用的linux 2.6的核心,最高权限的管理帐号是root。重置交换机密码就是用这个帐号。swd77 login: rootPassword: fibranne使用该帐号登陆后会出现下面的信息:Disclaimer for Root and Factory Accounts Usage!This Fibre Channel switch is equipped with Root and Factory accountsthat are intended for diagnostics and debugging purposes solely by the Equipment vendors trained engineers. Improper use of the functionality made available through the Root or Factory account couldcause significant harm and disruption to the operation of the SAN fabric.Your use of the functionality made available through the Root or Factoryaccount is at your sole risk and you assume all liability resulting fromsuch use. The Equipment vendor shall have no liability for any losses or damages arising from or relating to the use of the Root or Factoryaccount (and the functionality enabled thereby) by anyone other than the Equipment vendors authorized engineers.Proceeding with the usage of this switch as the Root or Factory userexplicitly indicates your agreement to the terms of this disclaimer.Please change passwords for switch default accounts now.Use Control-C to exit or press Enter key to proceed.这里用Control-C结束就行了,如果回车会让分别设置各个帐号的密码,出现如下信息:Warning: Access to the Root and Factory accounts may be required forproper support of the switch. Please ensure the Root and Factorypasswords are documented in a secure location. Recovery of a lost Rootor Factory password will result in fabric downtime.for user - rootChanging password for rootEnter new password: Password unchanged.passwd: Authentication token manipulation errorPlease change passwords for switch default accounts now.for user - factoryChanging password for factoryEnter new password: Password unchanged.passwd: Authentication token manipulation errorPlease change passwords for switch default accounts now.for user - adminChanging password for adminEnter new password: Password unchanged.passwd: Authentication token manipulation errorPlease change passwords for switch default accounts now.for user - userChanging password for userEnter new password: Password unchanged.passwd: Authentication token manipulation error17.登陆后是用passwddefault命令恢复出厂密码swd77:root passwddefaultPassword policies are already set to default.All account passwords have been successfully set to factory default.swd77:root18.交换机升级将Brocade 200E交换机现有微码版本v5.0.1b 升级至v6.2.1,具体操作步骤如下:1、资源准备:网线一根,BROCADE 200E firmware version ,控制台(PC或笔记本),要安装Java JRE 1.5版本以上2、设备连接:用网线将控制台(PC 或笔记本)的网卡连接到交换机的管理口上。3、控制台环境设置:将控制台的网卡IP地址设备为,子网掩码为。然后在控制台的安装FTP服务或软件,FTP的根目录设置为版本软件所在的目录,并设置一个用户lab,密码为lab123。确认控制台与交换机(brocade)的网络连接正常。执行以下命令:Ping 7 (默认管理口地址)4、登陆交换机:输入telnet 7 ,用户名为:admin,密码为:password,登录到交换机。登陆进入后,会提示更改admin帐户的密码,如需更改直接回车,不更改则按ctrl + c 。5、登录后输入firmwareshow,回车,可以查看现有的微码版本,如果不是v6.2.1,则需要升级到v6.2.1。Concept 1). Every Brocade switch has 2 partitions (one is master, the other is slave). 2). Switch can be upgrade online 3). Slave upgrade first, after the slave partition upgraded, slave partition become master, master become slave, then firmware copy from master to slave Version Information: Port Speed Product Firmware Version Upgrade info 2GB 3900 4.x or 5.x v5.2.0a or v5.3.0c 2GB 12000 4.x or 5.x v5.2.0a or v5.3.0c 4GB 42000 4.x or 5.x v5.2.0a or v5.3.0c NOTICE: 1 when current Version is 4.4.2 or later, Please Online Upgrade. 2 Before Upgrade firmware, please backup current configuration. 3 Copy new version firmware packages to ftp server directory. Upgrade Firmware process (Step by Step) This is demo switch from Brocade Shanghai office. Dont change IP address please. If you meeproblem swd77 login: admin Password: swd77:admin version Kernel: 2.4.19 Fabric OS: v4.4.0d / Please check current version Made on: Wed May 18 21:08:14 2007 Flash: Mon Jun 6 06:35:26 2007 BootProm: 4.5.0 swd77:admin configupload /backup the switch configuration Protocol (scp or ftp) ftp: ftp Server Name or IP Address host: 6 /ftp server ip-address User Name user: lab /ftp server user name File Name config.txt: config.txt / specify configuration file name Password: /ftp server user password Upload complete swd77:admin firmwaredownload /download new version firmware You can run firmwareDownloadStatus to get the status of this command. This command will cause the switch to reset and will require that existing telnet, secure telnet or SSH sessions be restarted. Do you want to continue Y: y Server Name or IP Address: /ftp server ip-address User Name: admin /ftp server user name File Name: /v5.1.0/v5.1.0/release.plist /v5.2.0/v5.2.0/release.plist/v5.3.0/v5.3.0/release.plist/v6.0.0/v6.0.0/release.plist/v6.1.0/v6.1.0/release.plist/v6.2.1/v6.2.1/release.plistPassword: /ftp server user password 注意: 升级需要30分钟的格式化,需要10分钟的备分区同步版本,总共花销时间需:40分钟0: Sun Feb 19 05:59:40 2012 Firmware is being downloaded to the switch. This step may take up to 30 minutes.1: Sun Feb 19 06:04:35 2012 Firmware has been downloaded to the secondary partition of the switch.2: Sun Feb 19 06:06:15 2012 The firmware commit operation has started. This may take up to 10 minutes.firmwareshow 检查版本是否主分区与备分区同步Firmwaredownload has started. Start to install packages. dir # ldconfig # glibc # bash # readline # terminfo # termcap # setup # swbd12-setup # which # findutils # bzip # zlib # chkconfig # fileutils # sed # textutils # procps # psmisc # modutils # sin # rcinit # misc # pam # util-linux # sh-utils # popt # grep # rpm # sysvinit # man # less # gzip # tar # rsync # cpio # dev # swbd23-bootenv # wdtd # wget # fwdl # swbd23-prom # Please avoid powering off the system during prom update. kernel # swbd21-drivers # pcmcia-cs # sysklogd # Write kernel i
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025版变频器批量采购及质量保证合同
- 注册会计师考试财务成本管理试卷及解答参考
- 人力资源管理高级经济实务经济师考试试卷与参考答案
- 旋塞启闭力矩一致性测试工艺考核试卷及答案
- 去污剂配方调整流程工艺考核试卷及答案
- 冶金设备气动系统设计工艺考核试卷及答案
- 绝缘制品耐辐射性测试工艺考核试卷及答案
- 单体聚合溶剂回收优化工艺考核试卷及答案
- 搪瓷表面涂层耐溶剂侵蚀工艺考核试卷及答案
- 风机叶片卷曲工艺考核试卷及答案
- 新建洞室储气库压缩空气储能系统的经济性及成本分析
- 艺康servsafe培训课件
- 砖厂职业危害管理制度
- 肝功能障碍患者的麻醉管理要点
- 2025年粮油仓储管理员(高级)职业技能鉴定考试练习题库(含答案)
- 【课件】新高三启动主题班会:启航高三逐梦未来
- 历史 2024-2025学年部编版七年级历史下学期期末问答式复习提纲
- 2025年中国邮政集团有限公司北京分公司招聘笔试冲刺题(带答案解析)
- 学校物业服务应急事件处理预案
- 单位车辆管理委托协议书示例3篇
- 人工智能赋能教育:技术变革与教学创新
评论
0/150
提交评论