Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

SNMP question

i have some confusion with SNMP:

snmp-server host 1.1.1.1 communityname eigrp bgp

That command would send snmp traps (EIGRP and BGP) to snmp server 1.1.1.1 with the community name of community name correct?

which then confuses me about the following commands:

snmp-server community communityname ro

snmp-server community communityname rw

I assume those would be to change what that particular community can do?

Another confusion is:

snmp-server enable traps eigrp bgp

Does this have to be enable to enable those particular traps?

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: SNMP question

Hi Mike,

snmp-server host allows you to specify to who you want to send the traps. But first you need to enable Trap generation with the snmp-server enable traps command. Then you have the option in the snmp-server host command to limit which traps must be send to which host.

On the other hand snmp-server community is there to filter SNMP request coming from your NMS.

You will find mode infos here:

http://www.cisco.com/en/US/docs/ios/12_3/configfun/command/reference/cfr_1g11.html#wp1028282

HTH

Thanks

Laurent.

2 REPLIES
Cisco Employee

Re: SNMP question

Hi Mike,

snmp-server host allows you to specify to who you want to send the traps. But first you need to enable Trap generation with the snmp-server enable traps command. Then you have the option in the snmp-server host command to limit which traps must be send to which host.

On the other hand snmp-server community is there to filter SNMP request coming from your NMS.

You will find mode infos here:

http://www.cisco.com/en/US/docs/ios/12_3/configfun/command/reference/cfr_1g11.html#wp1028282

HTH

Thanks

Laurent.

New Member

Re: SNMP question

Ahh okey

So you enable the traps #1

The snmp-server host will allow you to send different traps to different servers

Very clear now.

Thank you.

112
Views
0
Helpful
2
Replies