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

Question on the snmp-server host command

I'm setting up my switches to send traps to lms and have quick question on the config -

What is the difference between the commands

snmp-server host x.x.x.x public

and

snmp-server host x.x.x.x traps public

Does the former send both traps and informs to the given host? Also, what is the community name used for as far as lms and the traps are concerned?

Thanks,

Michael

1 REPLY
Purple

Re: Question on the snmp-server host command

Hi Michael,

The first command is simply telling the router the community value to use to communicate with the server.

The second one specifies that notifications should be sent as traps, and not informs. This command is really a superset of the former command, since it also includes the community to be used.

The snmp server will drop traps with communities that do not match.

Paresh.

334
Views
0
Helpful
1
Replies
CreatePlease login to create content