Cisco Router - How to find out the SNMP string

Posted on 2009-12-16
Last Modified: 2012-05-08
Hi. I am a newbie to Cisco routers/switches and their commands.

We are having a network performance assessment done on our network and to access the information on our Cisco routers, the SNMP string is needed. I have only been able to find out how to configure the SNMP. I wasn't sure if this was some sort of safety feature so that the string could not be found by an unwanted user.

I have tinkered with the show snmp command, but am looking for either a different command or what I need to add to the show snmp command.

Thanks for your help.
Question by:VanIT3
    LVL 23

    Accepted Solution

    You are looking for the SNMP community string. If you run "sh run" towards the bottum of the output you will see some lines like the ones listed below.
    The first line list the community string. this is what you are looking for. If the below lines are not listed then you will need to add them.

    snmp-server community public
    snmp-server enable traps isdn (optional)
    snmp-server host version 2c public (snmp monitoring server)
    snmp-server host version 1 public (snmp monitoring server)
    snmp-server host public (snmp monitoring server)

    Open in new window


    Author Closing Comment

    Thanks that1guy,

    The answer worked perfectly.
    LVL 8

    Expert Comment

    snmp-server community xyz  (string: xyz)   < you can have read-only or read-write
    snmp-server host  xyz (snmp host :, string:xyz

    Featured Post

    Gigs: Get Your Project Delivered by an Expert

    Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

    Join & Write a Comment

    Getting hacked is no longer a matter or "if you get hacked" — the 2016 cyber threat landscape is now titled "when you get hacked." When it happens — will you be proactive, or reactive?
    Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    755 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

    23 Experts available now in Live!

    Get 1:1 Help Now