CISCO 2950 - Routing Table

We would just like to know how to display the IP Routing information for our 2950 switch.

Here is the Software Version:
12(5) WC2

Let me know if I have left out anything important.
(Cisco Newbie)
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

router> show ip route

you can do other things as well...such as

I have newer code mostly, but here's an idea of the types of options:

router>sh ip route ?
  Hostname or A.B.C.D  Network to display information about or hostname
  bgp                  Border Gateway Protocol (BGP)
  connected            Connected
  dhcp                 Show routes added by DHCP Server or Relay
  egp                  Exterior Gateway Protocol (EGP)
  eigrp                Enhanced Interior Gateway Routing Protocol (EIGRP)
  igrp                 Interior Gateway Routing Protocol (IGRP)
  isis                 ISO IS-IS
  list                 IP Access list
  mobile               Mobile routes
  odr                  On Demand stub Routes
  ospf                 Open Shortest Path First (OSPF)
  profile              IP routing table profile
  rip                  Routing Information Protocol (RIP)
  static               Static routes
  summary              Summary of all routes
  supernets-only       Show supernet entries only
  vrf                  Display routes from a VPN Routing/Forwarding instance
  |                    Output modifiers

Also, depending on what igp you're running (eigrp, isis, ospf)you get other types of commands as well, such as:

sh ip eigrp topology


sh ip ospf database

hope this helps.

show version
and show start area also helpful in gathering information.
Don JohnstonInstructorCommented:
How can a 2950 have a routing table? It's a layer 2 switch.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

details, details...sheesh ;)


forget that routing protocol bad.

However, the switch will have a default gateway.

It will be the ip default-gateway address in the config...

donjohnston: shouldn't the switch code still show you your default route if you issue the sh ip route command? or is it sh ip default-gateway?

Don JohnstonInstructorCommented:
For the 2950's, I don't recall either a "show ip route" or a "show ip default-gateway" command. But that doesn't preclude their existance. ;-)
If the sofware version is 12(5)Wc2, it is not a 2950, it is a 2900XL, they have very different command sets. The 2900 is a L2 only switch, therefore it will not have any route table, only a default gateway.

Basic IP Connectivity to the Switch
The switch uses IP address information to communicate with the local routers and the Internet. You need it if you plan to use the CMS to configure and manage the switch. The switch also requires a secret password. IP information is

Switch IP address

Subnet mask (IP netmask)

Default gateway (router)

Once IP information is assigned, you can run the switch on its default settings or configure any settings to meet your network requirements
HEHE trick questions now?
G'day, header
It has been 62 days since you posted this question.
Do you still need help? Have you received enough information?
Can you close out this question?
Ways to close questions:
headerAuthor Commented:
I'm sorry, I forgot about this question.

As the true answer to this question is that I'm a moron and I don't know why I asked a stupid question like this, I'll award the points to donjohnston, who was the first one to point that out.  Thanks to everone else who helped.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.