Name

snmp_access

Synopsis

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

Get Squid: The Definitive Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.