Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

如何在 Dell Networking PowerConnect Campus 交换机上通过命令行管理多生成树 (MSTP)

Summary: 如何在 Dell PowerConnect 交换机上设置 MSTP, 如何在 Dell PowerConnect 交换机上设置多生成树协议

This article may have been automatically translated. If you have any feedback regarding its quality, please let us know using the form at the bottom of this page.

Article Content


Instructions



本文介绍如何在 Dell Networking PowerConnect Campus 交换机上实施多生成树协议 (MSTP) 



目录
 

1.  启用 MSTP
4.  命令验证

 

启用 MSTP

 
 

1. 将 STP 操作模式设置为 MSTP。

console(config)#spanning-tree mode mst

 

2.创建 MST 实例并将其关联到 VLAN

console(config)#spanning-tree mst configuration

console(config-mst)#instance 10 add vlan 10


 

您环境中的每个 VLAN 都需要与 MST 实例关联,才能正确参加 MSTP 拓扑

 

HOW10525_zh_CN__1icon Dell Networking PowerConnect 交换机最多支持 8 个 MSTP 实例。Dell Networking N 系列交换机最多可支持 16 个 MSTP 实例。


 

3.创建区域名称,以便所有希望属于同一区域的网桥可以形成该区域。

console(config)#spanning-tree mst configuration

console(config-mst)#name dell


 

设置根桥接优先级


 

1.通过配置更高的根桥接优先级,可以将一个交换机在全局上设置为区域根。

console(config)#spanning-tree priority 8192


 

优先级值必须为 4096 的倍数。优先级最低的交换机和/或 MST 实例是生成树的根。  最低数值是更高优先级设置。


 

2.然后,可以将各个交换机设置为特定 MST 实例的优先级。  这提供了更多控制,可以平衡每个 MST 实例的通讯流量。

console(config)#spanning-tree mst 10 priority 4096


 

 

启用 Portfast


 

建议配置所有边缘端口,将转至打印机、手机、服务器、工作站等最终设备的端口设置为 Portfast。当链路没有等待转发时间延迟就出现时,Portfast 中的端口将直接移至转发状态。


 

console(config)#interface te1/0/1

console(config-if)#spanning-tree portfast


 

请勿在连接到其它交换机或网络设备的接口上配置 portfast。


 

命令验证


 

console# show spanning-tree mst-configuration

 

console#show spanning-tree mst-configuration

名称:Dell

版本:0


 实例    Vlan 已映射
----------  -----------------------------------------------
 10          10

 

 

 

 

Article Properties


Affected Product
PowerConnect 3524P, PowerConnect 3548, PowerConnect 3548P, PowerConnect 5524, PowerConnect 5524P, PowerConnect 5548, PowerConnect 5548p, PowerConnect 6224, PowerConnect 6224F, PowerConnect 6224P, PowerConnect 6248, PowerConnect 6248P , PowerConnect 7024, PowerConnect 7024F, PowerConnect 7024P, PowerConnect 7048, PowerConnect 7048P, PowerConnect 7048R, PowerConnect 8024, PowerConnect 8024F, PowerConnect 8100 Series, PowerConnect M6220, PowerConnect M6348, PowerConnect M8024, PowerConnect M8024-K ...
Last Published Date

21 Feb 2021

Version

3

Article Type

How To