cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
14760
Views
20
Helpful
5
Replies

Inter vlan routing in cisco catalyst 2960

vishal khalasi
Level 1
Level 1

Hi guys,

 

 

   Inter vlan routing is possible in cisco catalyst 2960 switches??

 

5 Replies 5

vishal khalasi
Level 1
Level 1

how??

give me answer with an example.

Hi Vishal,

Catalyst 2960 series switches support inter-VLAN routing but only for directly connected networks (through interface Vlan, or SVI), and up to 16 static routes. They do not, and will not, support dynamic routing protocols.

The static inter-VLAN routing is available on Catalyst 2960 switches starting with 12.2(55)SE LAN BASE feature set image. The detailed guide can be found here:

https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2960/software/release/12-2_55_se/configuration/guide/scg_2960/swipstatrout.html

but as a very quick set of commands, the routing would be enabled as follows:

configure terminal
sdm prefer lanbase-routing
end
copy running-config startup-config
reload
!!! After reload:
configure terminal
ip routing
interface Vlan ...
  ip address <address> <netmask>
ip route <address> <netmask> <next-hop-IP>

The first five commands are necessary to configure the switch for a different internal TCAM layout that sets aside a portion of the TCAM for IP routes. By default, there is no TCAM space allocated for IP routes, and so the routing cannot be enabled. Changing the SDM template to "lanbase-routing" reserves a TCAM space for IP routes, but the switch needs to be reloaded to apply the changes.

Feel welcome to ask further!

Best regards,
Peter

conf t

interface vlan 100

ip address 1.1.1.1 255.255.255.0

 

etc

Please remember to rate useful posts, by clicking on the stars below.

Yes, IP Routing is supported in the Catalyst 2960-X family. Please refer to this link which explains detailed IP routing configuration in the 2960-X switch:

http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2960x/software/15-0_2_EX/routing/configuration_guide/b_rt_152ex_2960-x_cg/b_rt_152ex_2960-x_cg_chapter_010.html

spokeskleff
Level 1
Level 1

I have a similar problem whereby my created vlan interfaces wont access internet from Vlan trunk with internet from Sophos firewall,

Review Cisco Networking for a $25 gift card