cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1456
Views
5
Helpful
3
Replies

PVST CONFIGURATION

jonk34567
Level 4
Level 4

I want to configure pvst in below diagram (attached ).in that fa 0/1,0/2,0/3.0/4 are used to connect switches.should i configure those interfaces in access mode or trunk mode.

if i configure it in access mode i can assign the interfaces only for a single vlan therefore i can not make use of other 2 vlans.

can any one give me a solution ?

1 Accepted Solution

Accepted Solutions

Hi

Short answer no its not possible , the basis is its per vlan spanning-tree so vlans must be enabled on  trunks  for it to make its decisions or else its just access vlan connections , 1 vlan only per link

View solution in original post

3 Replies 3

Mark Malone
VIP Alumni
VIP Alumni

Hi

yes configure the interconnects between switches as trunks so all vlans can pass for PVST between the switches  

Then you can configure which switch you want to be the root for which vlans ,

spanning-tree mode rapid-pvst
spanning-tree portfast edge bpduguard default
spanning-tree extend system-id
spanning-tree vlan 1-331,2991-2994 priority 4096
spanning-tree vlan 332-400 priority 20480
spanning-tree vlan 1222 priority 16384

Then set your access ports with , some have the edge commands others don't depending on switch

spanning-tree portfast edge

You could also build a po between the switches with dual connections

interface Port-channel112
 switchport
 switchport trunk allowed vlan 1-1005,1126,1222,1226
 switchport mode trunk
 logging event link-status
 logging event trunk-status
 logging event bundle-status
 load-interval 30

interface TenGigabitEthernet1/1/2
 switchport
 switchport trunk allowed vlan 1-1005
 switchport mode trunk
 channel-group 112 mode active

thanks for your answer.

is there any way to configure pvst without configuring  the ports as trunk ??

Hi

Short answer no its not possible , the basis is its per vlan spanning-tree so vlans must be enabled on  trunks  for it to make its decisions or else its just access vlan connections , 1 vlan only per link