Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
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.
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.
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.
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: