07-27-2016 10:47 AM - edited 03-08-2019 06:47 AM
I am trying to route between VLANs using "Configuring Static IP Unicast Routing" in "Catalyst 2960 and 2960-S Software Configuration Guide, 12.2(55)SE" but do not find a "ip route" command.
I believe the switch is running the correct image--
flash:/c2960s-universalk9-mz.122-55.SE5/c2960s-universalk9-mz.122-55.SE5.bin
Switch Ports Model SW Version SW Image
------ ----- ----- ---------- ----------
* 1 52 WS-C2960S-48TS-L 12.2(55)SE5 C2960S-UNIVERSALK9-M
What am I missing?
07-27-2016 11:41 AM
Check with "sh sdm prefer" if the which sdm you have running. Also "show license" lan lite will not support it I guess. Like I remember the switch allows just 16 routes, just to let u know.
07-27-2016 03:01 PM
Thanks Sebastian!
I needed the lanbase-routing sdm
That's in the instruction on http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2960/software/release/12-2_55_se/configuration/guide/scg_2960/swipstatrout.html#24886.
I just missed it. I see the command now.
Cheers
07-27-2016 11:25 PM
09-10-2024 10:00 PM
I just bought a cisco 2960s
I need ip routing
So your saying type ( switch config# lanbase-routing sdm). Comand will fix it
09-12-2024 08:19 AM
You have not provided any information about the switch that you have. We do not know what code it is running or what licensing it has. Give the command a try and let us know the results.
07-27-2016 12:36 PM
Hi;
Need to understand why you want to put ip route command on Cisco 2960 Switch.
If you want to use or configure multiple VLAN SVI and enable routing on Cisco 2960 switch, which is not supported by 2960 series switches. All the traffic will reach to L3 gateway via L2 trunk from 2960 to L3 gateway.
If you want to manage the switch remotely then you can configure ip default-gateway command X.X.X.X (where X.X.X.X is L3 switch / router).
Thanks & Best regards;
07-27-2016 03:09 PM
I believe/hope this command will have the switch route across VLANs+Subnets. I am new to this, but as I understand the chapter "Configuring Static IP Unicast Routing" I can configure the 2960-S switch to route, for example, between a vlan+subnet that has a printer, and another vlan+subnet that has a group of corporate wireless clients, such as--
VLAN 107 / Subnet 10.21.07.0/24: Wired devices, including printers
VLAN 109 / Subnet 10.21.09.0/24: Corporate wireless clients
I plan on configuring a set of VLANs+Subnets in the switches. This routing ability should eliminate needing a L3 device (router) to connect them all. Yes?
07-27-2016 03:25 PM
Hi;
On Cisco 2960-s switch you can create number of Vlan and assign the ports associated vlan. Each subnet required a L3 gateway. If you have multiple vlan in your network then you need a L3 device (i.e L3 switch or Router). With Cisco 2960 you can’t do inter-vlan routing because the switch is Layer 2. Even you got the ip route command, it will forward the traffic to L3 gateway.
Thanks & Best regards;
01-27-2017 09:59 AM
Here is a good write up on using and configuring the 2960 for inter-vlan routing. I have use this setup at remote offices for several years, which eliminates the need for a more expensive switch or router.
http://nhprice.com/how-to-configure-cisco-2960-s-to-route.html
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