SNMP Version 2 Will Not Connect

book

Article ID: 184838

calendar_today

Updated On:

Products

Management Center Reporter

Issue/Introduction

Configure the community on device but SNMP manager will not connect.

When a policy trace is taken from the reporter/management center device the SNMP packet is delivered but there is not response.

In the event log the error message "WARN EventLog.confd- AuditNotification[logno=117, user=public, usid=0, msg="SNMP authentication failed: PDU discarded: bad community name: XXXX" is delivered.

Resolution

Due to missed or incomplete configuration SNMP requests will not be delivered.

Steps to setup a version 2 SNMP community and permission

reporter> en
Password:
reporter# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
reporter(config)# snmp
reporter(config-snmp)# agent version v2c  <--- Enable SNMP version for communication
reporter(config-snmp)# agent enable  <-- Enable SNMP Agent to allow communication
reporter(config-snmp)# community <community name>  <-- Creates Community Container
reporter(config-community-<community name>)# sec-name <community name>  <-- Sets Community String
reporter(config-community-<community name>)# exit  <-- Exit Community Continer commands
reporter(config-snmp)# vacm group <group name> member <community name> sec-model v2c  <-- Creates a View-based Control Module (VACM) and adds community to VACM
reporter(config-snmp)# vacm view <permission group name> subtree 1.3 included  <-- Creates VACM permissions group
reporter(config-snmp)# vacm group <group name> access v2c no-auth-no-priv read-view <permission group name> <-- Assigns VACM group access, permissions, and privliges to VACM permissions group

For additional information please see the admin guides:
Management Center
Reporter