Solved

spanning tree help

Posted on 2011-03-10
4
417 Views
Last Modified: 2012-05-11
Hi,

 i have uplinks from core switches that connect to Virgin WAN router configured as access ports and in vlan 999. By mistake a cable is plugged in thats configured in different vlan and has portfast set. This leads to error message of not in common subnet and all ports in vlan999 being blocked until reconvergence.

This seemed to take a long time and I want  to avoid it happening again. I think if i set all ports except uplinks with bpduguard so they error disable if a switch is plugged in, this would stop some problems. But would this help protect against the not in common subnet error and blockign affecting all switches on vlan 999?

Is spanning tree detecting a loop when it gives not in common subnet ?Thanks
0
Comment
Question by:jly999
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 34

Expert Comment

by:Istvan Kalmar
ID: 35095241
Hi,

You need to set bootg devices same native vlan

conf t
 int x/x
 switchport trunk native vlan 999
0
 
LVL 17

Expert Comment

by:MAG03
ID: 35127643
The not on common subnet error just means that there are two different subnets trying to use the same vlan.

BPDUguard will not stop the not on common subnet error.  It will just shutdown the port if someone tries to connect a switch to that access port. However, since the port that a switch was just connected is shut down when BPDUs are detected, the not on common subnet will not happen.
0
 

Author Comment

by:jly999
ID: 35146529
thanks a lot for the comments

i wonder is it good practice to have uplink ports set as access with bpduguard set?
or better to have trunk ports with native vlan, or it doesnt matter?

Is it standard for STP to block everything and reconverge if it sees two subnets trying to use the same vlan?
0
 
LVL 17

Accepted Solution

by:
MAG03 earned 500 total points
ID: 35146596
if by uplink port you mean access ports then yes, best practice is to set all non inter switch ports as access ports and configure bpduguard on those ports aswell.

It is also best practice to set an unused vlan to be the native vlan.

Spanning-tree only looks for and prevents loops, it doesn't see or care if two subnets are trying to use the same vlan.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
home router to use as repeater  (signal extender) 10 110
Hit router interface limit 7 75
Cisco TACACS+ appliance run same IOS as Cisco routers/switches 7 75
wifi security 11 41
We've been using the Cisco/Linksys RV042 for years as: - an internet Gateway - a site-to-site VPN device - a leased line site-to-site subnet-to-subnet interface (And, here I'm assuming that any RV0xx behaves the same way as an RV042.  So that's …
I eventually solved a perplexing problem setting up telnet for a new switch.  I installed a new Cisco WS-03560X-24P switch connected to an existing Cisco 4506 running a WS-X4013-10GE Sup II-Plus. After configuring vlans and trunking,  I could no…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question