02-05-2018 12:51 PM - edited 03-05-2019 09:52 AM
Hello,
I have a C3650 switch (call it switch A), it connects to another C3650 (switch B)which is configured as layer 3 with ospf on it.
Switch A connects to 3 layer 2 4500 switches, nothing else is configured on this switch A except for loopback address.
Can I just configure ospf on this switch A and will it become ospf neighbour to switch B then?
Will this help me with management access to this switch A?
Do I need to configure anything else to bring management connectivity
Solved! Go to Solution.
02-09-2018 06:18 AM
I agree with Jon that the most simple and most direct solution is to configure an SVI, run OSPF on the SVI, and use that for management. But the original poster asked about using a loopback for management and that was what I was addressing. To use the loopback as the management address you need an IP on the loopback and you need an SVI with an IP address and you need to advertise both addresses in OSPF. Francesco suggests redistributing the loopback into OSPF and that certainly is a possibility. But if it were me I would simply run OSPF on both the SVI and the loopback and not bother with redistribution.
HTH
Rick
02-05-2018 12:55 PM
How is switch A connected to B ie. L2 trunk by the sounds of it ?
If you want to manage all switches you would be better to use a dedicated vlan/IP subnet and assign an IP to each switch and then set default gateway on L2 switches to be L3 switch SVI IP address.
Using loopbacks for management makes more sense when switches are all L3.
Jon
02-05-2018 12:57 PM
02-05-2018 03:11 PM
Francesco asks a key question when he asks how the switch is configured. The original post describes it as loopback. Francesco asks if it is SVI. and that distinction is critical. A loopback interface is a virtual interface and has no physical interfaces associated with it. An SVI is a virtual interface which is associated with each of the physical interfaces belonging to that vlan. So if you enable OSPF on a loopback interface it is not able to transmit hello messages on any interface, so it will never form any neighbor relationships. If you enable OSPF on an SVI then the OSPF hello messages can be transmitted on any interface (or trunk) associated with that vlan and OSPF neighbor relationships can be formed. So we need clarification from the original poster about how the switch is configured.
HTH
Rick
02-05-2018 03:24 PM
Yeah I asked because he's telling there's a loopback but not sure that management is configured as svi 😀
02-06-2018 07:43 AM
Agree that the original post was ambiguous about how the management interface is configured. Waiting for the original poster to provide some clarification.
HTH
Rick
02-08-2018 12:28 PM - edited 02-08-2018 12:54 PM
Thanks for replying guys.
There is no management SVI configured.
Only thing configured is loopback, this particular switch connects to another switch on trunk port and this another switch has ospf and routing to outside.
Can I just advertise loopback under router ospf of the switch and question and bring up connectivity?
Can it build neighbour relationship on trunk port then and have reachability directly?
Or do I need an SVI configured ?
02-08-2018 02:42 PM
Thanks for confirming that the management address is on loopback and not on SVI.
Is there any SVI configured on this switch?
You can (probably) enable OSPF on the loopback interface. But from the loopback interface it will not be able to send hello messages and therefore not able to establish neighbor relationship if loopback is the only interface running OSPF. If there were another interface on the switch running OSPF then you could advertise the address of the loopback through that connection.
HTH
Rick
02-08-2018 06:19 PM
02-09-2018 12:11 AM
Don't bother with loopback, just use a vlan dedicated for mangement and create SVI.
Jon
02-09-2018 06:18 AM
I agree with Jon that the most simple and most direct solution is to configure an SVI, run OSPF on the SVI, and use that for management. But the original poster asked about using a loopback for management and that was what I was addressing. To use the loopback as the management address you need an IP on the loopback and you need an SVI with an IP address and you need to advertise both addresses in OSPF. Francesco suggests redistributing the loopback into OSPF and that certainly is a possibility. But if it were me I would simply run OSPF on both the SVI and the loopback and not bother with redistribution.
HTH
Rick
02-09-2018 06:54 AM
Rick
I was assuming switch A was L2 only to be honest as the OP mentions switch B as L3, as well as other 4500 switches which are L2 only.
In that case a loopback would not be applicable.
Even if switch A was L3 you still have the other 4500s so again would use management vlan.
But obviously depends how you interpret original post.
Jon
02-09-2018 08:33 AM
02-09-2018 09:11 AM
I read again the original post and find that its description of the switch is quite vague. Jon assumes that the switch is layer 2 only and that is a reasonable assumption. If the switch is layer 2 only then Jon is correct that the loopback is not applicable. And the question about running OSPF on the switch is not possible.
Since the description was vague and since the original poster asks about running OSPF on the switch I assumed that the switch was (or could become) layer 3 and answered about that. And I addressed how to make the loopback interface work since that was the original question. I agree that the optimum solution (assuming layer 3) is to not have the loopback and to use an SVI (which could provide management access to the 4500 switches which are clearly layer 2).
We need the original poster to clarify how they want to operate this switch. Is it layer 2 or layer 3?
HTH
Rick
02-09-2018 09:46 AM
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