CISCO 2950 - Routing Table

Posted on 2003-02-28
Medium Priority
Last Modified: 2010-05-18
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)
Question by:header
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
  • +2

Expert Comment

ID: 8043227
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.


Expert Comment

ID: 8044831
show version
and show start area also helpful in gathering information.
LVL 50

Accepted Solution

Don Johnston earned 200 total points
ID: 8046059
How can a 2950 have a routing table? It's a layer 2 switch.
Optimum High-Definition Video Viewing and Control

The ATEN VM0404HA 4x4 4K HDMI Matrix Switch supports 4K resolutions of UHD (3840 x 2160) and DCI (4096 x 2160) with refresh rates of 30 Hz (4:4:4) and 60 Hz (4:2:0). It is ideal for applications where the routing of 4K digital signals is required.


Expert Comment

ID: 8046619
details, details...sheesh ;)


forget that routing protocol stuff...my 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?

LVL 50

Expert Comment

by:Don Johnston
ID: 8047490
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. ;-)
LVL 79

Expert Comment

ID: 8047748
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


Expert Comment

ID: 8058303
HEHE trick questions now?
LVL 79

Expert Comment

ID: 8442622
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: http://www.apollois.com/EE/Help/Closing_Questions.htm

Author Comment

ID: 8516664
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.

Featured Post

Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will show you with short command examples how to obtain a packet footprint of all traffic flowing thru your Juniper device running ScreenOS. I do not know the exact firmware requirement, but I think the fprofile command is availab…
There are two basic ways to configure a static route for Cisco IOS devices. I've written this article to highlight a case study comparing the configuration of a static route using the next-hop IP and the configuration of a static route using an outg…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question