cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
670
Views
3
Helpful
5
Replies

No static ip routing on Cisco 2960 Plus

naomiznvs
Level 1
Level 1

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. 

2 Accepted Solutions

Accepted Solutions

acampbell
VIP Alumni
VIP Alumni

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

https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2960/software/release/15-2_2_e/configuration/guide/b_1522e_2960_2960c_2960s_2960sf_2960p_cg/m_1522e_rt_ipunirt_2960_2960s_2960c_cg.html

Hope this helps

Regards, Alex. Please rate useful posts.

View solution in original post

liviu.gheorghe
Spotlight
Spotlight

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.

Regards, LG
*** Please Rate All Helpful Responses ***

View solution in original post

5 Replies 5

Reza Sharifi
Hall of Fame
Hall of Fame

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

acampbell
VIP Alumni
VIP Alumni

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

https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2960/software/release/15-2_2_e/configuration/guide/b_1522e_2960_2960c_2960s_2960sf_2960p_cg/m_1522e_rt_ipunirt_2960_2960s_2960c_cg.html

Hope this helps

Regards, Alex. Please rate useful posts.

Jess13
Level 1
Level 1

You need to add the "Ip routing" command in order for the switch to do layer 3 

 

liviu.gheorghe
Spotlight
Spotlight

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.

Regards, LG
*** Please Rate All Helpful Responses ***

naomiznvs
Level 1
Level 1

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!

Review Cisco Networking for a $25 gift card