cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
590
Views
0
Helpful
3
Replies

SNMP in Cat os not working

ciscopons
Level 1
Level 1

SNMP is enabled in Cat os sup-720 in 8.4(5). No response for the SNMP server poll and no traps are forwarded to SNMP server. Any one experienced this kind of issue can throw some light on this.

Find the configuration and ‘sh snmp’ output

set snmp community read-only ********

set snmp community read-write ********

set snmp community read-write ********

set snmp trap enable module

set snmp trap enable chassis

set snmp trap enable bridge

set snmp trap enable vtp

set snmp trap enable vlancreate

set snmp trap enable vlandelete

set snmp trap enable auth

set snmp trap enable entityfru

set snmp trap enable ippermit

set snmp trap enable sysinfolog

set snmp trap enable vmps

set snmp trap enable entity

set snmp trap enable config

set snmp trap enable stpx inconsistency

set snmp trap enable stpx loopinconsistency

set snmp trap enable stpx rootinconsistency

set snmp trap enable syslog

set snmp trap enable system

set snmp trap enable envfan

set snmp trap enable envshutdown

set snmp trap enable envpower

set snmp trap enable envtemp

set snmp trap enable envstate

set snmp trap enable flashinsert

set snmp trap enable flashremove

set snmp trap enable callhomesmtp

set snmp trap enable macnotification

set snmp trap enable macthreshold

set snmp trap enable macmove

set snmp trap enable linkerrlow

set snmp trap enable linkerrhigh

set snmp trap enable l2tunnel

set snmp trap enable redundancy

Console> (enable) sh snmp

SNMP: Enabled

RMON: Disabled

Extended RMON Netflow Enabled : None.

Memory usage limit for new RMON entries: 85 percent

EngineId: 00:00:00:09:00:13:5f:20:03:00:00:00

Chassis Alias:

Traps Enabled: auth,autoshutdown,callhomesmtp,chassis,config,entity,entityfru,

envfan,envpower,envshutdown,envstate,envtemp,flashinsert,flashremove,

inconsistency,ippermit,l2tunnel,linkerrhigh,linkerrlow,loopinconsistency,

macmove,macnotification,macthreshold,module,newroot,port,redundancy,

rootinconsistency,syslog,sysinfolog,system,topochange,vlancreate,vlandelete,

vmps,vtp

Port Traps Enabled: 1/1-2,2/1-24

Module inlinepower traps enabled: None

Community-Access Community-String

---------------- --------------------

read-only XXXXX

read-write XXXXX

read-write-all XXXXX

Additional- Access-

Community-String Access-Type Number View

-------------------- -------------- ------- -----------------------------------

Trap and Inform receivers:

--------------------------

Address Community String Port Owner Version Type Index

--------------- -------------------- ------- -------- ------- ----- ---------

Console> (enable)

3 Replies 3

romccallum
Level 4
Level 4

i cant see any host configured to receive the traps mate. Not sure of the catos command but something like snmp-server host 1.1.1.1 public

Thank you for the thought. You are right we have equivalent command “set snmp targetaddr” but it didn’t work. My priority is not to receive trap I should be able to read the MIB’s by polling with the community string. Which in my case is not happening? Is there any limitation? My SNMP server says ‘please set the community string in the host’ where in I have enabled snmp service and configured string.

SNMP server needs to add to IP permit list.

set ip permit X.X.X.X X.X.X.X snmp

It solved the issue.

Thank you for your time romccallum.