1、BrocadeSAN交换机常用命令 BrocadeSAN交换机常用命令 编辑整理: 尊敬的读者朋友们: 这里是精品文档编辑中心,本文档内容是由我和我的同事精心编辑整理后发布的,发布之前我们对文中内容进行仔细校对,但是难免会有疏漏的地方,但是任然希望(BrocadeSAN交换机常用命令)的内容能够给您的工作和学习带来便利。同时也真诚的希望收到您的建议和反馈,这将是我们进步的源泉,前进的动力。 本文可编辑可修改,如果觉得对您有帮助请收藏以便随时查阅,最后祝您生活愉快 业绩进步,以下为BrocadeSAN交换机常用命令的全部
2、内容。 查看IP地址命令 swd77:admin> ipaddrshow SWITCH Ethernet IP Address: 10。77.77.77 Ethernet Subnetmask: 255。255。255。0 Fibre Channel IP Address: none Fibre Channel Subnetmask: none Gateway IP Address: none DHCP: Off swd77:admin> 设置博科Brocade交换机IP地址 博科交换机的默认IP地址是10.77。77.77,在命令行模式下可以通过ipaddrs
3、et命令对交换机的IP地址进行设置和修改 swd77:admin> ipaddrset Ethernet IP Address [10.77.77。77]: #输入交换机需要设置的IP地址 Ethernet Subnetmask [255。255。255.0]: #输入掩码 Fibre Channel IP Address [none]: Fibre Channel Subnetmask [none]: Gateway IP Address [none]: # 输入网关 DHCP [Off]: #是否开启DHCP swd77:admin> 博科brocade交换机查看OS版
4、本信息 swd77:admin> version Kernel: 2.6。14。2 //linux内核版本 Fabric OS: v6。1。0a // 交换机OS版本 Made on: Thu Apr 17 21:45:31 2008 // 生产日期 Flash: Tue Jan 13 23:33:44 2009 BootProm: 4.6。6 swd77:admin〉 博科brocade交换机添加license授权信息 swd77:admin> licenseadd XXXXXXXX(博科的激活号) 查看博科brocade
5、交换机license授权信息 在命令行模式下使用licenseshow命令可以查看博科交换机的授权情况,使用licenseadd命令可以添加授权. 博科Brocade Slikworm 210E交换机授权情况 swd77:admin> licenseshow RzcQSXXXCS0RTc: Unknown1 license S9zXXXCSzRTScl: Unknown2 license b9QQGGHJHARRdF: Fabric license swd77:admin> 其中两个Unknown1 和Unknown2这两个授权应该是两个4端口的授
6、权.Fabric license是级联license授权,是我后来添加的,默认的210E交换机是没有的。 博科Brocade Slikworm 300交换机 swd77:admin〉 licenseshow XSCJBCmH3SARFa7BXrVVBGGFFRRXBArGR: Fabric license //级联License Enhanced Group Management license //增强组管理授权 8 Gig FC license //8Gb的授权 swd77:admin> 博科Brocade交换机修改密码命令 Broc
7、ade交换机在命令行模式下可以通过passwd命令来修改用户密码: 以brocade 300为例: swd77:admin> passwd #使用passwd命令修改当前用户密码 Changing password for admin Enter old password: #输入目前使用的密码 Enter new password: #输入新密码 Re—type new password: #确认新密码 passwd: all authentication tokens updated successfully Saving password to stable stor
8、age。 Password saved to stable storage successfully. swd77:admin〉 查看博科Brocade交换机状态 swd77:admin〉 swtichshow rbash: swtichshow: command not found swd77:admin〉 switchshow switchName: swd77 switchType: 34。0 switchState: Online switchMode: Native switchRole: Principal swi
9、tchDomain: 1 switchId: fffc01 switchWwn: 10:00:00:05:1e:09:xx:xx zoning: OFF switchBeacon: OFF Area Port Media Speed State Proto ===================================== 0 0 id N4 No_Light 1 1 id N4 No_Light 2 2 id N4
10、 No_Light 3 3 id N4 No_Light 4 4 id N4 No_Light 5 5 id N4 No_Light 6 6 id N4 No_Light 7 7 id N4 No_Light 8 8 id N4 No_Light 9 9 id N4 No_Light
11、 10 10 id N4 No_Light 11 11 id N4 No_Light 12 12 id N4 No_Light 13 13 id N4 No_Light 14 14 id N4 No_Light 15 15 id N4 No_Light swd77:admin> 博科 brocade SAN交换机密码重置 博科300的默认用户名是admin,默认密码是passw
12、ord。由于这台机器用户做过设置,密码改过了需要重设一下。博科交换机是没有reset按钮的,必须通过console线连接通过命令重置. 博科300的os是用的linux 2.6的核心,最高权限的管理帐号是root。重置交换机密码就是用这个帐号。 swd77 login: root Password: fibranne 使用该帐号登陆后会出现下面的信息: Disclaimer for Root and Factory Accounts Usage! This Fibre Channel switch is equipped with Root and Factory account
13、s that are intended for diagnostics and debugging purposes solely by the Equipment vendor’s trained engineers. Improper use of the functionality made available through the Root or Factory account could cause significant harm and disruption to the operation of the SAN fabric. Your use of the f
14、unctionality made available through the Root or Factory account is at your sole risk and you assume all liability resulting from such use. The Equipment vendor shall have no liability for any losses or damages arising from or relating to the use of the Root or Factory account (and the functiona
15、lity enabled thereby) by anyone other than the Equipment vendor's authorized engineers。 Proceeding with the usage of this switch as the Root or Factory user explicitly indicates your agreement to the terms of this disclaimer。 Please change passwords for switch default accounts now. Use Control
16、C to exit or press 'Enter’ key to proceed。 这里用Control—C结束就行了,如果回车会让分别设置各个帐号的密码,出现如下信息: Warning: Access to the Root and Factory accounts may be required for proper support of the switch。 Please ensure the Root and Factory passwords are documented in a secure location. Recovery of a
17、 lost Root or Factory password will result in fabric downtime. for user — root Changing password for root Enter new password: Password unchanged。 passwd: Authentication token manipulation error Please change passwords for switch default accounts now。 for user - factory Changing password fo
18、r factory Enter new password: Password unchanged。 passwd: Authentication token manipulation error Please change passwords for switch default accounts now。 for user - admin Changing password for admin Enter new password: Password unchanged。 passwd: Authentication token manipulation error
19、Please change passwords for switch default accounts now。 for user — user Changing password for user Enter new password: Password unchanged. passwd: Authentication token manipulation error 登陆后是用passwddefault命令恢复出厂密码 swd77:root> passwddefault Password policies are already set to default. All
20、 account passwords have been successfully set to factory default。 swd77:root〉 如何选择购买博科光纤交换机 型号 目前博科光纤交换机主流的型号是200E及5000系列,200E系列下面有210E,220E,240E,而5000系列下主要有5020及5040。这两个系列是目前销售最多的型号,当然还有300E系列的产品马上就开始销售了. 端口数 博科200E系列满配的端口数为16个,博科300系列是24端口,博科 5000系列满配端口数为32个,您可以根据你的实际应用环境
21、确定单台交换机最大端口数。 模块数 博科的交换机并不是所有的型号都是满配模块的,例如博科210E满配的光纤模块是16个,而标配的光纤模块为8个,用户可以根据自己的实际需求增加 模块数,200E系列为4个一组增加,也就是说210E可以升级为12端口或16端口的交换机。300系列及5000系列则是8个端口一组的增幅。 端口速率 博科200E及5000系列都是最大支持4Gb速率光纤通道交换机,新出来的300E系列则支持8Gb的速率,但是目前使用的模块还是4Gb的模 块,所以在实际使用中还只能达到4Gb的速率。另外博科的交换机都是可以向下兼容的,比如200E系列最大支持4Gb的速率,同时兼容2
22、Gb及1Gb速 率,可以与所连接的HBA卡自适应。 模块类型 博科交换机标配的光纤模块为短波模块,支持500米左右的传输距离,超过这个距离就需要更换长波模块,最大可传输距离可以达到10公里,如果超过10公里的话那就需要增强长波模块了,增强长波模块的最大传输距离为80公里,当然这几个模块的价格也是有很大差别的。 电源 200E系列的光纤交换机算是博科目前基础应用级别的光纤交换机,所以使用的电源是固定不可拆卸的单电源,如果需要使用冗余电源的话就需要选择支持热插拔双电源的5000系列产品。 级联 所谓的级联就是将几台光纤交换机连接在一起,实现更多端口的光纤网络,但是博科210E标配是不支持级联的,需要购买一个级联license进行升级才能实现级联的功能。 端口激活 所谓端口激活是指将标配没有启用的端口增加模块,使用激活码将这些端口启用
©2010-2025 宁波自信网络信息技术有限公司 版权所有
客服电话:4009-655-100 投诉/维权电话:18658249818