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

Multiple SNMP community strings RO

stevekecskes
Level 1
Level 1

Sorry for this lame question: is it possible to assign multiple RO community strings to an IOS device?

E.g.:

snmp-server community public1 RO 5

snmp-server community private1 RW 5

snmp-server community public2 RO 6

snmp-server community private2 RW 6

access-list 5 permit 192.168.1.5

access-list 6 permit 192.168.1.10

I would expect to be able to query this router from 192.168.1.10 using the community string public2. However, the router only responds if I use the string public1 from 192.168.1.10 . What amI doing wrong?

Regards,

Steve

1 Reply 1

milan.kulik
Level 10
Level 10

Hi,

I tested in the past it was possible to use two community strings with the same ACL.

Which hw/sw are you using?

Maybe there is a bug in your IOS version?

What happens when you use the same ACL for both community strings?

Regards,

Milan