全文预览已结束
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1.5生成树典型配置举例1.5.1MSTP典型配置举例1.组网需求l网络中所有设备都属于同一个MST域。Device A和Device B为汇聚层设备,Device C和Device D为接入层设备。l通过配置MSTP,使不同VLAN的报文按照不同的MSTI转发:VLAN 10的报文沿MSTI 1转发,VLAN 30沿MSTI 3转发,VLAN 40沿MSTI 4转发,VLAN 20沿MSTI 0转发。l由于VLAN 10和VLAN 30在汇聚层设备终结、VLAN 40在接入层设备终结,因此配置MSTI 1和MSTI 3的根桥分别为Device A和Device B,MSTI 4的根桥为Device C。2.组网图图1-11MSTP典型配置组网图3.配置步骤(1)配置VLAN和端口请按照图1-11在Device A和Device B上分别创建VLAN 10、20和30,在Device C上创建VLAN 10、20和40,在Device D上创建VLAN 20、30和40;将各设备的各端口配置为Trunk端口并允许相应的VLAN通过,具体配置过程略。(2)配置Device A#配置MST域的域名为example,将VLAN 10、30、40分别映射到MSTI 1、3、4上,并配置MSTP的修订级别为0。 system-viewDeviceA stp region-configurationDeviceA-mst-region region-name exampleDeviceA-mst-region instance 1 vlan 10DeviceA-mst-region instance 3 vlan 30DeviceA-mst-region instance 4 vlan 40DeviceA-mst-region revision-level 0#激活MST域的配置。DeviceA-mst-region active region-configurationDeviceA-mst-region quit#配置本设备为MSTI 1的根桥。DeviceA stp instance 1 root primary#全局使能生成树协议。DeviceA stp enable(3)配置Device B#配置MST域的域名为example,将VLAN 10、30、40分别映射到MSTI 1、3、4上,并配置MSTP的修订级别为0。 system-viewDeviceB stp region-configurationDeviceB-mst-region region-name exampleDeviceB-mst-region instance 1 vlan 10DeviceB-mst-region instance 3 vlan 30DeviceB-mst-region instance 4 vlan 40DeviceB-mst-region revision-level 0#激活MST域的配置。DeviceB-mst-region active region-configurationDeviceB-mst-region quit#配置本设备为MSTI 3的根桥。DeviceB stp instance 3 root primary#全局使能生成树协议。DeviceB stp enable(4)配置Device C#配置MST域的域名为example,将VLAN 10、30、40分别映射到MSTI 1、3、4上,并配置MSTP的修订级别为0。 system-viewDeviceC stp region-configurationDeviceC-mst-region region-name exampleDeviceC-mst-region instance 1 vlan 10DeviceC-mst-region instance 3 vlan 30DeviceC-mst-region instance 4 vlan 40DeviceC-mst-region revision-level 0#激活MST域的配置。DeviceC-mst-region active region-configurationDeviceC-mst-region quit#配置本设备为MSTI 4的根桥。DeviceC stp instance 4 root primary#全局使能生成树协议。DeviceC stp enable(5)配置Device D#配置MST域的域名为example,将VLAN 10、30、40分别映射到MSTI 1、3、4上,并配置MSTP的修订级别为0。 system-viewDeviceD stp region-configurationDeviceD-mst-region region-name exampleDeviceD-mst-region instance 1 vlan 10DeviceD-mst-region instance 3 vlan 30DeviceD-mst-region instance 4 vlan 40DeviceD-mst-region revision-level 0#激活MST域的配置。DeviceD-mst-region active region-configurationDeviceD-mst-region quit#全局使能生成树协议。DeviceD stp enable(6)检验配置效果当网络拓扑稳定后,通过使用display stp brief命令可以查看各设备上生成树的简要信息。例如:#查看Device A上生成树的简要信息。DeviceA display stp briefMSTID Port Role STP State Protection 0 Ethernet1/1 ALTE DISCARDING NONE 0 Ethernet1/2 DESI FORWARDING NONE 0 Ethernet1/3 ROOT FORWARDING NONE 1 Ethernet1/1 DESI FORWARDING NONE 1 Ethernet1/3 DESI FORWARDING NONE 3 Ethernet1/2 DESI FORWARDING NONE 3 Ethernet1/3 ROOT FORWARDING NONE#查看Device B上生成树的简要信息。DeviceB display stp briefMSTID Port Role STP State Protection 0 Ethernet1/1 DESI FORWARDING NONE 0 Ethernet1/2 DESI FORWARDING NONE 0 Ethernet1/3 DESI FORWARDING NONE 1 Ethernet1/2 DESI FORWARDING NONE 1 Ethernet1/3 ROOT FORWARDING NONE 3 Ethernet1/1 DESI FORWARDING NONE 3 Ethernet1/3 DESI FORWARDING NONE#查看Device C上生成树的简要信息。DeviceC display stp briefMSTID Port Role STP State Protection 0 Ethernet1/1 DESI FORWARDING NONE 0 Ethernet1/2 ROOT FORWARDING NONE 0 Ethernet1/3 DESI FORWARDING NONE 1 Ethernet1/1 ROOT FORWARDING NONE 1 Ethernet1/2 ALTE DISCARDING NONE 4 Ethernet1/3 DESI FORWARDING NONE#查看Device D上生成树的简要信息。DeviceD display stp briefMSTID Port Role STP State Protection 0 Ethernet1/1 ROOT FORWARDING
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年牛羊养殖粪污处理协议合同
- 园建工程分包合同范本(3篇)
- 2025年内容创作与分发平台可行性研究报告及总结分析
- 2025年项目管理师风险管理真题试卷(含答案)
- 2025年信息安全防护系统升级项目可行性研究报告及总结分析
- 2025年学生课外辅导平台可行性研究报告及总结分析
- 生活教师安全知识测试题及答案解析
- 2025年智能水杯研发项目可行性研究报告及总结分析
- 2025年银行从业资格公司信贷知识冲刺模拟试卷
- 中控工考试题答案
- 医科大学附属眼视光医院净化空调维保服务(2023-2026)招标文件
- 农业行业新进员工的入职培训计划
- 国门生物安全教育课件
- 15D502 等电位联结安装
- 英语A级历年真题及答案-英语学习技巧
- 药物涂层球囊临床应用中国专家共识(第二版)2023年解读
- 在中学教代会上的财务工作报告(精选多篇)-教代会财务工作报告
- 肥料企业管理制度整理汇编
- 糖尿病社区管理与病人居家护理
- 钢构件包装作业指导书
- GB/T 6561-2014十字槽沉头自挤螺钉
评论
0/150
提交评论