12-01-2016 01:49 AM - edited 03-08-2019 08:23 AM
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 ?
Solved! Go to Solution.
12-01-2016 08:03 AM
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
12-01-2016 02:27 AM
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
12-01-2016 07:58 AM
thanks for your answer.
is there any way to configure pvst without configuring the ports as trunk ??
12-01-2016 08:03 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide