hcnphcdp中文培訓(xùn)材料0102帶備注mstp原理與配置_第1頁
hcnphcdp中文培訓(xùn)材料0102帶備注mstp原理與配置_第2頁
hcnphcdp中文培訓(xùn)材料0102帶備注mstp原理與配置_第3頁
hcnphcdp中文培訓(xùn)材料0102帶備注mstp原理與配置_第4頁
hcnphcdp中文培訓(xùn)材料0102帶備注mstp原理與配置_第5頁
已閱讀5頁,還剩26頁未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

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

文檔簡介

MSTP原理與配置前言本課程介紹MSTP(多生成樹協(xié)議)的原理與配置。MSTP用于解決啟用VLAN的交換網(wǎng)絡(luò)中的環(huán)路問題。Page1培訓(xùn)目標(biāo)學(xué)完本課程后,您應(yīng)該能:描述MSTP的基本概念描述MSTP高級(jí)配置Page2目錄MSTP基本概念MSTP高級(jí)配置Page3目錄MSTP基本概念MSTP高級(jí)配置Page4單個(gè)生成樹的弊端-部分VLAN路徑不通LANALANB5700-A5700-B3700VLAN2VLAN3RootDDDDDRRDiscardingAVLAN2此路徑被斷開,VLAN3路徑不通VLAN3VLAN2通過所有VLANPage5單個(gè)生成樹的弊端-無法使用流量分擔(dān)LANALANBVLAN2VLAN3RootDDDDDRRDiscardingAVLAN2此路徑被斷開,不能流量分擔(dān)VLAN3Page65700-A5700-B3700單個(gè)生成樹的弊端-次優(yōu)二層路徑LANALANBVLAN2VLAN3RootDDDDDRRDiscardingAVLAN2創(chuàng)建VLAN3的三層接口VLAN3創(chuàng)建VLAN2的三層接口VLAN3路徑次優(yōu)Page75700-A5700-B3700MSTP基本概念-多生成樹實(shí)例(MST

Instance)LANALANBVLAN2VLAN3DDDDRRInstance

2的根交換機(jī)Instance

1:包含VLAN2Instance

2:包含VLAN3Instance

1的根交換機(jī)Page8DRAADDRD5700-A5700-B3700MST配置表(MST

Configuration

Table)0x00002

Bytes2

Bytes0x00004096個(gè)兩字節(jié)元素此數(shù)值表示VLAN

1所映射到的

MST

Instance的MSTID此數(shù)值表示VLAN4094所映射到的MST

Instance的MSTIDPage9MSTP基本概念-MST區(qū)域(MST

Region)RegionARegionCRegionBInstance

1的根交換機(jī)Instance

1:包含VLAN2Instance

1的根交換機(jī)Instance

1:包含VLAN2Page10MST配置標(biāo)識(shí)(MST

Configuration

Identifier)Page11Configuration

IdentifierFormatSelectorConfiguration

NameRevisionLevelConfiguration

Digest1

Byte32

Bytes2

Bytes16

Bytes0x00區(qū)域名稱修訂級(jí)別MST配置表摘要MST

Instance的基本計(jì)算過程LANALANBSWASWBDDDRRAInstance

1:VLAN2MSTI

RegionalRootPage124096.00e0-fc16-ee438192.00e0-fc41-425932768.00e0-fc41-43b9DSWCVLAN2MSTP基本配置-物理拓?fù)銵ANALANBSWASWBSWCVLAN2VLAN3MSTIRegional

RootInstance

1:VLAN2Instance

2:VLAN3MSTIRegional

RootA

ATrunkTrunkTrunkPage13E1/0/2E1/0/3E1/0/12E1/0/13E1/0/12E1/0/13E1/0/15E1/0/15MSTP基本配置-配置SWA的MST域參數(shù)[SWA]stp

enable[SWA]stp

mode

mstp[SWA]stp

region-configuration[SWA-mst-region]region-name

RegionA[SWA-mst-region]revision-level

1[SWA-mst-region]instance

1

vlan

