
Scenario
========

  +------------+
  |  Network   |
  | Management |
  |  Station   |
  | 10.1.1.2   |
  +------------+
        |
        |
        |
        |
  +-------------+
  | 10.1.1.1    |
  |  switch1    |
  | SNMP Agent  |
  |Cumulus Linux|
  +-------------+

Network Management Station IP is  10.1.1.2/24
Cumulus Linux SWITCH server IP is 10.1.1.1/24

The following commands start the snmpd daemon listening on a specific
IP address using the command listening-address.  They also restrict
access to a specific MIB tree OID using the viewname command from a
specific NMS system using the readonly-community access keyword.
In addition, they allow access only with a specific readonly-community
password.

net commands
============
switch1# net add snmp-server listening-address localhost
switch1# net add snmp-server listening-address 10.1.1.1
switch1# net add snmp-server viewname mysystemview included .1.3.6.1.2.1.1
switch1# net add snmp-server readonly-community mysecretpassword access 10.1.1.2 view mysystemview
switch1# net pending
switch1# net commit


Verification
============
switch1# net show snmp-server status
switch1# net show config snmp-server
switch1# net show config commands
