Enabling SNMP Access

Each router in your network will need to be configured to enable SNMP access before it will respond to SNMP queries. The Cisco IOS supports both SNMP version 1 and SNMP version 2. The version you need to enable depends on the management software that you will be using. All management software available supports SNMPv1, but not all support SNMPv2. For the purpose of collecting traffic data, SNMPv1 is sufficient. The command syntax to enable SNMPv1 access for a Cisco router is

						snmp-server community < community string> {RO|RW} [access-list]
						|community string
					
						|strings
						|community
					

community string is an ASCII string that will be used as a sort of password for clients trying to retrieve SNMP data from the router. The community ...

Get Cisco® Router Configuration & Troubleshooting, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.