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

如何在 Dell Networking PowerConnect 交换机上通过命令行管理快速生成树 (RSTP)

Summary: 如何在戴尔交换机上设置生成树、如何在 Dell PowerConnect 交换机上设置生成树、如何在戴尔交换机上设置 RSTP、如何在 Dell PowerConnect 交换机上设置 RSTP

This article applies to   This article does not apply to 

Instructions

 

本文介绍如何通过命令行界面 (CLI) 在 Dell Networking PowerConnect 交换机上实施快速生成树协议 (RSTP)。

 


 

涵盖的主题


 

1.  默认生成树值
2.  启用 RSTP
3.  设置根桥接优先级
4.  启用 Portfast
5.  验证生成树设置


 

PowerConnect 上生成树的默认值 


 

  • 在所有端口上全局启用
  • 已启用 RSTP 模式(已禁用经典 STP 和 MSTP)
  • 交换机优先级设置为 --  32768
  • PortFast 模式设置为 --  disabled(已禁用)


 

 

启用 RSTP

   
 

命令

用途

console# configure

进入交换机的配置级别

console(config)# spanning-tree mode RSTP

在交换机上全局启用生成树模式 RSTP。

console(config)# no spanning-tree mode

在交换机上全局禁用生成树


 

 

设置根桥接优先级


  

命令

用途

console# configure

进入交换机上的配置级别。

console(config)# spanning-tree priority 4096

设置交换机全局生成树优先级。  范围 。(步骤 4096)


 

 

优先级值最低的交换机被选为根交换机。  

 


 

启用 Portfast


 

建议配置所有边缘端口,将转至打印机、手机、服务器、工作站等最终设备的端口设置为 Portfast。当链路未经过侦听或学习状态而出现时,Portfast 中的端口将直接移至转发状态。


 

命令

用途

console# configure

进入交换机的配置级别

console(config)# interface te 1/0/1

进入特定物理端口接口。

console(config)# spanning-tree portfast

在接口上启用 portfast。


 

 

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


 

 验证生成树设置  


 

console# show spanning-tree

 

生成树:已启用 - BPDU Flooding:已禁用 - Portfast BPDU 筛选:已禁用 - 模式:rstp
CST Regional Root:        80:00:D0:67:E5:A5:7F:C5
区域根路径成本:0
根 ID
              优先级        32768
              地址         D067.E5A5.7FC5
              此交换机是根。
              Hello Time 2 Sec Max Age 20 sec Forward Delay 15 sec TxHoldCount 6 sec

 

console# show running-config interface tengigabitethernet 1/0/1

生成树 portfast

 

 

 

 

 

 

 

 

 

 

 

Affected Products

PowerSwitch N2000 Series, PowerSwitch N3000 Series, PowerConnect 3524, 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 ...
Article Properties
Article Number: 000120161
Article Type: How To
Last Modified: 21 Feb 2021
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.
Article Properties
Article Number: 000120161
Article Type: How To
Last Modified: 21 Feb 2021
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.