您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 人事档案/员工关系 > 系列MSTP的测试与配置
MSTP的测试与配置一、测试拓扑:测试思路:划分三个MSTPregion,分别对应三个vlan。将不同交换机设成不同region的RegionRoot。例如:vlan10MST14909为RegionRootvlan20MST22126为RegionRootvlan30MST33550-24为RegionRoot打开MSTP后,应该形成如下型态:对vlan10对vlan20对vlan30下面是各交换机的配置及打开生成树后的discard情况各交换机配置:4909交换机:4909#shrunversion1.0!hostname4909spanning-treespanning-treemstconfigurationinstance1vlan10instance2vlan20instance3vlan30!spanning-treemst1priority4096\\设置MST1的优先级为4096,缺省为32768interfaceFastEthernet1/1switchportaccessvlan10!interfaceFastEthernet1/2switchportaccessvlan20!interfaceFastEthernet1/3switchportaccessvlan30!interfaceFastEthernet1/7switchportmodetrunk!interfaceFastEthernet1/8switchportmodetrunk!end3550-24交换机:3550-24#shrunversion1.0!hostname3550-24spanning-treespanning-treemstconfigurationinstance1vlan10instance2vlan20instance3vlan30!spanning-treemst3priority4096\\设置MST3的优先级为4096,缺省为32768interfaceFastEthernet0/1switchportaccessvlan10!interfaceFastEthernet0/2switchportaccessvlan20!interfaceFastEthernet0/3switchportaccessvlan30!interfaceFastEthernet0/23switchportmodetrunk!interfaceFastEthernet0/24switchportmodetrunk!end2126G交换机的配置2126G#shrunversion1.0!noenableservicesweb-serverhostname2126G!spanning-treespanning-treemstconfigurationinstance1vlan10instance2vlan20instance3vlan30!spanning-treemst2priority4096\\设置MST2的优先级为4096,缺省为32768interfacefastEthernet0/1switchportaccessvlan10!interfacefastEthernet0/2switchportaccessvlan20!interfacefastEthernet0/3switchportaccessvlan30!interfacefastEthernet0/23switchportmodetrunk!interfacefastEthernet0/24switchportmodetrunk!end各vlan生成树的断点discarding4909#shspanintfa1/8PortAdminPortfast:DisabledPortOperPortfast:DisabledPortAdminLinkType:autoPortOperLinkType:point-to-pointPortBPDUGuard:DisabledPortBPDUFilter:Disabled######MST0vlansmapped:1-9,11-19,21-29,31-3072PortState:forwardingPortPriority:128PortDesignatedRoot:800000D0F8EFA461PortDesignatedCost:0PortDesignatedBridge:800000D0F8EFA461PortDesignatedPort:8018PortForwardTransitions:1PortAdminPathCost:0PortOperPathCost:200000PortRole:rootPort######MST1vlansmapped:10PortState:forwardingPortPriority:128PortDesignatedRoot:100100D0F8F6C081PortDesignatedCost:0PortDesignatedBridge:100100D0F8F6C081PortDesignatedPort:8008PortForwardTransitions:1PortAdminPathCost:0PortOperPathCost:200000PortRole:designatedPort######MST2vlansmapped:20PortState:forwardingPortPriority:128PortDesignatedRoot:100200D0F8EFA461PortDesignatedCost:0PortDesignatedBridge:100200D0F8EFA461PortDesignatedPort:8018PortForwardTransitions:1PortAdminPathCost:0PortOperPathCost:200000PortRole:rootPort######MST3vlansmapped:30PortState:discarding\\MST3(vlan30)的discarding在4909的第8口PortPriority:128PortDesignatedRoot:100300D0F8FEF025PortDesignatedCost:200000PortDesignatedBridge:800300D0F8EFA461PortDesignatedPort:8018PortForwardTransitions:1PortAdminPathCost:0PortOperPathCost:200000PortRole:alternatePort3550-24#shspanintfa0/24PortAdminPortfast:DisabledPortOperPortfast:DisabledPortAdminLinkType:autoPortOperLinkType:point-to-pointPortBPDUGuard:DisabledPortBPDUFilter:Disabled######MST0vlansmapped:1-9,11-19,21-29,31-4094PortState:forwardingPortPriority:128PortDesignatedRoot:800000D0F8EFA461PortDesignatedCost:0PortDesignatedBridge:800000D0F8EFA461PortDesignatedPort:8017PortForwardTransitions:1PortAdminPathCost:0PortOperPathCost:200000PortRole:rootPort######MST1vlansmapped:10PortState:discarding\\MST1(vlan10)的discarding在3550-24的第24口PortPriority:128PortDesignatedRoot:100100D0F8F6C081PortDesignatedCost:200000PortDesignatedBridge:800100D0F8EFA461PortDesignatedPort:8017PortForwardTransitions:2PortAdminPathCost:0PortOperPathCost:200000PortRole:alternatePort######MST2vlansmapped:20PortState:forwardingPortPriority:128PortDesignatedRoot:100200D0F8EFA461PortDesignatedCost:0PortDesignatedBridge:100200D0F8EFA461PortDesignatedPort:8017PortForwardTransitions:1PortAdminPathCost:0PortOperPathCost:200000PortRole:rootPort######MST3vlansmapped:30PortState:forwardingPortPriority:128PortDesignatedRoot:100300D0F8FEF025PortDesignatedCost:0PortDesignatedBridge:100300D0F8FEF025PortDesignatedPort:8018PortForwardTransitions:1PortAdminPathCost:0PortOperPathCost:200000PortRole:designatedPort2126G#shspanintfa0/23PortAdminPortfast:DisabledPortOperPortfast:DisabledPortAdminLinkType:autoPortOperLinkType:point-to-pointPortBPDUGuard:DisabledPortBPDUFilter:Disabled######MST0vlansmapped:1-9,11-19,21-29,31-4094PortState:discardingPortPriority:128PortDesignatedRoot:800000D0F8EFA461PortDesignatedCost:0PortDesignatedBridge:800000D0F8F6C081PortDesignatedPort:8007PortForwardTransitions:3PortAdminPathCost:0PortOperPathCost:200000PortRole:alternatePort######MST1vlansmapped:10PortState:forwardingPortPriority:128PortDesignatedRoot:100100D0F8F6C081PortDesignatedCost:0PortDesignatedBridge:100100D0F8F6C081PortDesignatedPort:8007PortForwardTransitions:3PortAdminPathCost:0PortOperPathCost:200000PortRole:rootPort######MST2vlansmapped:20PortState:discarding\\MST2(vlan20)的discarding在2126G的第23口PortPriority:128PortDesignatedRoot:100200D0F8EFA461PortDesignatedCost:200000PortDesignatedBridge:800200D0F8F6C081Po
本文标题:系列MSTP的测试与配置
链接地址:https://www.777doc.com/doc-3966889 .html