Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

4141

October 7th, 2009 23:00

Cisco snmp Traps

Hi Guys,
I have installed a new Cisco MDS 9513 Switch and to have it monitored by the NNM Server(Network Management) which sends the traps to HPOV.
But on the switch , when i am trying to configure the traps, i use the following commands , which doesn't seem to work or should i say am not able confirm if it is working, becuase the snmp server is not able to access the switch via snmp protocol and also if i change the port link by shutting it , nothing goes to NNM server, can someone please help me how to configure and give access to NNM servers on the Cisco switch and how i can test the snmp traps are being send.

Command I used :

switch01(config t)# snmp-server host traps version 2c private udp-port 162

tkodcsansw9513-01(config)# sh snmp host
-------------------------------------------------------------------
Host Port Version Level Type SecName
-------------------------------------------------------------------
10.131.106.140 2162 v2c noauth trap public
10.131.2.14 1163 v2c noauth trap public
10.195.90.21 1163 v2c noauth trap public
10.131.181.71 162 v2c noauth trap private


Message was edited by:
Bhat

Message was edited by:
Bhat

141 Posts

November 28th, 2017 07:00

Hi there,

In our efforts to clean up the forum, we came across your question / statement.

If the question / statement is still valid, not expired and you need an update please reach out again and we try to get it answered.

As for now we set it to “answered.”

Regards,

Jim

January 29th, 2015 03:00

Hi All,

I'm having the same problem. Today we have a DCNM server receiving the traps and sending emails to us.

Whem trying to conect to a HPOV server, the operator says that he is not receiving any traps.

My configs.

snesw080(config)# sh snmp host

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

Host                            Port Version  Level  Type   SecName

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

10.168.179.79                   2162 v2c      noauth trap   public

10.178.20.171                   1163 v2c      noauth trap   public

10.121.12.5                     2162 v2c      noauth trap   public

10.168.155.253                  2162 v2c      noauth trap   public

10.168.37.88                    162  v2c      noauth trap   public

10.168.238.57                   162  v1       noauth trap   eccuser

10.168.85.216                   2162 v2c      noauth trap   public

10.168.55.98                    162  v1       noauth trap   eccuser

Whem I issue the command # sh snmp internal tcp connections I only see the old server configured

Proto Recv-Q Send-Q Local Address           Foreign Address         State

tcp        0      0 snesw080:161            snelnx998.interna:51243 ESTABLISHED

Is there anything else we have to configure in order to make that work correctly ?

Thanks

1 Message

January 29th, 2015 04:00

Hi RB,

to access the switch via snmp you'll have to configure snmp-communities on the switch:

Syntax: snmp-server community [community-name] [access-rights]

Example: snmp-server community public ro

January 29th, 2015 04:00

hi bschopp,

In my case, we just have the communty publis and ecc created on the switch.

snesw080# sh snmp community

Community            Group / Access      context

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

public                network-admin

eccuser               network-admin

The open view will only receive traps and deal with, send us notifications and open Internal calls.

our config is lake that.

10.168.37.88                162  v2c  noauth trap   public

But the HPOV server dont receive any traps.

No Events found!

Top