08-30-2024 05:56 AM
Hello,
I have two PCs connected to the same switch and there are two uplinks to another switch as the below diagram, just need to know how to let VLAN 40 going through "Dark-Fiber-1" Port1 and VLAN30 going through "Dark-Fiber-2" Port-5
Appreciate you help
Thanks
09-02-2024 03:48 PM
Unfortunately، there is a link between CS-1 and CS-2
so there is any other way to separate the VLAN for each link
Thank you
09-01-2024 04:37 PM
@Mahmoud Marie wrote:
If I create direct connection between the Layer-2 switch and CS-1 & CS-2 as the below diagram:
How to allow VLAN10 & VLAN20 only from Link-1 and VLAN30, VLAN40, VLAN50 only from Link-2
Thanks
As you no longer have a possible L2 loop, it's done as both @MHM Cisco World and @paul driver describe in their replies.
Example:
interface FastEthernet0/1
switchport trunk allowed vlan 10,20
switchport mode trunk
interface FastEthernet0/5
switchport trunk allowed vlan 30,40,50
switchport mode trunk
09-01-2024 02:22 PM
Hello
@Mahmoud Marie you've change the topology correct?
@MHM Cisco World wrote:
if there is no interconnect between CS-1 and CS-2 then
simple
config link1 as trunk and allow vlan 10,20
config link2 as trunk and allow vlan 30,40,50
It will work if hosts for those vlans dont exist on both CS switch's other wise they will lost connection if you prune off the vlans.
09-02-2024 03:46 PM
09-02-2024 06:59 PM
So far @Mahmoud Marie you've provided two different topology diagrams and your last two replies seem to recreate the OP topology and say you're still seeking the best way.
For any possible way, we need to know the actual topology and platforms to be used.
BTW, so how would you know the best way?
09-03-2024 04:39 AM
Thank you @Joseph W. Doherty
Here is the current topology, the "CoreSwitch" is the gateway for VLANs "10, 20, 30, 40, 50"
I need to adding new separate link to move the traffic for VLAN 10 & 20 only as will migrate them to OT gateway. as the below digram:
So Link-1 move the traffic for "VLAN 30, 40, 50" and Link-2 move the traffic for "VLAN 10, 20"
Thanks
09-03-2024 05:55 AM
this design is work make review and you are free to ask any Q
please if there is any point not clear ask about it
MHM
09-03-2024 06:54 AM
Your question has been answered multiple times, with two different approaches and mention of a potential problem if using non-Cisco STP/rapid-STP.
So, did you not understand the different approaches, or is there some reason what has been suggested (by multiple folks) is not acceptable?
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