snmp_access

snmp_access

The snmp_access rules apply to SNMP queries. Although this is a standard Squid access list rule, many ACL elements are undefined for SNMP. In fact, you can only use src and snmp_community ACLs.

Syntax

snmp_access allow|deny [!]ACLname ...

Default

No default (all queries denied by default)

Example

acl SNMPPasswd snmp_community sekrit

acl SNMPClients src 172.16.1.2 10.0.5.1

acl All src 0/0

snmp_access allow SNMPClients SNMPPasswd

snmp_access deny All

Related

acl, snmp_port



    Appendix A. Config File Reference