資源描述:
《cisco6509真實(shí)項(xiàng)目核心交換機(jī)配置vss配置》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在工程資料-天天文庫。
1、備r入層6權(quán)*Ml靈金入初始配置enconftnoipdomainlookuplinecon0loginexec-timeout030loggingsynchronousexitusernameetpasswordet6fenablesecretet6fhostname6F-CORE-SW(2)將核心交換機(jī)6F-CORE-SW01上與6F-CORE-SW02相連的接口TenGigabitEthernet5/4和TenGigabitEthernet5/5配置為EtherChannel:6F-CORE-SW01(config)#interfacerangete
2、nGigabitEthernet5/4-56F-CORE-SW01(config-if-range)#noshutdown%RangecommandterminatedbecauseitfailedonTenGigabitEthernet5/46F-CORE-SW01(config-if-range)#exit說明:將核心交換機(jī)6F-CORE-SW01上與6F-CORE-SW02相連的接口TenGigabitEthernet5/4和TenGigabitEthernet5/5配置為EtherChannel,為配置VSL作準(zhǔn)備。(3)配置VSS域名與VSS主機(jī)
3、號(hào):6F-CORE-SW01(config)#switchvirtualdomain100DomainID100configwilltakeeffectonlyaftertheexeccommand'switchconvertmodevirtua「isissued6F-CORE-SW01(config-vs-domain)#switch16F-CORE-SW01(config-vs-domain)#switch1priority2006F-CORE-SW01(config-vs-domain)#exit說明:這里沒有配置搶占,因?yàn)檎也坏綋屨歼@個(gè)命令(因?yàn)閍
4、ctive交換幾只是在控制層面起作用,實(shí)際的數(shù)據(jù)還是各自進(jìn)行轉(zhuǎn)發(fā)所以哪臺(tái)做active無所謂)配置VSS的域名為100,范圍為1-255,兩臺(tái)交換機(jī)必須相同;配置VSS的主機(jī)號(hào)碼為1,必須一臺(tái)為1,另一臺(tái)為2;并配置VSS優(yōu)先級(jí)為200,默認(rèn)為100,數(shù)字越大,優(yōu)先級(jí)越高,便能成為主VSS交換機(jī)。(4)配置VSL鏈路:6F-CORE-SW01(config-if)#switchvirtuallink16F-CORE-SW01(config-if)#noshutdown6F-CORE-SW01(config-if)#exit6F-CORE-SW01(conf
5、ig)#exit說明:將兩臺(tái)交換機(jī)互連的EtherChannel配置為VSL。(5)將交換機(jī)的工作模式改為VSS模式(確定之后,交換機(jī)將自動(dòng)重啟):6F-CORE-SW01#writeBuildingconfiguration...[OK]6F-CORE-SW01#6F-CORE-SW01#switchconvertmodevirtual(6)查看當(dāng)前交換機(jī)的工作模式:6F-CORE-SW01#showswitchvirtualSwitchmode:VirtualSwitchVirtualswitchdomainnumber:100Localswitchn
6、umber:1Localswitchoperationalrole:VirtualSwitchActive6F-CORE-SW01#說明:交換機(jī)當(dāng)前己經(jīng)工作在VSS模式,并顯示域名為100,本地交換機(jī)號(hào)碼為1,本地交換機(jī)的角色為Active,即具有控制權(quán)限的主交換機(jī)。(7)査看當(dāng)前交換機(jī)的VSS角色:6F-CORE-SW01#showswitchvirtualroleSwitchSwitchStatusPreemptPriorityRoleSessionIDNumberOper(Conf)Oper(Conf)LocalRemoteLOCAL1UPTRUE(
7、Y*)200(200)ACTIVE00Activeconfiguredpreempttimer(switch1):5minutesIndual-activerecoverymode:No6F-CORE-SW01#說明:本地交換機(jī)的角色為Active,即具有控制權(quán)限的主交換機(jī)。(8)查看當(dāng)前交換機(jī)的VSL鏈路狀態(tài):6F-CORE-SW01#showswitchvirtuallinkVSLStatus:DOWNVSLUptime:-VSLSCPPing:-VSLICCPing:-VSLControlLink:?說明:因?yàn)檫€沒有配置第二臺(tái)交換機(jī),所以本地交換機(jī)當(dāng)
8、前的VSL鏈路狀態(tài)為DOWNo二酒己置核心交換機(jī)SW02encon