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 .iso.org.dod.internet.mgmt.mib-2.interfaces
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:
or in the shorter form: