博科200E/300/4100/5000/5100安装手册一、交换网络配置注意:建立console连接,交换机的默认IP地址为10.77.77.771、通过交换机的串口建立console会话.在Windows95,98.2000,或者NT的环境中:(超级终端)Bitspersecond:9600——每秒位数为9600Databits:8——————数据位为8Parity:None——————奇偶校验Stopbits:1——————停止位Flowcontrol:None————数据流控制登陆到交换机2、在登陆后,首先修改管理员密码.login:adminPasswd:password——原账号密码Changepasswordsasfollows:adminPassword:Customerassigned————新账号密码(用户自己定义)3、给交换机分配IP地址,子网掩码和默认网关等信息switch:adminipaddrsetEthernetIPAddress[10.77.77.77]:10.32.53.47——以太网IP地址EthernetSubnetmask[255.0.0.0]:255.255.240.0——以太网子网掩码FibreChannelIPAddress[0.0.0.0]:FibreChannelSubnetmask[0.0.0.0]:————光网的IP地址和掩码GatewayIPAddress[0.0.0.0]:10.32.48.1——默认网关SetIPaddressnow?[y=setnow,n=nextreboot]:y——确认修改IPaddressbeingchanged...Committingconfiguration...Done.——修改成功switch:admin4、验证交换机网络信息:adminipaddrshow5、重新加载交换机并且关闭串口console会话.:adminreboot:adminexit确认交换机POST完全加载成功6、开始通过telnet登陆交换机.#telnetipaddressofswitch二.配置交换机基本参数1、配置交换机的名字:adminswitchname“nameofswitch”2、设置日期和时间:admindatemmddhhmmyy月,日,小时,分钟,年switch:admindateFriMay521:50:00UTC1989switch:adminswitch:admindate0624165203TueJun2416:52:30UTC2003switch:admin3、设置客户需要的时区::adminhelptstimezone]例如::admintstimezone-8,0(ieGMT-0800):admintstimezone+8,0(北京时间)4、禁止交换机更改fabric参数.(如果交换机要连接到其他的交换机上,这一步必须做,如果不是,你可以忽略4,5,6步骤):adminswitchdisable:adminconfigureConfigure...Fabricparameters(yes,y,no,n):[no]y5、设置交换机DomainID.(每个SAN交换机独一无二的数字)Domain:(1..239)[1]6、允许交换机修改fabric参数.:adminswitchenable三、配置交换机的ZONES1、确定所有的主机HBAs和存储设备都已经连接上了交换机.:adminswitchshow(查交换机的domainID)switch:adminswitchshowswitchName:sw0switchType:66.1switchState:OnlineswitchMode:NativeswitchRole:SubordinateswitchWwn:10:00:00:05:1e:57:b3:06switchDomain:1switchId:fffc02zoning:OFFswitchBeacon:OFFFCRouter:ONFCRouterBBFabricID:128IndexPortAddressMediaSpeedStateProto==============================================00020000idN4No_LightFC11020100idN4In_SyncFCDisabled22020200idN4No_LightFC33020300idN4No_LightFC44020400idN4OnlineFCF-Port1NPort+1NPIVpublic55020500idN4OnlineFCF-Port1NPort+1NPIVpublic66020600idN4OnlineFCF-Port1NPort+2NPIVpublic77020700idN4OnlineFCF-Port1NPort+1NPIVpublic88020800idN4OnlineFCF-Port10:00:00:05:1e:65:95:8199020900idN4OnlineFCE-Port10:00:00:05:1e:40:ff:95sw0(upstream)(Trunkmaster):adminnsshow:adminnscamshow2、模块#1:用web工具配置交换机的Zones(安装JRE1.6,打开IE浏览器)*点击“ZoneAdmin”按钮3、模块#2:配置Zones通过telnet会话(用CLI)#telnetipaddressofswitchlogin:adminpassword:password1)创建Aliasesalicreate“Eng_Host”,“1,0”alicreate“Eng_Stor”,“1,4;1,5”alicreate“Mkt_Host”,“Mktwwn”alicreate“Mkt_Stor”,“s3wwn;s4wwn;s5wwn”2)创建Zoneszonecreate“Zone_Eng”,“Eng_Host;Eng_Stor”zonecreate“Zone_Mkt”,“Mkt_Host;Mkt_Stor”3)创建Configurationcfgcreate“Cfg_EngMkt”,“Zone_Eng;Zone_Mkt”sw4100:admincfgshowDefinedconfiguration:定义配置:cfg:Cfg_EngMktZone_Eng;Zone_MktDomain1EngHostMktHostS1S2S3S4S5zone:Zone_EngEng_Host;Eng_Storzone:Zone_MktMkt_Host;Mkt_Storalias: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:生效的配置:noconfigurationineffect——没有配置是有效的4)激活配置文件cfgenable“Cfg_EngMkt”switch:admincfgenable“Cfg_EngMkt”Youareabouttoenableanewzoningconfiguration.Thisactionwillreplacetheoldzoningconfigurationwiththecurrentconfigurationselected.Doyouwanttoenable'Cfg_EngMkt'configuration(yes,y,no,n):[no]yzoneconfigCfg_EngMktisineffectUpdatingflash...sw4100:admincfgshowDefinedconfiguration:cfg:Cfg_EngMktZone_Eng;Zone_Mktzone:Zone_EngEng_Host;Eng_Storzone:Zone_MktMkt_Host;Mkt_Storalias: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