您好,欢迎访问三七文档
当前位置:首页 > 机械/制造/汽车 > 综合/其它 > 博科Brocade-SAN-switch常用命令
博科交换机查看IP地址命令swd77:adminipaddrshowSWITCHEthernetIPAddress:10.77.77.77EthernetSubnetmask:255.255.255.0FibreChannelIPAddress:noneFibreChannelSubnetmask:noneGatewayIPAddress:noneDHCP:Offswd77:admin设置博科Brocade交换机IP地址博科交换机的默认IP地址是10.77.77.77,在命令行模式下可以通过ipaddrset命令对交换机的IP地址进行设置和修改swd77:adminipaddrsetEthernetIPAddress[10.77.77.77]:#输入交换机需要设置的IP地址EthernetSubnetmask[255.255.255.0]:#输入掩码FibreChannelIPAddress[none]:FibreChannelSubnetmask[none]:GatewayIPAddress[none]:#输入网关DHCP[Off]:#是否开启DHCPswd77:admin博科brocade交换机查看OS版本信息swd77:adminversionKernel:2.6.14.2//linux内核版本FabricOS:v6.1.0a//交换机OS版本Madeon:ThuApr1721:45:312008//生产日期Flash:TueJan1323:33:442009BootProm:4.6.6swd77:admin博科brocade交换机添加license授权信息swd77:adminlicenseaddXXXXXXXX(博科的激活号)查看博科brocade交换机license授权信息在命令行模式下使用licenseshow命令可以查看博科交换机的授权情况,使用licenseadd命令可以添加授权。博科BrocadeSlikworm210E交换机授权情况swd77:adminlicenseshowRzcQSXXXCS0RTc:Unknown1licenseS9zXXXCSzRTScl:Unknown2licenseb9QQGGHJHARRdF:Fabriclicenseswd77:admin其中两个Unknown1和Unknown2这两个授权应该是两个4端口的授权。Fabriclicense是级联license授权,是我后来添加的,默认的210E交换机是没有的。博科BrocadeSlikworm300交换机swd77:adminlicenseshowXSCJBCmH3SARFa7BXrVVBGGFFRRXBArGR:Fabriclicense//级联LicenseEnhancedGroupManagementlicense//增强组管理授权8GigFClicense//8Gb的授权swd77:admin博科Brocade交换机修改密码命令Brocade交换机在命令行模式下可以通过passwd命令来修改用户密码:以brocade300为例:swd77:adminpasswd#使用passwd命令修改当前用户密码ChangingpasswordforadminEnteroldpassword:#输入目前使用的密码Enternewpassword:#输入新密码Re-typenewpassword:#确认新密码passwd:allauthenticationtokensupdatedsuccessfullySavingpasswordtostablestorage.Passwordsavedtostablestoragesuccessfully.swd77:admin查看博科Brocade交换机状态swd77:adminswtichshowrbash:swtichshow:commandnotfoundswd77:adminswitchshowswitchName:swd77switchType:34.0switchState:OnlineswitchMode:NativeswitchRole:PrincipalswitchDomain:1switchId:fffc01switchWwn:10:00:00:05:1e:09:xx:xxzoning:OFFswitchBeacon:OFFAreaPortMediaSpeedStateProto=====================================00idN4No_Light11idN4No_Light22idN4No_Light33idN4No_Light44idN4No_Light55idN4No_Light66idN4No_Light77idN4No_Light88idN4No_Light99idN4No_Light1010idN4No_Light1111idN4No_Light1212idN4No_Light1313idN4No_Light1414idN4No_Light1515idN4No_Lightswd77:admin博科brocadeSAN交换机密码重置博科300的默认用户名是admin,默认密码是password。由于这台机器用户做过设置,密码改过了需要重设一下。博科交换机是没有reset按钮的,必须通过console线连接通过命令重置。博科300的os是用的linux2.6的核心,最高权限的管理帐号是root。重置交换机密码就是用这个帐号。swd77login:rootPassword:fibranne使用该帐号登陆后会出现下面的信息:DisclaimerforRootandFactoryAccountsUsage!ThisFibreChannelswitchisequippedwithRootandFactoryaccountsthatareintendedfordiagnosticsanddebuggingpurposessolelybytheEquipmentvendor'strainedengineers.ImproperuseofthefunctionalitymadeavailablethroughtheRootorFactoryaccountcouldcausesignificantharmanddisruptiontotheoperationoftheSANfabric.YouruseofthefunctionalitymadeavailablethroughtheRootorFactoryaccountisatyoursoleriskandyouassumeallliabilityresultingfromsuchuse.TheEquipmentvendorshallhavenoliabilityforanylossesordamagesarisingfromorrelatingtotheuseoftheRootorFactoryaccount(andthefunctionalityenabledthereby)byanyoneotherthantheEquipmentvendor'sauthorizedengineers.ProceedingwiththeusageofthisswitchastheRootorFactoryuserexplicitlyindicatesyouragreementtothetermsofthisdisclaimer.Pleasechangepasswordsforswitchdefaultaccountsnow.UseControl-Ctoexitorpress'Enter'keytoproceed.这里用Control-C结束就行了,如果回车会让分别设置各个帐号的密码,出现如下信息:Warning:AccesstotheRootandFactoryaccountsmayberequiredforpropersupportoftheswitch.PleaseensuretheRootandFactorypasswordsaredocumentedinasecurelocation.RecoveryofalostRootorFactorypasswordwillresultinfabricdowntime.foruser-rootChangingpasswordforrootEnternewpassword:Passwordunchanged.passwd:AuthenticationtokenmanipulationerrorPleasechangepasswordsforswitchdefaultaccountsnow.foruser-factoryChangingpasswordforfactoryEnternewpassword:Passwordunchanged.passwd:AuthenticationtokenmanipulationerrorPleasechangepasswordsforswitchdefaultaccountsnow.foruser-adminChangingpasswordforadminEnternewpassword:Passwordunchanged.passwd:AuthenticationtokenmanipulationerrorPleasechangepasswordsforswitchdefaultaccountsnow.foruser-userChangingpasswordforuserEnternewpassword:Passwordunchanged.passwd:Authenticationtokenmanipulationerror登陆后是用passwddefault命令恢复出厂密码swd77:rootpasswddefaultPasswordpoliciesarealreadysettodefault.Allaccountpasswordshavebeensuccessfullysettofactorydefault.查看所有的vfp模块命令swd77:adminsfpshowPort0:id(sw)Vendor:FINISARCORP.SerialNo:U8R1L9VPort1:id(sw)Vendor:FINISARCORP.SerialNo:U8R1L3SPort2:id(sw)Vendor:FINISARCORP.SerialNo:U8R1NY9Port3:id(sw)Vendor:FINISARCORP.SerialNo:U8R1KQS
本文标题:博科Brocade-SAN-switch常用命令
链接地址:https://www.777doc.com/doc-1501752 .html