?? mstpðerchannel.txt
字號:
MSTP
1.繼承RSTP特性
2.支持多VLAN
3.支持為不同的實例生成獨立的ST
4.實現交換網絡STP環境的鏈路負載分擔
5.支持下后兼容
1).CST(公共生成樹)
2).IST(內部生成樹)
MSTP配置
步驟1 將交換機的STP模式配置為MST
Switch(config)#spanning-tree mode mst
步驟2 進入MST配置模式
Switch(config)#spanning-tree mst configuration
步驟3 創建MST區域
Switch(config-mst)#name { name }
步驟4 配置Revision number
Switch(config-mst)#revision { 0-65535 }
步驟5 配置Instance和VLAN的映射
Switch(config-mst)#instance { inst-number } vlan { vlan-id }
注意:
1.同一MST區域內的交換機在MST模式下的配置必須一致
2.MST的配置完成后需要使用命令"end"或者"exit"正常退出MST配置模式,否則配置將不會被保存
配置交換機為MST某一實例的根橋
Switch(config)#spanning-tree mst { inst-number } priority { priority }
驗證MST
Switch#show spanning-tree mst configuration
Switch#show spanning-tree mst { inst-number }
Switch(config-mst)#show pending
EtherChannel
1.提供冗余和負載均衡的功能
2.EtherChannel配置方法
1).強制
2).協商
a.PAgP(端口聚合協議)
b.LACP(鏈路聚合控制協議)
第二層EtherChannel配置
Switch(config-if)#channel-protocol { pagp | lacp }
Switch(config-if)#channel-group { number } mode { on | active | passive | desirable | auto }
第三層EtherChannel配置
步驟1 將物理接口配置為三層端口
Switch(config-if)#no switchport
步驟2 設置EtherChannel三層參數
Switch(config)#port-channel { number }
Switch(config-if)#no switchport
Switch(config-if)#ip address { address } { mask }
配置EtherChannel負載分擔
Switch(config)#port-channel load-balance { src-mac | dst-mac | src-dst-mac | src-ip | dst-ip | src-dst-ip }
驗證EtherChannel
Switch#show etherchannel { number } summary
1.RP
2.SE
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -