cancel
Showing results for 
Search instead for 
Did you mean: 

Warning: No IP interface is in routing mode

Warning: No IP interface is in routing mode

MartinS
New Contributor III
I'm building a new layer 3 switch with some VLANs and OSPF. I've built the VLANs, but when I go to try and enable OSPF I get this:

I'm building the new user access switch stack. I've created the VLANs, and now I'm trying to enable OSPF...

* Slot-1 MY-SWITCH.127 # enable ospf
Warning: No IP interface is in routing mode
Error: Failed to enable OSPF

* Slot-1 MY-SWITCH.128 #
* Slot-1 MY-SWITCH.128 #


What's it trying to tell me? What am I missing or forgetting?  Yes. I have already enabled IP forwarding.
3 REPLIES 3

StephenW
Extreme Employee
Martin,

Are you using VRs?  It's posable that the Router ID is in the wrong VR?  The "Enable OSPF" command that you showed will enable OSPF for VR-Default.  You might need to "vr <your-VR>" then use enable OSPF. 

Thanks,

Stephen

MartinS
New Contributor III
Thanks Stephen. I'm not sure what I did, but I've fixed it.

Martin,

This warning indicates that no VLANs have been enabled for routing.
Warning: No IP interface is in routing mode

To correct, you would need to enable ipforwarding (routing) for relevant VLANs:

enable ipforwarding vlan <VLAN>

GTM-P2G8KFN