⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mstp&etherchannel.txt

📁 我CCNP培训的课件和笔记
💻 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 + -