cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1396
Views
5
Helpful
4
Replies

enabling SNMP Authentication Failed log message in IOS-XR/IOS-XE/IOS devices

from88
Level 4
Level 4

Hello,

 

Can anyone advice me how to enable SNMP-AUTH-FAIL message on these devices ?
on NX-OS - i did it with simple command - logging level snmpd 6.

But can't get that working with IOS-XE/IOS-XR devices.

4 Replies 4

Diana Karolina Rojas
Cisco Employee
Cisco Employee

Can you try with this one: snmp-server traps snmp authentication? (XR IOS)

 

Please do not forget to rate useful post.

 

Best Regards,

hello,

 

I added this: snmp-server traps snmp authentication. No effect.

 

no i got these commands in IOS XR:

 

 

show running-config | include logging
snmp-server traps snmp authentication
logging history informational

btw on debug snmp config i got:

 

RP/0/RSP0/CPU0:Jul 31 12:49:56.156 : snmpd[1114]: t1 Batch is not yet supported for: snmp/enable/traps/snmp/authentication 

can this mean something ?

 

also show snmp

shows: 
SNMP logging: Disabled

 

but dont have a clue how to enable it.

Please provide your SNMP configuration in the IOS XR device (don't forget to omit sensitive information).

 

Best Regards,

 

 

here's my SNMP and logging configuration:

 

logging trap informational
logging history informational
logging buffered 307200
logging buffered informational
logging x.x.x.x vrf mgmt severity info
snmp-server ifindex persist
snmp-server vrf mgmt
snmp-server user xxx xxx v3 auth md5 encrypted xxxx priv aes 128 encrypted xxx
snmp-server view SNMP_VIEW1 1 included
snmp-server group xxv3 auth notify SNMP_VIEW1 read SNMP_VIEW1
snmp-server traps snmp authentication