0

What is the right way to add SNMP READ-only on a Cumulus switch and restrict access by multiple source IP addresses blocks?

1 Answer 1

1

The simplest way (as of Cumulus release 4.1) to restrict SNMP by multiple source-address blocks is:

net add snmp-server listening-address all
net add snmp-server readonly-community public access 10.1.1.0/24
net add snmp-server readonly-community public access 192.168.1.0/24
net commit

Reference: Cumulus SNMP reference

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.