02-06-2024 06:41 AM
Hi all,
We are currently working with a Cisco 2960 Plus Switch running 15.2 (2) E8 Software. We are trying to get our VLANs to communicate using the ip route command, however, the command is not recognized. On the official Cisco website, it is mentioned that this Switch does support some layer 3 functionality through static ip routes, but when we try to configure those we get the same problem: the "ip route" command is not recognized.
Solved! Go to Solution.
02-06-2024 07:55 AM
Hi.
As Reza was saying we nrmally use these switches as Layer 2.
However you can add some static routing but you need to turn the feature on 1st
!
ip routing
!
See this config guide and read carefully
Hope this helps
02-06-2024 01:52 PM
In addition to the ip routing command suggested before, don't forget about this global configuration command which is also needed:
sdm prefer lanbase-routing
A reload is needed after configuring this command.
02-06-2024 06:48 AM
Hi,
2960 is mainly a layer-2 switch, with one IP/SVI to manage the switch and a default gateway.
With other versions of 2960 like 2960X and XR you can do some static routing.
HTH
02-06-2024 07:55 AM
Hi.
As Reza was saying we nrmally use these switches as Layer 2.
However you can add some static routing but you need to turn the feature on 1st
!
ip routing
!
See this config guide and read carefully
Hope this helps
02-06-2024 12:52 PM
You need to add the "Ip routing" command in order for the switch to do layer 3
02-06-2024 01:52 PM
In addition to the ip routing command suggested before, don't forget about this global configuration command which is also needed:
sdm prefer lanbase-routing
A reload is needed after configuring this command.
02-07-2024 12:05 AM
Thank you all!
I had to indeed enable the command first since it's disabled by default, which is why it was unrecognizable. Must've missed the "sdm prefer lanbase-routing" command while skimming through the configuration guide, oops. After executing this and reloading the switch it now works perfectly!
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