Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

9. Monitoring and Troubleshooting: Liste... > How to configure SNMP on a Cisco dev...

How to configure SNMP on a Cisco device

Let’s take a look at how to get a basic setup of SNMP on a Cisco device. You’ll need to type these commands at the device command line in config mode.

A basic setup of SNMP is all you need to access lots of handy information.

  1. Start SNMP service on router.

    Actually, there’s no specific command for this. The first snmp-server command you enter, regardless of the command, will enable the SNMP service on the device.

  2. Create a community access control for SNMP.

    To do this, type the command:

    snmp-server community public ro
    

    This will give public read-only access.

  3. Set some basic system info.

    To set up your contact information, type the command:

    snmp-server contact yourname
    

    To set up the location of the device, type the command:


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial