Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have several network interfaces in a machine. How to configure SNMP view to limit which interfaces could be shown to public community?

We're using Ubuntu Server and default SNMPD from the repository. We have successfully limit the SNMPD agent to show only interfaces tree using this configuration:

view system included
share|improve this question

Use the mask parameter. See snmpd.conf wiki page for further explanation.

This will allow user to see only the second row in the ifTable:

view system included ff.a0

or in the shorter form:

                      # OID                          # mask
view system included .          ff.a0
#             ignore those with 0(a = 1 0 1 0)
#             allow any column in table ^  
#             restrict access to the second row 
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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