cphelps
cphelps

Reputation: 93

SNMP v2 Community String Rules

I just have a simple question and I'm having a hard time find the answer. I'm curious if there are standards for what a community string can and can't be for SNMP v2. I'm mostly concerned with if there are any rules about it being an empty string or having trailing whitespace?

Upvotes: 3

Views: 2365

Answers (1)

Andrew Komiagin
Andrew Komiagin

Reputation: 6556

Generally speaking there are no restrictions on valid characters/symbols because the community string is defined as OCTET STRING. But most of the equipment vendors do have restrictions. Here is the Cisco policy for that: "The name can contain up to 32 characters and can contain any combination of alphanumeric characters, hyphens (-), and underscore characters (_)"

Upvotes: 2

Related Questions