08-14-2017 08:55 AM - edited 03-05-2019 09:00 AM
Hi,
I'm trying to upgrade the ISR 4331 from 3825 router and tried to run the commands below on ISR 4331 but it seems it doesn't take the commands.
What commands should I use for those 2 commands on ISR 4331 in order for SNMP to be worked on ISR4331?
Thank you in advance!
xx-al-r4331-1(config)#snmp-server community xxx RO snmpaccess
xx-al-r4331-1(config)#snmp-server ifindex persist
x-al-r4331-1(config)#$aps snmp linkdown linkup coldstart warmstart
xx-al-r4331-1(config)#snmp-server enable traps tty
xx-al-r4331-1(config)#snmp-server enable traps eigrp
xx-al-r4331-1(config)#snmp-server enable traps config
xx-al-r4331-1(config)#snmp-server enable traps entity
xx-al-r4331-1(config)#snmp-server enable traps rtr
But not these...
xx-r4331-1(config)#snmp-server enable traps syslog
^
% Invalid input detected at '^' marker.
xx-r4331-1(config)#snmp-server enable traps envmon
^
% Invalid input detected at '^' marker.
nyc-wups-al-r4331-1(config)#
nyc-wups-al-r4331-1(config)#
08-14-2017 09:08 AM
just tested this , what version are you on , syslog is there
working fine on my 4331
(config)#snmp-server enable traps syslog
(config)#do sh ver | i is
Cisco IOS XE Software, Version 03.16.04b.S - Extended Support Release
don't see any envmo though , this is ios-xe not ios so it may not have been included , the option you have are below
(config)#snmp-server enable traps e?
eigrp entity entity-diag entity-perf
entity-qfp entity-state ether-oam ethernet
event-manager
EDIT: checkinmg the docs env was included in earlier ios-xe version from 3.2 up but I have checked a couple of the 3.16 versions I have its not there
08-14-2017 09:40 AM
Hi Mark,
Thanks for your reply.
We are using 03.13.07. That version is recommended by our company...
So if I don't use those command, will snmp not work?
What other commands should I use?
08-15-2017 12:56 AM
snmp will still work just not for that specific envmon mib , the other way to do it is maybe get the actual oid/mib and manually do it from your application , you would have to find the exact oid for the cisco envmon MIB/OID finder and it would need to present in the switch for your snmp application to read it ,it would then need to be added to whatever snmp application you have and tested to ee if it can retrieve the info from the switch , its a bit of work just to see the snmp envmon
http://tools.cisco.com/ITDIT/MIBS/servlet/index
08-15-2017 11:08 AM
Thank you so much!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide