您好,欢迎访问三七文档
当前位置:首页 > 建筑/环境 > 工程监理 > VDX-6740-基础配置文档
博科VDX交换机快速配置手册一、登录交换机1.1串口线连接Windows平台:传输速率:9600bit/sec数据位:8校验位:None停止位:1流控制:None1.2登录交换机用户级别VDXSwitchenable------只能使用?、ping和show命令VDXSwitch#------查看交换机详细信息全局配置模式VDXSwitch#configureterminalVDXSwitch(config)#------配置模式二、升级交换机固件1、给交换机配一个管理地址:VDXSwitch#conftVDXSwitch#interfaceManagement1/0VDXSwitch#ipaddress10.77.77.76/242、使用FTP服务器升级固件VDXswitch#firmwaredownloadinteractivefirmwaredownloadinteractiveServernameorIPaddress:10.31.2.25Filename:/users/home40/Builds/NOS_v5.0.0Protocol(ftp,scp,sftp):ftpUser:fvtPassword:**********Domanualdownload[y/n]:nSystemsanitycheckpassed.Doyouwanttocontinue?[y/n]:y使用USB升级固件VDXSwitch#usbonVDXSwitch#usbdirVDXSwitch#firmwaredownloadusbdirectorynos6.0.0coldbootPerformingsystemsanitycheck...Thiscommandwillcauseacold/disruptiverebootandwillrequirethatexistingtelnet,securetelnetorSSHsessionsberestarted.Doyouwanttocontinue?[y/n]:yCheckingconditionsfordownloadingto6.0.0Systemsettingscheckpassed(0).检查升级后的版本VDXSwitch#showversion三、调整时区+设置本地时间VDXSwitch#clocktimezoneAsia/Shanghai(修改时区)VDXSwitch#clockset2015-05-21T16:10:00(设置本地时间)VDXSwitch#showclockrbridge-id1:2015-05-2115:56:10Asia/Shanghai四、设置timeoutVDXSwitch(config)#linevtyexec-timeout5(设置超时时间为5分钟)VDXSwitch(config-line-vty)#doshowrunning-configlinevtylinevtyexec-timeout5!五、添加/移除license添加license:VDXSwitch#licenseaddlicStr“*BH**********#“(添加license)移除license:VDXSwitch#licenseremovelicStr“FCOE_BASE“(移除license)六、设置登录密码VDXSwitch(config)#usernameadminroleadminpasswordpasswordenabletrue七、修改设备名称VDXSwitch#conftVDXSwitch(config)#switch-attributes1host-nameVDX6740chassis-nameVDX6740八、关闭telnet:Switch(config)#telnetservershutdown在VCS模式中关闭telnet:Switch(config)#rbridge-id3Switch(config-rbridge-id-3)#telnetservershutdown启用telnet:Switch(config)#notelnetservershutdown九、组建VCS逻辑机箱同一个VCS中每台VDX具有不同的RB-id和相同的VCSID:VDXSwitch#vcsrbridge-id1vcsid12logical-chassisenableVDXSwitch#showfabricislportsall十、修改principleswitchVDXswitch#configureVDXswitch(config)#rbridge-id5VDXswitch(config-rbridge-id-5)#logical-chassisprincipal-priority1VDXswitch(config-rbridge-id-5)#endVDXswitch#logical-chassisprincipal-switchover十一、创建VLANVDXSwitch(config)#interfacevlan10VDXSwitch(config)#interfaceTenGigabitEthernet1/0/1-4VDXSwitch(conf-if-te-1/0/1-4)#switchportVDXSwitch(conf-if-te-1/0/1-4)#switchportmodeaccessVDXSwitch(conf-if-te-1/0/1-4)#switchportaccessvlan10十二、给VLAN配置IP地址VDXSwitch(config)#rb1VDXSwitch(config-rbridge-id-1)#interfaceve10VDXSwitch(config-rbridge-Ve-30)#ipaddress172.168.2.19/24VDXSwitch(config-rbridge-Ve-30)#noshutdown十三、配置生成树协议(STP/RSTP)VDXSwitch(config)#protocolspanning-treestp/rstpVDXSwitch(config-stp)#bridge-priority4096十四、配置多生成树(MSTP)VDXSwitch(config)#protocolspanning-treemstpVDXSwitch(config-mstp)#instance10vlan10-19VDXSwitch(config-mstp)#instance20vlan20-29VDXSwitch(config-mstp)#instance10priority4096VDXSwitch(config)#interfaceTenGigabitEthernet1/0/1-4VDXSwitch(conf-if-te-1/0/1-4)#switchportmodetrunkVDXSwitch(conf-if-te-1/0/1-4)#switchporttrunkallowedvlanallVDXSwitch(conf-if-te-1/0/1-4)#intte2/0/1-4VDXSwitch(conf-if-te-2/0/1-4)#switchportmodetrunkVDXSwitch(conf-if-te-2/0/1-4)#switchporttrunkallowedvlanall十五、配置vLAGVDXSwitch(config)#interfacePort-channel10VDXSwitch(config-Port-channel-10)#vlagignore-splitVDXSwitch(config-Port-channel-10)#switchportVDXSwitch(config-Port-channel-10)#switchportmodetrunkVDXSwitch(config-Port-channel-10)#switchporttrunkallowedvlanallVDXSwitch(config-Port-channel-10)#noshutdownVDXSwitch_1(config)#intte1/0/1VDXSwitch(conf-if-te-1/0/1)#channel-group10modeactivetypestandardVDXSwitch_2(conf-if-te-1/0/1)#intte2/0/1VDXSwitch(conf-if-te-2/0/1)#channel-group10modeactivetypestandard十六、配置静态路由静态路由不是全局参数,需要进入到每台设备上配置:VDXSWITCH(config)#rb1VDXSWITCH(config-rbridge-id-1)#iproutex.x.x.x/xx.x.x.xVDXSWITCH(config)#rb2VDXSWITCH(config-rbridge-id-2)#iproutex.x.x.x/xx.x.x.x十七、配置OSPFOSPF不是全局参数,需要进入到每台设备上配置:VDXSWITCH(conf)#rb1VDXSWITCH(config-rbridge-id-1)#routerospfVDXSWITCH(config-router-ospf-vrf-default-vrf)#area0VDXSWITCH(config-rbridge-id-1)#intve30VDXSWITCH(config-rbridge-Ve-30)#ipospfarea0VDXSWITCH(config)#rb2VDXSWITCH(config-rbridge-id-2)#routerospfVDXSWITCH(config-router-ospf-vrf-default-vrf)#area0VDXSWITCH(config-router-ospf-vrf-default-vrf)#intve30VDXSWITCH(config-rbridge-Ve-30)#ipospfarea0十八、配置VRRP/VRRP-ERB1:VDXSWITCH(config)#rbridge1VDXSWITCH(config)#protocolvrrp-extendedVDXSWITCH(config)#interfaceve30VDXSWITCH(config)#vrrp-extended-group30VDXSWITCH(config)#priority125VDXSWITCH(config)#advertise-backupenableVDXSWITCH(config)#preempt-modeenableVDXSWITCH(config)#short-path-forwardingrevert-priority90VDXSWITCH(config)#vritual-ip172.168.2.100VDXSWITCH(config)#trackten1/0/6priority20VDXSWITCH(config)#enableRB2:VDXSWITCH(config)#rbridge2VDXSWITCH(config)#protocolvrrp-extendedVDXSWITCH(config)#interfaceve30VDXSWITCH(config)#vrrp-extended-group30VDXSWITCH(config)#priority120VDXSWITCH(config)#advertise-backupenableVDXSWITCH(config)#preempt-modeenableVDXSWITCH(config)#short-path-forwardingrevert-priority90VDXSWITCH(config)#vritual-ip172.168.2.100VDXSWITCH(confi
本文标题:VDX-6740-基础配置文档
链接地址:https://www.777doc.com/doc-6411475 .html