In this SNMP Configuration example, we will see how to configure SNMP on Cisco SNMP Agent device. In this part I do not consider necessary what the snmp agent is. You already know that it is the device that we consider to manage with our NMS (Network Management Server).
Managing all the network devices are a very difficult. So managing the network devices in one location is very important in network world. This is done with a standard protocol SNMP. With SNMP you can manage your devices with a NMS remotely and in a central point. And the agent device also sends traps,notifications about alarms or exceeding some threshold values determined before for a good managed network.
Like for all the vendor devices, to manage a Cisco devices from a central point we need SNMP. And to use SNMP we need to enable this protocol. Enabling this protocol is done by creating a community strings. Community strings are used for the different access forms in SNMP. You can make the below configuration for different community string definitions.
Above, there are four community strings are defined. The first one can be for eveyone with only read-only access. The second one can be for you only. Here it is important to say that other vendors do not permit more than one read-only community strings.
The third community string above is the read-write one only allowed as the access-list 10. And the last one is the one that can be reached only with a certain user.
After defining community strings, it is time to configure something for SNMP traps that will inform SNMP Server during a trouble. To do this, use the below configuration commands.