08-24-2011 12:26 AM - edited 03-07-2019 01:51 AM
Hi all,
I have a 2960G 48 port switch here, I want to anable routing on this switch, but I can't find how.
I know this is normaly is only a layer 2 switch, however since one of the latest IOS updates it is possible to do some routing.
I had to reload the switch (its a lab device) because the configuration was all messy.
Before I did the erase and reload, it was possible to issue the ip routing command in the configuration mode, to enable routing.
I was also capable to view the routing table.
After the erase and reload, I cant issue the ip routing command or the show ip route.
I must be overlooking something verry simple, probably a one line command, but I can't find it
the switch is running:
1 48 WS-C2960G-48TC-L 12.2(55)SE1 C2960-LANBASEK9-M
I know its not the IOS version, because it is the same one as before the reload and it worked then.
Thanks in advance
Solved! Go to Solution.
08-24-2011 01:53 AM
Bram,
In the global configuration mode, enter the command
sdm prefer lanbase-routing
Then save the configuration and reload the switch. After the reload, you should be able to activate the IP routing and set up static routing entries.
Please note that there was a bug in the IOS version you are using with handling of a static default route (the 0.0.0.0/0 default route did not work, you had to split it into 0.0.0.0/1 and 128.0.0.0/1 as a workaround). I suggest you upgrade to the latest IOS version for 2960G where this bug should be solved already.
Best regards,
Peter
08-24-2011 01:53 AM
Bram,
In the global configuration mode, enter the command
sdm prefer lanbase-routing
Then save the configuration and reload the switch. After the reload, you should be able to activate the IP routing and set up static routing entries.
Please note that there was a bug in the IOS version you are using with handling of a static default route (the 0.0.0.0/0 default route did not work, you had to split it into 0.0.0.0/1 and 128.0.0.0/1 as a workaround). I suggest you upgrade to the latest IOS version for 2960G where this bug should be solved already.
Best regards,
Peter
08-24-2011 07:12 AM
Hi Peter
That was indeed the command i was looking for.
I also upgraded the IOS to get rid of that bug.
everything works as it should now.
Thanks!
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