how to add route to a cisco switch 3560

Unanswered Question
Nov 8th, 2006

gv me command to add static routes to a cisco switch 3560

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Average Rating: 0 (0 ratings)
spremkumar Wed, 11/08/2006 - 20:28


AFAIK once you have enabled ip routing command under the global config mode you will be able to define normal static routes.

ip route x.x.x.x y.y.y.y z.z.z.z

x.x.x.x y.y.y.y - subnet you wish to route

z.z.z.z - Next hop ip (may be your router interface ip)

As per the supporting document if you need to have any dynamic routing protocols such as OSPF ,EIGRP and BGP to be enabled on the switch then you need to have ios with ip services feature in it.

do refer this link for more info..


mahesh-gohil Wed, 11/08/2006 - 20:34

ay we want to forward traffic for throug gateway

The configuration would be:

conf t

ip route


But before that enable ip routing in global config mode

Verify your route

sh ip route


Login or Register to take actions

This Discussion

Posted November 8, 2006 at 8:06 PM
Replies:2 Avg. Rating:
Views:12937 Votes:0
Tags: No tags.

Discussions Leaderboard

Rank Username Points
1 16,069
2 9,198
3 8,197
4 7,552
5 7,538