2[SWA-mst-region]instance

2

vlan

3[SWA-mst-region]active

region-configuration[SWA-mst-region]quit[SWA]stp

instance

1

priority

4096[SWA]stp

instance

2

priority

8192[SWA]Page14說明:SWB、SWC配置MST域參數(shù)類似,不再贅述。Page15MSTP基本配置-設(shè)置RSTP點(diǎn)到點(diǎn)鏈路和邊緣端口[SWA]interface

Ethernet

1/0/12[SWA-Ethernet1/0/12]stp

point-to-pointforce-true[SWA]interface

Ethernet

1/0/15[SWA-Ethernet1/0/15]stp

point-to-pointforce-true[SWB]interface

Ethernet

1/0/13[SWB-Ethernet1/0/13]stp

point-to-pointforce-true[SWB]interface

Ethernet

1/0/15[SWB-Ethernet1/0/15]stp

point-to-pointforce-true[SWC]interface

Ethernet

1/0/12[SWC-Ethernet1/0/12]stp

point-to-pointforce-true[SWC]interface

Ethernet

1/0/13[SWC-Ethernet1/0/13]stp

point-to-pointforce-true[SWC]interface

Ethernet

1/0/2[SWC-Ethernet1/0/2]stp

edged-port

enable[SWC]interface

Ethernet

1/0/3[SWC-Ethernet1/0/3]stp

edged-port

enablePage16MSTP基本配置-驗(yàn)證MSTP基本信息[SWA]display

stp

briefMSTID001122PortEthernet1/0/12Ethernet1/0/15Ethernet1/0/12Ethernet1/0/15Ethernet1/0/12Ethernet1/0/15RoleDESIROOTDESIDESIDESIROOTSTP

StateFORWARDINGFORWARDINGFORWARDINGFORWARDINGFORWARDINGFORWARDINGProtectionNONENONENONENONENONENONE[SWB]display

stp

briefPage17MSTID001122PortEthernet1/0/13Ethernet1/0/15Ethernet1/0/13Ethernet1/0/15Ethernet1/0/13Ethernet1/0/15RoleDESIDESIDESIROOTDESIDESISTP

StateFORWARDINGFORWARDINGFORWARDINGFORWARDINGFORWARDINGFORWARDINGProtectionNONENONENONENONENONENONEMSTP基本配置-驗(yàn)證MSTP基本信息[SWC]display

stp

briefPage18MSTIDPortRoleSTP

StateProtection0Ethernet1/0/2DESIFORWARDINGNONE0Ethernet1/0/3DESIFORWARDINGNONE0Ethernet1/0/12ALTEDISCARDINGNONE0Ethernet1/0/13ROOTFORWARDINGNONE1Ethernet1/0/2DESIFORWARDINGNONE1Ethernet1/0/12ROOTFORWARDINGNONE1Ethernet1/0/13ALTEDISCARDINGNONE2Ethernet1/0/3DESIFORWARDINGNONE2Ethernet1/0/12ALTEDISCARDINGNONE2Ethernet1/0/13ROOTFORWARDINGNONE目錄MSTP基本概念MSTP高級(jí)配置Page19MSTP工作模式Page20[SWB]stpmodestp[SWB]stpmoderstp[SWB]stpmodemstp工作模式描述STP只能和STP交換機(jī)交互,只能在端口上收發(fā)配置BPDU。RSTP運(yùn)行RSTP,如果檢測到端口相鄰的交換機(jī)運(yùn)行在STP模式下,則運(yùn)行STP。MSTP運(yùn)行MSTP,如果檢測到端口相鄰的交換機(jī)運(yùn)行在

RSTP模式下,則運(yùn)行RSTP,如果檢測到端口相鄰的交換機(jī)運(yùn)行在STP模式,則運(yùn)行STP。[SWB]stp

mcheck設(shè)置交換機(jī)為主用/備用根交換機(jī)Page21[SWA]stp

instance

0

root

primary[SWA]display

stp

instance

0[CIST

Global

Info][Mode

MSTP]-CIST

Bridge

