(最新整理)博科BrocadeSAN交換機(jī)常用命令_第1頁
(最新整理)博科BrocadeSAN交換機(jī)常用命令_第2頁
(最新整理)博科BrocadeSAN交換機(jī)常用命令_第3頁
(最新整理)博科BrocadeSAN交換機(jī)常用命令_第4頁
已閱讀5頁,還剩43頁未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡介

1、(完整)博科brocadesan交換機(jī)常用命令(完整)博科brocadesan交換機(jī)常用命令 編輯整理:尊敬的讀者朋友們:這里是精品文檔編輯中心,本文檔內(nèi)容是由我和我的同事精心編輯整理后發(fā)布的,發(fā)布之前我們對(duì)文中內(nèi)容進(jìn)行仔細(xì)校對(duì),但是難免會(huì)有疏漏的地方,但是任然希望((完整)博科brocadesan交換機(jī)常用命令)的內(nèi)容能夠給您的工作和學(xué)習(xí)帶來便利。同時(shí)也真誠的希望收到您的建議和反饋,這將是我們進(jìn)步的源泉,前進(jìn)的動(dòng)力。本文可編輯可修改,如果覺得對(duì)您有幫助請(qǐng)收藏以便隨時(shí)查閱,最后祝您生活愉快 業(yè)績進(jìn)步,以下為(完整)博科brocadesan交換機(jī)常用命令的全部內(nèi)容。博科brocade san交換

2、機(jī)常用命令1。查看ip地址命令22。查看firmware版本23.查看交換機(jī)狀態(tài)24.查看交換機(jī)license-id35。配置zone36.查看zone配置文件47。查看zone58。查看系統(tǒng)日志信息69。關(guān)機(jī)610。設(shè)置博科brocade交換機(jī)ip地址611.博科brocade交換機(jī)查看os版本信息712.博科brocade交換機(jī)添加license授權(quán)信息713.查看博科brocade交換機(jī)license授權(quán)信息714.博科brocade slikworm 300交換機(jī)license715。博科brocade交換機(jī)修改密碼命令716。博科 brocade san交換機(jī)密碼重置817.登陸后是

3、用passwddefault命令恢復(fù)出廠密碼918。交換機(jī)升級(jí)919.幫助信息131。查看ip地址命令swd77:admin ipaddrshowswitchethernet ip address: 7ethernet subnetmask: 255。255.255.0fibre channel ip address: nonefibre channel subnetmask: nonegateway ip address: nonedhcp: offswd77:admin2。查看firmware版本swd211:admin swd211:admin firmwaresho

4、wappl primary/secondary versions -fos v6.2。1 v6.2.13.查看交換機(jī)狀態(tài)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:

5、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 fport 10:00:00:00:c9:53:b2:8d 2 2 id n4 online fport 10:00:00:00:c9:53:b3:c1 3 3 id n4 online fport 10:00:00:00:c9:53:b3:c2 4 4 id n4 online f-port 50:06:0b:00:00:6

6、6:00:c4 5 5 id n4 online f-port 50:06:0b:00:00:66:01:1e 6 6 id n2 online fport 50:05:08:b3:00:93:b2:81 7 7 - n4 no_module 8 8 id n4 online fport 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 fport 50:01:43:80:06:31:cf:7c 11 11 - n4 no_module 12 12 - n4 no

7、_module 13 13 n4 no_module 14 14 - n4 no_module 15 15 - n4 no_module swd211:admin4.查看交換機(jī)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,5alicreate“mkt_host,“mktwwnalicreate“mkt_stor”,“s3w

8、wn;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_sto

9、r 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

10、_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

11、; 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,1

12、5 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: sf

13、eva4400_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

14、,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,

15、2 1,7swd211:admin8。查看系統(tǒng)日志信息swd211:admin supportshow日志比較多,建議log出來查看.9.關(guān)機(jī)swd211:admin sysshutdown10.設(shè)置博科brocade交換機(jī)ip地址博科交換機(jī)的默認(rèn)ip地址是10。77。77.77,在命令行模式下可以通過ipaddrset命令對(duì)交換機(jī)的ip地址進(jìn)行設(shè)置和修改swd77:admin ipaddrsetethernet ip address 10。77.77.77: #輸入交換機(jī)需要設(shè)置的ip地址ethernet subnetmask : 輸入掩碼fibre channel

16、 ip address none:fibre channel subnetmask none:gateway ip address none: 輸入網(wǎng)關(guān)dhcp off: 是否開啟dhcpswd77:admin11。博科brocade交換機(jī)查看os版本信息swd77:admin versionkernel: 2.6。14.2 /linux內(nèi)核版本fabric os: v6.1。0a / 交換機(jī)os版本made on: thu apr 17 21:45:31 2008 / 生產(chǎn)日期flash: tue jan 13 23:33:44 2009bootprom: 4.6.6 swd77:admin

17、12.博科brocade交換機(jī)添加license授權(quán)信息swd77:admin licenseadd xxxxxxxx(博科的激活號(hào))13。查看博科brocade交換機(jī)license授權(quán)信息在命令行模式下使用licenseshow命令可以查看博科交換機(jī)的授權(quán)情況,使用licenseadd命令可以添加授權(quán)。博科brocade slikworm 210e交換機(jī)授權(quán)情況swd77:admin licenseshowrzcqsxxxcs0rtc:unknown1 licenses9zxxxcszrtscl:unknown2 licenseb9qqgghjharrdf:fabric licenseswd

