03-07-2022 06:08 AM
I was thinking if we can automate a vPCs to enable/disable based on a trigger.
For Example, I have 4 ports under 2 vPC
vPC no.1
Leaf_101: Eth1/1
Leaf_102: Eth1/1
vPC no.2
Leaf_101: Eth1/2
Leaf_102: Eth1/2
But at one single time one of the vPCs should stay up, the other one should remain down.
If any physical layer issue happens, then the state of vPC no.1 should go to disable and vPC no.2 should change its state to enable.
Kindly assist me in achieving the same.
03-07-2022 06:21 AM
When you enable and disable, the traffic will distrub right to change the path ? instead why not use any other routing mechanish or priority to fix this issue ?
03-07-2022 06:34 AM
There is no Layer 3 involved in my scenario, its only Layer 2 link between ACI Leafs and Catalyst layer switch.
The links get impacted due to a fiber cut so that is why i have two vPC links, one of which I will use as a backup.
Hence, at a time one vPC link shut be up.
03-07-2022 06:53 AM
you can config multi port in same NSK to be include the vPC port channel this instead of config two vPC for each port.
03-07-2022 08:05 AM
I support this idea. Why not configuring all 4 interfaces part of the same vPC?
03-07-2022 08:07 AM
an you draw small diagram how they connected : example as below :
03-07-2022 07:13 AM
I'd love to hear more about the use case for this scenario. Can you elaborate what you're trying to accomplish? Then we might be able to advise on the best course of action to accomplish the goal.
Robert
03-07-2022 11:54 AM
Hi @Asam Saeed ,
Looks like you trying are trying to do (A)
But others have suggested you do (B)
Which is a better design in most situations.
BUT it is not clear form you explanation what your topology is. It may be (C)
At the end of the day, there is not much difference between A & C as far as the logic goes.
The $64000 question is, why do you want to shut down either vPC?
ACI has several mechanisms to support cable failures:
Fabric > Access Policies >> Policies > Global > MCP Instance Policy default
03-07-2022 11:45 PM
Thank you for the detailed explanation.
Please find below a rough sketch of the design. The use case is that the international carrier takes both the links internationally from Asia to Europe passing through land and sea! So the carrier uses a different path to reach Europe, and my end goal is to have reachability to Europe at all times.
Below are some clarification points:
1. any submarine cut in the carriers network, will require me to manually shut the link to London and unshut the link to Frankfurt.
2. I would always want the Port-Channel between the two catalyst switch to remain up.
3. MCP is enabled on my fabric as well.
4. LACP is Active as well.
One of the suggested solutions above in this thread was very interesting to have all four ports run under one vPC. However, the question is if i want to maintain the link between London and Frankfurt, wont that cause a possible loop in the network?
03-08-2022 12:16 PM
Hi @Asam Saeed ,
All I can say is WOW
My humble experience is limited to L2 being within a data centre, or stretched between two data centres about 40Km apart is as big as I've dealt with - and that was direct dark fibre connections.
My first instinct is to say that if you have confidence in the underlying carrier network, then the principles should still apply (i.e. my Option B is the best approach) and so the answer to...
However, the question is if i want to maintain the link between London and Frankfurt, wont that cause a possible loop in the network?
...is "No - not if spanning tree is configured correctly."
But...
Actually, there are several "buts"
Given that your design is over much larger distances than I imagined, I have to say I am unable to suggest anything
I'm sorry I can't give you more expert advise - this question just goes way beyond my experience.
Not sure if the other contributors ( @balaji.bandi , @Sergiu.Daniluk @Robert Burns @MHM Cisco World ) have any more to add.
03-08-2022 05:50 PM
I'd agree this needs a proper design review to really select the best option. Generally an L3 extension would be appropriate in most circumstances like this to avoid STP issues, especially if you're not confident in the reliability of the circuit/carrier. L3 connections offer far better convergence & failover capabilities than L2. Keep in mind with your current design you're sending quite a bit of BUM traffic over your (typically expensive & latency-prone) International link.
If you're adamant on extending L2, then I would consider doing a double sided VPC. This would require that the Cat9300s be stacked, but then you could have a single logical L2 extension with multiple links (4) and no STP to worry about blocking the link between your Cat9300s.
Can you elaborate on why you require L2 extensions from ME to Europe? Is this another DC? Remote Site? We have many more elegant design options such as remote leaf that may offer a better solution.
Robert
03-09-2022 01:44 AM
Dear All,
Thank you for your input and great discussions. Apparently, I will discuss internally of these points.
However, as per my current design, I have to keep both the Leafs connected to the two sites in Europe. Hence, if we can automate the ports enabling or disabling from the ACI either through a script or TCL that would be great... As there is physical layer involved between the three international sites.
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