10-10-2019 08:41 AM
Hello everyone!
What is the best practice to configure STP in the scenario as shown in the picture below?
How to protect ISP network from misconfiguration on the client side?
1. Root on ISP side?
2. Root guard on access ports to client?
3. Something else?
10-10-2019 08:52 AM
10-10-2019 11:36 PM
Hello!
Thank you for reply! Some information in your post is very helpful!
10-10-2019 10:17 AM
Hi,
As your details and network diagram, I do not favor in share my STP domain with ISP. Really not. There is a reason behind this that we are sure that ISP will share the same switch will other customers as well and it may affect your complete network. You must configure BPDU guard on the ports which are connected with the ISP switch. I am sure that ISP will also not allow you to share ISP's STP domain with your network as well.
1. Root on ISP side?
No, Don't share your STP domain with ISP.
2. Root guard on access ports to the client?
Root Guard, Port Fast, are can use at Access ports.
3. Something else?
Sharing an STP Toolkit Screenshot.
10-10-2019 11:34 PM
Hello, Deepak Kumar!
I reason from ISP point.
And yes, we locate services from different clients on the same switch. For this particular customer we use vlan 100, for an example, and links are in access mode to the client switch . So, I want to protect ISP network, not client.
10-11-2019 12:10 AM
Hi,
Then I recommend protecting your ISP Switches from the customer's STP domain with BPDU guard or filter. But be clear that yesterday, we faced an issue with a client as the Client was not ready to configure BPDU filter on the port which was connected to the ISP switch and the ISP team was configured "BPDU GUARD" feature on the port. Now the switchport on ISP switch was in error disable mode due to BPDU received from the Client switch.
In this case, we removed the BPDU guard and enabled the BPDU filter on the particular ISP switchport.
10-11-2019 12:29 AM
If I enable BPDU filter/guard how does redundancy will work?
10-11-2019 01:07 AM
Hi,
As I am looking at your diagram, ISP switches are standalone and uplink is connected to ISP routers. Here, Both switches are doing their own tasks without communicating with each other. There will no effect on the redundancy.
10-11-2019 01:27 AM - edited 10-11-2019 01:36 AM
I apologize if the previous image is confusing.
I changed the picture to show the real situation.
In normal situation traffic goes via left ISP switch.
When left ISP switch goes down, traffic should goes via right ISP switch. We can't use something like LAG or vPC to avoid of using STP.
10-11-2019 01:50 AM
Hi,
Now I got something better Idea on the switch connections. Here are my ideas for the same:
As per the connection, we can't element the STP due to complete looping in the network so suppose ISP VLAN ID is 100 then
1. Configure PVST+ and make ISP switch A (Right) as root for the VLAN 100 only with a command "
spanning-tree vlan 100 priority 0" (You may choose any other lower priority but less than customer's priority).
2. Make ISP switch A (Left) as backup/secondary root for the VLAN 100 only with a command "
spanning-tree vlan 100 priority 4096" (You may choose any other lower priority but less than customer's priority).
Also, guide the customer to don't change the root bridge priority for VLAN 100 (keep deafult as 32768).
You can't make it "STP Portfast" because this command will disable automatically after receiving BPDU from the client switch and you can't disable the BPDU here.
10-11-2019 02:00 AM
Thank you for replies!
One more question:
Is it working scenario in our situation where we can't use LAG or it looks like very bad practice to share STP domain with client?
10-11-2019 02:26 AM - edited 10-11-2019 04:27 AM
Hi,
Is it working scenario in our situation where we can't use LAG or it looks like very bad practice to share STP domain with client?
As both switches are not in the stack/vPC/VSS so we can't use LAC. Both switches are working as a standalone body. I think we use STP or choose a routed port on your switch (IP design will change), any Dynamic routing protocol. But where is the current Root bridge?
A routed port (that is, a no switchport) to resemble normal routed ports on routers, certain Layer2 protocols are deactivated on that port, including DTP, VTP, and STP.
10-11-2019 03:27 AM
Hello
So then are these ISP switches already in production or are you wanting to introduce them along with the Customer switch?
If they are currently in production what stp mode are they using and where is you stp root at this time?
10-11-2019 05:52 AM
Hello, Paul.
Yes, switches are in production now. The client pays for 2 links for redundancy as i said before. But secondary link is not working now, so I want to turn it on for full redundancy. I understand that better way to make it is by using some sort of LAG technology, but as I said before, we can't do so because of network design.
10-11-2019 09:03 AM
Hello
so you only concern here is what link from the access switch you would like to be the primary/secondary link
You already have the switch attached to you network and stp primary and secondary are defined?
The most simplistic way is to use spanning-tree port- priority xx to make the preferred link - this is very useful as it is only port/interface specific and doesn’t effect the entire stp calculation path like a change the port cost would be.
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