:0.000f-e212-f8e1Bridge

Times :Hello

2s

MaxAge

20s

FwDly

15s

MaxHop

20CISTRoot/ERPC:0.000f-e212-f8e1

/

0CISTRegRoot/IRPC:0.000f-e212-f8e1

/

0CISTRootPortId:0.0CISTRoot

Type:PRIMARY

root[SWB]stp

instance

0

root

secondary[SWB]display

stp

instance

0[CIST

Global

Info][Mode

MSTP]-CIST

Bridge

:4096.000f-e212-f890Bridge

Times :Hello

2s

MaxAge

20s

FwDly

15s

MaxHop

20CISTRoot/ERPC:0.000f-e212-f8e1

/

199999CISTRegRoot/IRPC:4096.000f-e212-f890/

0CISTRootPortId:128.13CISTRoot

Type:SECONDARY

root配置MSTP最大跳數(shù)[SWA]stp

max-hops

30[SWA]display

stp[CIST

Global

Info][Mode

MSTP]-Page22CIST

BridgeBridge

TimesCIST

Root/ERPCCIST

RegRoot/IRPCCIST

RootPortIdBPDU-ProtectionCIST

Root

TypeTC

or

TCN

receivedTime

since

last

TC:0.000f-e212-f8e1:Hello

2s

MaxAge

20s

FwDly

15s

MaxHop

30:0.000f-e212-f8e1

/

0:0.000f-e212-f8e1

/

0:0.0:disabled:PRIMARY

root:3:0

days

1h:23m:36s調(diào)整時(shí)間參數(shù)[SWA]stp

timer

?Page23forward-delaySpecifyforward

delayhelloSpecifyhello

time

intervalmax-ageSpecifymax

age[SWA]stp

timer-factor

?INTEGER<1-10> Aged

out

time

factor網(wǎng)絡(luò)直徑與時(shí)間參數(shù)的關(guān)系Page24網(wǎng)絡(luò)直徑Hello

TimerMax

AgeForward

Delay22s10s7s32s12s9s42s14s10s52s16s12s62s18s13s72s20s15s[SWA]stp

bridge-diameter

?INTEGER<2-7> Bridge

diameter配置邊緣端口保護(hù)[SWA]stp

bpdu-protection[SWA][SWA]display

stp[CIST

Global

Info][Mode

MSTP]-Page25CIST

BridgeBridge

Times

CIST

Root/ERPCCIST

RegRoot/IRPCCIST

RootPortIdBPDU-ProtectionTC

or

TCN

receivedTime

since

last

TC:32768.000f-e212-f8e1:Hello

2s

MaxAge

20s

FwDly

15s

MaxHop

20:32768.000f-e212-f8e1/

0:32768.000f-e212-f8e1/

0:0.0:enabled:0:0

days

1h:19m:5s配置根交換機(jī)的指定端口保護(hù)[SWA]

interface

Ethernet

1/0/13[SWA-Ethernet0/0/13]

stp

root-protection[SWA]display

stp

interface

Ethernet

1/0/13[CIST][Port13(Ethernet1/0/13)][FORWARDING]-Page26PortProtocol:enabledPortRole:CIST

Designated

PortPortPriority:128PortCost(Dot1T):Config=auto

/

Active=199999Desg.

Bridge/PortPort

EdgedPoint-to-pointTransit

LimitProtection

Type:0.000f-e212-f8e1

/

128.13:Config=disabled

/

Active=disabled:Config=auto

/

Active=true:3

packets/hello-time:RootNum

of

Vlans

Mapped

:1PortTimesBPDU

Sent:Hello

2s

MaxAge

20s

FwDly

15s

RemHop

0:18TCN:0,Config:

0,

RST:

0,

MST:18BPDU

Received:0TCN:0,Config:

0,

RST:

0,

MST:0配置環(huán)路保護(hù)功能[SWB]

interface

Ethernet

1/0/13[SWB-Ethernet0/0/13]

stp

loop-

溫馨提示

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

評(píng)論

0/150

提交評(píng)論