18、77:admin其中兩個(gè)unknown1 和unknown2這兩個(gè)授權(quán)應(yīng)該是兩個(gè)4端口的授權(quán)。fabric license是級(jí)聯(lián)license授權(quán),是我后來添加的,默認(rèn)的210e交換機(jī)是沒有的。14.博科brocade slikworm 300交換機(jī)licenseswd77:admin licenseshowxscjbcmh3sarfa7bxrvvbggffrrxbargr: fabric license /級(jí)聯(lián)license enhanced group management license /增強(qiáng)組管理授權(quán) 8 gig fc license /8gb的授權(quán)swd77:admin15。博科b

19、rocade交換機(jī)修改密碼命令brocade交換機(jī)在命令行模式下可以通過passwd命令來修改用戶密碼:以brocade 300為例:swd77:admin passwd #使用passwd命令修改當(dāng)前用戶密碼changing password for adminenter old password: #輸入目前使用的密碼enter new password: #輸入新密碼re-type new password: 確認(rèn)新密碼passwd: all authentication tokens updated successfullysaving password to stable stora

20、ge.password saved to stable storage successfully。swd77:admin16。博科 brocade san交換機(jī)密碼重置博科300的默認(rèn)用戶名是admin,默認(rèn)密碼是password.由于這臺(tái)機(jī)器用戶做過設(shè)置,密碼改過了需要重設(shè)一下。博科交換機(jī)是沒有reset按鈕的,必須通過console線連接通過命令重置。博科300的os是用的linux 2。6的核心,最高權(quán)限的管理帳號(hào)是root。重置交換機(jī)密碼就是用這個(gè)帳號(hào)。swd77 login: rootpassword: fibranne使用該帳號(hào)登陸后會(huì)出現(xiàn)下面的信息:disclaimer for

21、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 couldca

22、use 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 aris

23、ing 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 disclaime

24、r.please change passwords for switch default accounts now。use controlc to exit or press enter key to proceed。這里用control-c結(jié)束就行了,如果回車會(huì)讓分別設(shè)置各個(gè)帳號(hào)的密碼,出現(xiàn)如下信息:warning: access to the root and factory accounts may be required forproper support of the switch。 please ensure the root and factorypasswords are do

25、cumented 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 fac

26、torychanging 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 e

27、rrorplease change passwords for switch default accounts now。for user userchanging password for userenter new password: password unchanged.passwd: authentication token manipulation error17.登陸后是用passwddefault命令恢復(fù)出廠密碼swd77:root passwddefaultpassword policies are already set to default。all account passw

28、ords have been successfully set to factory default.swd77:root18。交換機(jī)升級(jí)將brocade 200e交換機(jī)現(xiàn)有微碼版本v5。0.1b 升級(jí)至v6。2。1,具體操作步驟如下:1、資源準(zhǔn)備:網(wǎng)線一根,brocade 200e firmware version ,控制臺(tái)(pc或筆記本),要安裝java jre 1。5版本以上2、設(shè)備連接:用網(wǎng)線將控制臺(tái)(pc 或筆記本)的網(wǎng)卡連接到交換機(jī)的管理口上。3、控制臺(tái)環(huán)境設(shè)置:將控制臺(tái)的網(wǎng)卡ip地址設(shè)備為10。77。77。1,子網(wǎng)掩碼為255.255.255。0。然后在控制臺(tái)的安裝ftp服務(wù)或軟

29、件,ftp的根目錄設(shè)置為版本軟件所在的目錄,并設(shè)置一個(gè)用戶lab,密碼為lab123。確認(rèn)控制臺(tái)與交換機(jī)(brocade)的網(wǎng)絡(luò)連接正常.執(zhí)行以下命令:ping 10。77.77。77 (默認(rèn)管理口地址)4、登陸交換機(jī):輸入telnet 10.77.77。77 ,用戶名為:admin,密碼為:password,登錄到交換機(jī)。登陸進(jìn)入后,會(huì)提示更改admin帳戶的密碼,如需更改直接回車,不更改則按ctrl + c 。5、登錄后輸入firmwareshow,回車,可以查看現(xiàn)有的微碼版本,如果不是v6。2.1,則需要升級(jí)到v6.2.1。concept 1)。 every brocade switch

30、 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 up

31、grade 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 packa

32、ges 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 1

33、8 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: 202.134。79。36 /ftp server ipaddress user name user: lab /ftp server user name file name config。txt: config。txt / spe

34、cify 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

35、 telnet or ssh sessions be restarted. do you want to continue y: y server name or ip address: 10.77。77。1 /ftp server ipaddress 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

36、.1.0/release。plist/v6.2.1/v6。2.1/release。plistpassword: /ftp server user password 注意: 升級(jí)需要30分鐘的格式化,需要10分鐘的備分區(qū)同步版本,總共花銷時(shí)間需: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 se

37、condary 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 檢查版本是否主分區(qū)與備分區(qū)同步firmwaredownload has started。 start to install packages.。. dir # ldconfig # glibc # bash # readline # terminfo # termcap # setup # swbd12setup # which # findutils # bzip # zlib # chkconfig # fileutils # sed # textutils # procps # psmisc # modutils # sin # rcinit # misc # pam # util-linux # shutils # popt # grep # rpm # sysvinit #

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

評(píng)論

0/150

提交評(píng)論