Cisco - how to find IOS version and configure SNMP

Posted on 2006-06-27
Last Modified: 2008-01-09
I'm pretty much a cisco newbie, and I have two things that I need to do on our three cisco routers, and 4 switches.

1.  I need to find out the amount of memory installed, and the IOS version.  If I remember right, I just console in and type:
sh ver
or something to that effect.  Does anyone remember the exact command?

2.  I need to turn SNMP on, and change the read only string from public to our internal one.  Is there a set of commands that can be used on my catalyst switches, and my routers to simply enable this?

Question by:terrymason
  • 3
  • 2
LVL 43

Expert Comment

ID: 16992670
1. You got it.  "show version" will display the IOS version and memory installed.

2.  To enable SNMP "snmp-server community <string> RO

Author Comment

ID: 16992756
ok, i think i have it.  How do I actually show the snmp read / right community strings that exist?

Also, how do I deactivate the private rw string?

show config gives me this:

snmp-server community private RW
snmp-server community public RO
line con 0
 transport input none
 stopbits 1
line vty 0 4
 password TERRY'S-STRING
line vty 5 15
 password TERRY'S-STRING
LVL 50

Assisted Solution

by:Don Johnston
Don Johnston earned 200 total points
ID: 16992813
When you do a show version, the RAM will be shown in the two "pools" (seperated by a slash). Add the two together to get the total RAM installed.

To remove a command, type in the command preceeded by "no"

no snmp-server community private RW
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails


Author Comment

ID: 16992850
ahh, I see do I need to remove the current snmp rules before adding new ones?  I noticed that when I typed

snmp-server community public XXXXXX

and then did a show config, it gave the response above.  Do I need to reboot before my changes go into effect, or did I do something wrong?
LVL 43

Accepted Solution

JFrederick29 earned 300 total points
ID: 16992990
You are replacing the word "public" with your string XXXXXX.

no snmp-server community private RW
no snmp-server community public RO

snmp-server community XXXXXX RO


Author Comment

ID: 16993891
thanks guys!

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Hello , This is a short article on how would you go about enabling traceoptions on a Juniper router . Traceoptions are similar to Cisco debug commands but these traceoptions are implemented in Juniper networks router . The following demonstr…
Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
After creating this article (, 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 (, 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…

757 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now