思科交換機(jī)+vrrp+mstp配置實(shí)例_第1頁
思科交換機(jī)+vrrp+mstp配置實(shí)例_第2頁
思科交換機(jī)+vrrp+mstp配置實(shí)例_第3頁
思科交換機(jī)+vrrp+mstp配置實(shí)例_第4頁
思科交換機(jī)+vrrp+mstp配置實(shí)例_第5頁
已閱讀5頁,還剩16頁未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

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

文檔簡介

交換機(jī)vrrp加mstp配置實(shí)例組網(wǎng)需求switcha、switchb選用兩臺銳捷的s5750;switchc、shwichd選用銳捷的s3750和s3760全網(wǎng)共有兩個(gè)業(yè)務(wù)vlan,為vlan10、vlan20Switcha、switchb都分別對兩vlan起用兩vrrp組,實(shí)現(xiàn)兩組的業(yè)務(wù)的負(fù)載分擔(dān)和備份。Switcha、switchb、switchc、switchd都起用mstp多生成數(shù)協(xié)議,并且所有設(shè)備都屬于同一個(gè)mst域,且實(shí)例映射一致〔vlan10映射實(shí)例1、vlan20映射實(shí)例2其他vlan映射默認(rèn)實(shí)例0〕。Vlan10業(yè)務(wù)以switcha為根橋;vlan20業(yè)務(wù)以switchb為根橋;實(shí)現(xiàn)阻斷網(wǎng)絡(luò)環(huán)路,并能實(shí)現(xiàn)不同vlan數(shù)據(jù)流負(fù)載分擔(dān)功能。組網(wǎng)圖配置步驟Switcha配置:s1#showrunBuildingconfiguration...Currentconfiguration:1651bytes!versionRGNOS10.2.00(2),Release(29287)(TueDec2520:39:14CST2007-ngcf49)hostnames1co-operateenable!!!vlan1!vlan10!vlan20!!noservicepassword-encryption!spanning-tree開啟生成樹〔默認(rèn)為mstp〕spanning-treemstconfiguration進(jìn)入mst配置模式revision1指定MSTrevisionnumber為1nameregion1指定mst配置名稱instance0vlan1-9,11-19,21-4094缺省情況下vlan都屬于實(shí)例0instance1vlan10手工指定vlan10屬于實(shí)例1instance2vlan20手工指定vlan20屬于實(shí)例2spanning-treemst1priority0指定實(shí)例1的優(yōu)先級為0〔為根橋〕spanning-treemst2priority4096指定實(shí)例2的優(yōu)先級為4096interfaceGigabitEthernet0/1switchportaccessvlan10配置g0/1屬于vlan10!interfaceGigabitEthernet0/2switchportaccessvlan20配置g0/2屬于vlan20!interfaceGigabitEthernet0/3!..interfaceGigabitEthernet0/24設(shè)置g0/24為trunk接口且允許vlan10/20通過switchportmodetrunk!interfaceVLAN10創(chuàng)立vlan10svi接口配置ip地址vrrp1priority120配置vrrp組1優(yōu)先級為120!interfaceVLAN20創(chuàng)立vlan20svi接口配置ip地址默認(rèn)vrrp組的優(yōu)先級為100默認(rèn)不顯示!linecon0linevty04logins1#showvlanVLANNameStatusPorts-------------------------------------------------------------------------------1VLAN0001STATICGi0/3,Gi0/4,Gi0/5,Gi0/6Gi0/7,Gi0/8,Gi0/9,Gi0/10Gi0/11,Gi0/12,Gi0/13,Gi0/14Gi0/15,Gi0/16,Gi0/17,Gi0/18Gi0/19,Gi0/20,Gi0/21,Gi0/22Gi0/23,Gi0/2410VLAN0010STATICGi0/1,Gi0/2420VLAN0020STATICGi0/2,Gi0/24Switchb配置:s2#showrunBuildingconfiguration...Currentconfiguration:1607bytes!versionRGNOS10.2.00(2),Release(27932)(ThuDec1310:32:09CST2007-ngcf31)hostnames2!!!vlan1!vlan10!vlan20!!noservicepassword-encryption!spanning-treespanning-treemstconfigurationrevision1nameregion1instance0vlan1-9,11-19,21-4094instance1vlan10instance2vlan20spanning-treemst1priority4096spanning-treemst2priority0interfaceGigabitEthernet0/1switchportaccessvlan10!interfaceGigabitEthernet0/2switchportaccessvlan20!..interfaceGigabitEthernet0/24switchportmodetrunk!interfaceVLAN10!interfaceVLAN20vrrp2priority120!linecon0linevty04login!!ends2#showvlanVLANNameStatusPorts--------------------------------------------------------------------------------1VLAN0001STATICGi0/3,Gi0/4,Gi0/5,Gi0/6Gi0/7,Gi0/8,Gi0/9,Gi0/10Gi0/11,Gi0/12,Gi0/13,Gi0/14Gi0/15,Gi0/16,Gi0/17,Gi0/18Gi0/19,Gi0/20,Gi0/21,Gi0/22Gi0/23,Gi0/2410VLAN0010STATICGi0/1,Gi0/2420VLAN0020STATICGi0/2,Gi0/24Switchc配置:s3#showrunBuildingconfiguration...Currentconfiguration:1540bytes!versionRGNOS10.2.00(2),Release(28794)(FriDec2109:27:15CST2007-ngcf32)hostnames3!vlan1!vlan10!!servicepassword-encryption!spanning-treespanning-treemstconfigurationrevision1nameregion1instance0vlan1-9,11-19,21-4094instance1vlan10instance2vlan20spanning-treemst1priority0spanning-treemst2priority4096interfaceFastEthernet0/1switchportaccessvlan10!interfaceFastEthernet0/2switchportaccessvlan10!..interfaceGigabitEthernet0/25!interfaceGigabitEthernet0/26!interfaceGigabitEthernet0/27!interfaceGigabitEthernet0/28!interfaceVLAN10!!!linecon0linevty04loginSwitchd配置:s4#showrunBuildingconfiguration...Currentconfiguration:1066bytes!versionRGNOS10.2.00(2),Release(27932)(ThuDec1310:31:41CST2007-ngcf32)hostnames4!vlan1!vlan20!!noservicepassword-encryption!spanning-treespanning-treemstconfigurationrevision1nameregion1instance0vlan1-9,11-19,21-4094instance1vlan10instance2vlan20spanning-treemst1priority4096spanning-treemst2priority0interfaceGigabitEthernet0/1switchportaccessvlan20!interfaceGigabitEthernet0/2switchportaccessvlan20!..interfaceGigabitEthernet0/12!interfaceVLAN20!!!!!!linecon0linevty04login!查看vrrp、mstp信息Switcha信息:s1#showvrrp查看vrrp信息VLAN10-Group1StateisMasterVirtualIPaddressis54configuredAdvertisementintervalis1secPreemptionisenabledmindelayis0secPriorityis120MasterRouteris(local),priorityis120MasterAdvertisementintervalis1secMasterDownintervalis3secVLAN20-Group2StateisBackupVirtualIPaddressis54configuredAdvertisementintervalis1secPreemptionisenabledmindelayis0secPriorityis100MasterRouteris,priorityis120MasterAdvertisementintervalis1secMasterDownintervalis3secs1#s1#s1#s1#showspanning-treeinterfacegigabitEthernet0/1查看g0/1接口stp狀態(tài)信息PortAdminPortFast:DisabledPortOperPortFast:DisabledPortAdminAutoEdge:EnabledPortOperAutoEdge:DisabledPortAdminLinkType:autoPortOperLinkType:point-to-pointPortBPDUGuard:DisabledPortBPDUFilter:Disabled######MST0vlansmapped:1-9,11-19,21-4094PortState:forwardingPortPriority:128PortDesignatedCost:0PortDesignatedPort:8001PortForwardTransitions:6PortAdminPathCost:200000PortOperPathCost:200000PortRole:designatedPort######MST1vlansmapped:10PortState:forwardingPortPriority:128PortDesignatedCost:0PortDesignatedPort:8001PortForwardTransitions:5PortAdminPathCost:200000PortOperPathCost:200000PortRole:rootPort######MST2vlansmapped:20PortState:forwardingPortPriority:128PortDesignatedCost:0PortDesignatedPort:8001PortForwardTransitions:4PortAdminPathCost:200000PortOperPathCost:200000PortRole:designatedPorts1#s1#s1#showspanning-treeinterfacegigabitEthernet0/2查看g0/2接口stp狀態(tài)信息PortAdminPortFast:DisabledPortOperPortFast:DisabledPortAdminAutoEdge:EnabledPortOperAutoEdge:DisabledPortAdminLinkType:autoPortOperLinkType:point-to-pointPortBPDUGuard:DisabledPortBPDUFilter:Disabled######MST0vlansmapped:1-9,11-19,21-4094PortState:forwardingPortPriority:128PortDesignatedCost:0PortDesignatedPort:8002PortForwardTransitions:5PortAdminPathCost:20000PortOperPathCost:20000PortRole:designatedPort######MST1vlansmapped:10PortState:forwardingPortPriority:128PortDesignatedCost:0PortDesignatedPort:8002PortForwardTransitions:4PortAdminPathCost:20000PortOperPathCost:20000PortRole:designatedPort######MST2vlansmapped:20PortState:discardingPortPriority:128PortDesignatedCost:0PortDesignatedPort:8002PortForwardTransitions:3PortAdminPathCost:20000PortOperPathCost:20000PortRole:alternatePorts1#s1#s1#showspanning-treeinterfacegigabitEthernet0/24g0/24接口stp狀態(tài)信息PortAdminPortFast:DisabledPortOperPortFast:DisabledPortAdminAutoEdge:EnabledPortOperAutoEdge:DisabledPortAdminLinkType:autoPortOperLinkType:point-to-pointPortBPDUGuard:DisabledPortBPDUFilter:Disabled######MST0vlansmapped:1-9,11-19,21-4094PortState:forwardingPortPriority:128PortDesignatedCost:0PortDesignatedPort:8018PortForwardTransitions:5PortAdminPathCost:20000PortOperPathCost:20000PortRole:rootPort######MST1vlansmapped:10PortState:forwardingPortPriority:128PortDesignatedCost:0PortDesignatedPort:8018PortForwardTransitions:5PortAdminPathCost:20000PortOperPathCost:20000PortRole:designatedPort######MST2vlansmapped:20PortState:forwardingPortPriority:128PortDesignatedCost:0PortDesignatedPort:8018PortForwardTransitions:4PortAdminPathCost:20000PortOperPathCost:20000PortRole:rootPorts1#Switchb信息:s2#showvrrpVLAN10-Group1StateisBackupVirtualIPaddressis54configuredAdvertisementintervalis1secPreemptionisenabledmindelayis0secPriorityis100MasterRouteris,priorityis120MasterAdvertisementintervalis1secMasterDownintervalis3secVLAN20-Group2StateisMasterVirtualIPaddressis54configuredAdvertisementintervalis1secPreemptionisenabledmindelayis0secPriorityis120MasterRouteris(local),priorityis120MasterAdvertisementintervalis1secMasterDownintervalis3secs2#s2#s2#s2#s2#s2#s2#showspanning-treeinterfacegigabitEthernet0/1PortAdminPortFast:DisabledPortOperPortFast:DisabledPortAdminAutoEdge:EnabledPortOperAutoEdge:DisabledPortAdminLinkType:autoPortOperLinkType:point-to-pointPortBPDUGuard:DisabledPortBPDUFilter:Disabled######MST0vlansmapped:1-9,11-19,21-4094PortState:forwardingPortPriority:128PortDesignatedCost:0PortDesignatedPort:8001PortForwardTransitions:1PortAdminPathCost:200000PortOperPathCost:200000PortRole:designatedPort######MST1vlansmapped:10PortState:forwardingPortPriority:128PortDesignatedCost:0PortDesignatedPort:8002PortForwardTransitions:2PortAdminPathCost:200000PortOperPathCost:200000PortRole:rootPort######MST2vlansmapped:20PortState:forwardingPortPriority:128PortDesignatedCost:0PortDesignatedPort:8001PortForwardTransitions:1PortAdminPathCost:200000PortOperPathCost:200000PortRole:designatedPorts2#s2#s2#s2#showspanning-treeinterfacegigabitEthernet0/2PortAdminPortFast:DisabledPortOperPortFast:DisabledPortAdminAutoEdge:EnabledPortOperAutoEdge:DisabledPortAdminLinkType:autoPortOperLinkType:point-to-pointPortBPDUGuard:DisabledPortBPDUFilter:Disabled######MST0vlansmapped:1-9,11-19,21-4094PortState:forwardingPortPriority:128PortDesignatedCost:0PortDesignatedPort:8002PortForwardTransitions:1PortAdminPathCost:20000PortOperPathCost:20000PortRole:designatedPort######MST1vlansmapped:10PortState:forwardingPortPriority:128PortDesignatedCost:0PortDesignatedPort:8002PortForwardTransitions:2PortAdminPathCost:20000PortOperPathCost:20000PortRole:designatedPort######MST2vlansmapped:20PortState:forwardingPortPriority:128PortDesignatedCost:0PortDesignatedPort:8002PortForwardTransitions:1PortAdminPathCost:20000PortOperPathCost:20000PortRole:designatedPorts2#s2#s2#s2#s2#showspanning-treeinterfacegigabitEthernet0/24PortAdminPortFast:DisabledPortOperPortFast:DisabledPortAdminAutoEdge:EnabledPortOperAutoEdge:DisabledPortAdminLinkType:autoPortOperLinkType:point-to-pointPortBPDUGuard:DisabledPortBPDUFilter:Disabled######MST0vlansmapped:1-9,11-19,21-4094PortState:forwardingPortPriority:128PortDesignatedCost:0PortDesignatedPort:8018PortForwardTransitions:1PortAdminPathCost:20000PortOperPathCost:20000PortRole:designatedPort######MST1vlansmapped:10PortState:discardingPortPriority:128PortDesignatedCost:0PortDesignatedPort:8018PortForwardTransitions:1PortAdminPathCost:20000PortOperPathCost:20000PortRole:alternatePort######MST2vlansmapped:20PortState:forwardingPortPriority:128PortDesignatedCost:0PortDesignatedPort:8018PortForwardTransitions:1PortAdminPathCost:20000PortOperPathCost:20000PortRole:designatedPorts2#Switchc信息:s3#showspanning-treeinterfacefastEthernet0/1PortAdminPortFast:DisabledPortOperPortFast:DisabledPortAdminAutoEdge:EnabledPortOperAutoEdge:DisabledPortAdminLinkType:autoPortOperLinkType:point-to-pointPortBPDUGuard:DisabledPortBPDUFilter:Disabled######MST0vlansmapped:1-9,11-19,21-4094PortState:discardingPortPriority:128PortDesignatedCost:0PortDesignatedPort:8001PortForwardTransitions:1PortAdminPathCost:200000PortOperPathCost:200000PortRole:alternatePort######MST1vlansmapped:10PortState:forwardingPortPriority:128PortDesignatedCost:0PortDesignatedPort:8001PortForwardTransitions:1PortAdminPathCost:200000PortOperPathCost:200000PortRole:designatedPort######MST2vlansmapped:20PortState:discardingPortPriority:128PortDesignatedCost:0PortDesignatedPort:8001PortForwardTransitions:0PortAdminPathCost:200000PortOperPathCost:200000PortRole:alternatePorts3#s3#s3#s3#s3#showspanning-treeinterfacefastEthernet0/2PortAdminPortFast:DisabledPortOperPortFast:DisabledPortAdminAutoEdge:EnabledPortOperAutoEdge:DisabledPortAdminLinkType:autoPortOperLinkType:point-to-pointPortBPDUGuard:DisabledPortBPDUFilter:Disabled######MST0vlansmapped:1-9,11-19,21-4094PortState:forwardingPortPriority:128PortDesignatedCost:0PortDesignatedPort:8001PortForwardTransitions:1PortAdminPathCost:200000PortOperPathCost:200000PortRole:rootPort######MST1vlansmapped:10PortState:forwardingPortPriority:128PortDesignatedCost:0PortDesignatedPort:8002PortForwardTransitions:2PortAdminPathCost:200000PortOperPathCost:200000PortRole:designatedPort######MST2vlansmapped:20PortState:forwardingPortPriority:128PortDesignatedCost:0PortDesignatedPort:8001PortForwardTransitions:1PortAdminPathCost:200000PortOperPathCost:200000PortRole:rootPorts3#Switchd信息:s4#showspanning-treeinterfacegigabitEthernet0/1PortAdminPortFast:DisabledPortOperPortFast:DisabledPortAdminAutoEdge:EnabledPortOperAutoEdge:DisabledPortAdminLinkType:autoPortOperLinkType:point-to-pointPortBPDUGuard:DisabledPortBPDUFilter:Disabled######MST0vlansmapped:1-9,11-19,21-4094PortState:forwardingPortPriority:128PortDesignatedCost:0PortDesignatedPort:8002PortForwardTransitions:1PortAdminPathCost:20000PortOperPathCost:20000PortRole:rootPort######MST1vlansmapped:10PortState:discardingPortPriority:128PortDesignatedCost:0PortDesignatedPort:8002PortForwardTransitions:1PortAdminPathCost:20000PortOperPathCost:20000PortRole:alternatePort######MST2vlansmapped:20PortState:forwardingPortPriority:128PortDesignatedCost:0PortDesignatedPort:8002PortForwardTransitions:1PortAdminPathCost:20000PortOperPathCost:20000PortRole:rootPorts4#s4#s4#s4#showspanning-treeinterfacegigabitEthernet0/2PortAdminPortFast:DisabledPortOperPortFast:DisabledPortAdminAutoEdge:EnabledPortOperAutoEdge:DisabledPortAdminLinkType:autoPortOperLinkType:point-to-pointPortBPDUGuard:DisabledPortBPDUFilter:Disabled######MST0vlansmapped:1-9,11-19,21-4094PortState:discardingPortPriority:128PortDesignatedCost:0

溫馨提示

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

評論

0/150

提交評論