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 N 系列交换机启用快速每 VLAN 生成树 (Rapid-PVST) 或每 VLAN 生成树 (PVST)

Summary: 如何为 Dell Networking N 系列交换机启用快速每 VLAN 生成树 (Rapid-PVST) 或每 VLAN 生成树 (PVST)。

This article applies to   This article does not apply to 

Instructions

目录

启用 PVST

要切换到 PVST,请输入以下命令:

console> enable
console# config

对于 rapid-pvst:

console(config)# spanning-tree mode rapid-pvst

对于使用 PVST 的旧设备:

console(config)# spanning-tree mode pvst
提醒:使用交换机的最新固件版本时,两种 PVST 模式都支持多达 64 个 VLAN。有关详细信息,请参阅您的型号和固件版本的用户指南。戴尔支持

 
要从 PVST 中删除特定 VLAN 并包括特定 VLAN,请输入以下命令。此示例删除 VLAN 10 并添加 VLAN 20。

console(config)#no spanning-tree vlan 10
console(config)#spanning-tree vlan 20

设置根桥接优先级

以下命令设置根网桥选择的优先级。此示例将 vlan 20 和 30 设置为优先级 4096,将 VLAN 40 至 45 设置为优先级 8192。

console(config)# spanning-tree vlan 20,30 priority 4096
console(config)# spanning-tree vlan 40-45 priority 8192

启用 PortFast

建议将所有边缘端口(连接到打印机、电话、服务器、工作站等终端设备的端口)配置为 PortFast。当链路出现时,PortFast 中的端口将直接进入转发状态,而无需等待转发时间延迟。

console(config)#interface te1/0/1
console(config-if)#spanning-tree portfast
注意:请勿在连接到另一台交换机或网络设备的接口上配置 PortFast。

验证生成树

要查看 PVST,请运行以下命令。X 将替换为要检查的 VLAN ID。

console# show spanning-tree vlan X

Affected Products

N Series, PowerSwitch N1100-ON Series, PowerSwitch N1500 Series, PowerSwitch N2000 Series, PowerSwitch N2100 Series, PowerSwitch N2200-ON Series, PowerSwitch N3000 Series, Dell EMC PowerSwitch N3000E-ON Series, Dell EMC PowerSwitch N3100 Series , Dell EMC Networking N3200-ON ...

Products

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