How to enable Rapid Per-VLAN Spanning Tree (Rapid-PVST) or Per-VLAN Spanning tree (PVST) for the N-Series switches

How to enable Rapid Per-VLAN Spanning Tree (Rapid-PVST) or Per-VLAN Spanning tree (PVST) for the N-Series switches


Article Description: This article explains how to enable Rapid Per-VLAN Spanning Tree (Rapid-PVST) or Per-VLAN Spanning tree (PVST) for the N-Series switches.



Table of Contents

  1. Enabling PVST
  2. Setting root bridge priority
  3. Enabling portfast

Enabling PVST

To switch to PVST input the following commands

console>enable

console#config

For rapid-pvst

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

For legacy devices that use PVST

console(config)#spanning-tree mode pvst

Note: With latest firmware versions of switch, both PVST modes support up to 64 VLANs. Please read the User Guide for more information.

To remove specific VLANs from PVST and include specific VLANs, input the following commands. This example removes VLAN 10 and adds VLAN 20.

console(config)#no spanning-tree vlan 10

console(config)#spanning-tree vlan 20


Setting root bridge priority

The following command will set priority for root bridge selection. This example sets vlan 20 and 30 as priority 4096 and VLAN 40 through 45 as priority 8192.

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

console(config)#spanning-tree vlan 40-45 priority 8192


Enabling Portfast

It is recommended to configure any edge ports, ports that go to end devices such as printers, phones, servers, workstations, to be set up as Portfast. A port in Portfast will move directly to forwarding state when the link comes up without waiting for the forward-time delay.

console(config)#interface te1/0/1

console(config-if)#spanning-tree portfast

Caution: Do not configure portfast on interfaces that attach to another switch or network device.

To review PVST, run the following command. X is replaced with the VLAN ID you wish to check.

console#show spanning-tree vlan X






Код статьи: HOW10434

Дата последнего изменения: 10/19/2017 05:53 AM


Оцените эту статью

Точно
Функционально
Просто понять
Помогла ли вам эта статья?
Да Нет
Отправьте нам свое мнение
Комментарии не должны содержать следующие специальные символы: <>()\
К сожалению, наша система обратной связи в настоящее время не работает. Повторите попытку позже.

Благодарим вас за отзыв.