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






문서 ID: HOW10434

최종 수정일: 10/19/2017 05:53 AM


이 문서 평가하기

정확함
유용함
이해하기 쉬운
이 문서가 도움이 되셨나요?
지원 미지원
피드백을 보내 주십시오.
의견에는 <>()\와 같은 특수 문자를 사용할 수 없습니다.
죄송합니다. 현재 피드백 시스템은 사용하실 수 없습니다. 잠시 후에 다시 시도하십시오.

피드백을 보내주셔서 감사합니다.