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

SNMP Community string guidelines

rcullum
Level 1
Level 1

Anybody know if there are generic or RFC 'rules' or 'guidelines' for snmp community strings? For example, which characters are not allowed, max. no of characters etc etc or is it just dependent on each manufacturer's own recommendations?

1 Reply 1

rmushtaq
Level 8
Level 8

There is no RFC for community strings. But the implementation could vary from vendor to vendor. For example, Cat5K family do community string indexing using the @ character, see:(ftp://ftp.cisco.com/pub/mibs/supportlists/wsc5000/wsc5000-communityIndexing.html). IOS 12.x and later can handle community string lenght upto 231 characters whereas CatOS can handle upto 21 characters.

But you also need to make sure that the NMS application does not have any limitation when it comes to special characters for doing the polling. In general, you can look at RFC 1157 for SNMPv1 and RFC 1902 - 1907 for SNMPv2 related details.