02-03-2018 10:24 AM - edited 03-08-2019 01:41 PM
I'm trying to enable OSPF on a switch gigabit port in order to advertise networks. I've have added the port in question on to the VLAN that is needed. the vlan it self is set to passive, but I don't want to disable passive on the vlan just on the one port. I have an SDWAN box connected to the port in which OSPF is set to receive hellos, but I'm unable to get OSPF advertise to push to the SDWAN device.
I have added the network statement on to the OSPF 1 area 0 and have set the no passive on the interface on the port, if run command
#sh ip ospf int gigabit 3/24
%OSPF: OSPF not enabled on GigabitEthernet3/24
any idea how i can get OSPF to send out advertise via switch port?
02-03-2018 10:47 AM - edited 02-03-2018 10:48 AM
If the port is a L2 port then you can't enable OSPF on it because OSPF runs on L3 interfaces.
Jon
02-03-2018 11:23 AM
02-03-2018 11:28 AM
If there are multiple ports in the vlan you cannot make the SVI passive.
Obviously once you remove the passive command then OSPF hellos would be sent out of all ports which is what you want to avoid.
You could try the solution suggested in this thread -
can't say how well it work as I have never used it myself.
Jon
02-03-2018 07:25 PM
02-03-2018 02:22 PM - edited 02-03-2018 02:22 PM
Hello
It might be a l3 switch but the port in question sounds like a l2 access port assigned to a L3 SVI so as Jon stated this port will be the physical port for the vlan so the whole vlan will be advertised but at present because you have specified the L3 svi of the vlan as passive you wont get an adjacency on this port.
Also
@lcollado wrote:
it is a layer 3 switch OPSF is running on the switch, but the vlan it's on is set to passive. I want to only allow advertising on the specific port on the the VLAN not the entire VLAN th port's on.
Now if you want to only advertised a specific L3 interface/prefix into your router then you have filtering options.
prefix-suppression --applied to routing process(all prefixes are suppressed or interface (which take precedence and only suppress that interface)
Distribute -list - used in conjunction with prefix-list to deny and allow whatever you wish to be advertised into the router
res
Paul
02-03-2018 07:26 PM
02-04-2018 08:33 AM
would it be possible to create a new vlan, assign the vlan an IP address from the same network I have been trying to get OSPF to broadcast to that one single port?
Create the new vlan configure OSPF on the same area 0, would that prevent OSPF broadcasting to the same subnet?
02-04-2018 08:37 AM
You cannot use the same IP subnet on multiple L3 interfaces on the same device so if I understand your question correctly the answer would be no you can't.
Why are you so concerned with OSPF hellos on the other ports in the vlan ?
Jon
02-04-2018 09:03 AM
02-04-2018 09:10 AM
I have not used SDWAN boxes so unsure how they work but if you could create a new vlan/IP then yes that should work as far as I can tell based on your question.
Jon
02-04-2018 04:16 PM
02-04-2018 05:26 PM
I can't see why it wouldn't work from what you have posted.
Let me know how it goes.
Jon
02-05-2018 04:03 PM
02-06-2018 02:08 AM
If routes are not being learnt it sounds like it might be your OSPF configuration.
Can you post relevant OSPF configuration from both ends.
Jon
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