01-12-2023 04:11 AM
Hi all,
I have 2 Switches (Catalyst 9200 & SG-350). Both are connected with Trunk port. I am making SG-350 my root switch running on Rapid-Pvst. Configurations as follows:
=====Catalyst 9200=====
1) #sh run:
spanning-tree mode rapid-pvst
spanning-tree portfast default
spanning-tree portfast bpduguard
spanning-tree extend system-id
2) #sh spanning-tree active
Vlan 1234
spanning tree enabled protocol rstp
Root ID Priority 32768
Address xxxx.xxxx.xxxx
Cost 4
Port 1(GIgabitEthernet 1/0/1)
Hello Time 2 sec Max Age 20 Sec Forward Delay 15 sec
Bridge ID Priority 34002 (priority 32768 sys_id ext 1234)
Address yyyy.yyyy.yyyy
Hello Time 2 sec Max Age 20 Sec Forward Delay 15 sec
Interface Role Sts Cost Prio.Nbr Type
--------- ---- --- ---- -------- -----
Gi1/0/1 Root Fwd 4 128.1 P2p
=====SG-350=====
1) #sh run:
spanning-tree mode rapid-pvst
2) #sh spanning-tree active
Root ID Priority 32768
Address xx.xx.xx.xx.xx.xx
This switch is the root
Hello Time 2 sec Max Age 20 Sec Forward Delay 15 sec
Name State Prior.Nbr Cost Sts Role PortFast Type
----- ----- ----- ----- ----- ----- ----- -----
gi2 enabled 128.2 20000 Frw Desg No P2p (rpvst)
* Port Type or PVID Inconsistency // Warning I am trying to get rid of
=====End=====
I am encountering "* Port Type or PVID Inconsistency" , however when I run #sh spanning-tree inconsistency, no ports showed up as inconsistent. My network is still functioning as per normal but I am worried that "* Port Type or PVID Inconsistency" may cause issues in future.
Troubleshooting methods I have tried:
1) Shut and no shut the trunk port
2) Change both switches to pvst instead of rapid-pvst
Could it be because of the MAC address format is different for both switch? Any advice is greatly appreciated. Thanks!
01-12-2023 04:16 AM
is the VLAN same on other side in CBS 350 ? is the only 2 switches connected in the network, how is your topology looks like ?
can you post show vlan, show spann vlan xx from both ?
01-12-2023 04:42 AM
spanning-tree portfast default
spanning-tree portfast bpduguard
remove the portfast + bpduguard from global mode and config it in interface mode.
this is the cause of issue I think
01-12-2023 06:52 PM
Hi guys, thank you for your responses.
@balaji.bandi my network topology is SG-350 <=======> Catalyst 9200L on Ethernet ports.
Both switches are Trunk with the same sets of vlans.
=====SG-350=====
1) sh vlan
Vlan Name Tagged Ports UnTagged Ports Created by
---- ----- ----------- ------------- ---------
1 1 gi1,gi5-28,Po1-8 D
1234 1234 gi2 S
112 112 gi2 S
2) sh spann vlan 1234 & 112
Name State Prior.Nbr Cost Sts Role PortFast Type
----- ----- -------- ---- ---- ---- ------- ------
gi1 enabled 128.1 20000 Dsbl Desg No P2P (rpvst)
g2 enabled 128.2 20000 Frw Desg No P2P (rpvst)
g3-28 enabled 128.x 200000 Dsbl Dsbl No P2P (rpvst)
=====Catalyst 9200=====
1) sh vlan
VLAN Name Status Ports
----- ------ ----- ------
1234 VLAN1234 active
112 VLAN0112 active
2)sh spann vlan 1234
VLAN1234
Spanning tree enabled protocol rstp
Root ID Priority 32768
Address xxxx.xxxx.xxxx
Cost 4
Port 1(GigabitEthernet1/0/1)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 34002 (priority 32768 sys-id-ext 1234)
Address yyyy.yyyy.yyyy
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300 sec
Interface Role Sts Cost Prior.Nbr Type
Gi1/0/1 Root Fwd 4 128.1 P2p
VLAN0112
Spanning tree enabled protocol rstp
Root ID Priority 32768
Address xxxx.xxxx.xxxx
Cost 4
Port 1 (GigabitEthernet1/0/1)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32880 (priority 32768 sys-id-ext 112)
Address yyyy.yyyy.yyyy
Hello Time 2 sec max age 20 sec Forward Delay 15 sec
Aging Time 300 sec
Interface Role Sts Cost Prior.Nbr Type
Gi1/0/1 Root FWD 4 128.1 P2p
@MHM Cisco World I have removed the global config however the situtation is the same
01-12-2023 08:32 PM
what is the config on the ports connected to each other? and post complete logs from both switches.
show run interface x/x (post from both the switches connected ports)
01-13-2023 01:04 AM
P2P (rpvst) <<- this issue here,
you run RPVST in 9200 side and rrun RSTP in SG-350
01-13-2023 01:24 AM
Hello
Confirm all non trunks ports (edge ports) have stp portfast enabled and have an administrative status of access ( so making sure those access ports are not able to create a trunk dynamically - so disabling DTP)
show interface trunks
show interface switchport
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