cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
695
Views
0
Helpful
1
Replies

What's the function of trap community?

henrybb
Level 1
Level 1

When I config snmp trap,I need config the community,in this example,it is "world".But my NMS doesn't config any about this community,and the NMS can receive the trap normally.

So why config the community ?

snmp-server host 10.1.20.28 world

thanks for your help

Henry

1 Reply 1

rmushtaq
Level 8
Level 8

You must specify the trap community string to be used when sending a trap. Like a community string with SNMP gets/sets, the trap community string is intended to provide a simple method to authenticate the source of the trap. Because the community string is sent over the network in clear text, it is not a very secure method for authentication. By default, most NMS trap reception software ignores the community string included with a trap. If this form of authentication is inadequate for your SNMP needs, consider using SNMP informs.