cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
14242
Views
0
Helpful
2
Replies

Cisco 2960G enable routing

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

1 Accepted Solution

Accepted Solutions

Peter Paluch
Cisco Employee
Cisco Employee

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

View solution in original post

2 Replies 2

Peter Paluch
Cisco Employee
Cisco Employee

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

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!