cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1226
Views
0
Helpful
2
Replies

SNMP ACL

sjamison76
Level 1
Level 1

I have an ACL tied to our SNMP traps, and Im not sure if its working or not.

Currently I have setup:

access-list 21 permit xx.xx.xx.xx

snmp-server community {string} RO 21

Should this not by default assign the access list and deny everything else?

According to the logs, I am getting a ton of SNMP failures which I assumed shouldnt even hit the log because of the ACL.

Jul 24 12:07:25 MDT: %SNMP-3-AUTHFAIL: Authentication failure for SNMP req from host 85.29.8.182

Jul 24 12:07:28 MDT: %SNMP-3-AUTHFAIL: Authentication failure for SNMP req from host 85.29.8.182

Jul 24 12:07:31 MDT: %SNMP-3-AUTHFAIL: Authentication failure for SNMP req from host 85.29.8.182

Jul 24 12:07:35 MDT: %SNMP-3-AUTHFAIL: Authentication failure for SNMP req from host 85.29.8.182

2 Replies 2

Mark Yeates
Level 7
Level 7

Stuart,

The messages you are receiving aren't denies from the access list. It is a SNMP authentication failure. It appears that you have SNMP V3 setup. Make sure that the community and user name that are used in the SNMP request from the remote host have been configured on the router. Here is rather lengthy guide configuring SNMP on your device.

http://www.cisco.com/en/US/docs/ios/12_0t/12_0t3/feature/guide/Snmp3.html

Mark

rkhalil
Level 1
Level 1

To sent traps to one host you need to configure

snmp-server trap-source Loopback1 >> optional

snmp-server host 10.200.100.100

10.200.100.100 is the ip of the server that's receive the traps

--

Raul

Review Cisco Networking for a $25 gift card