This article describes how to configure SNMP v2c on Versa FlexVNF CPE using Config Templates when the SNMP server is reachable on overlay network.
NOTE: SNMP polling is not supported over dhcp wan interfaces on VOS and is not configurable from workflow either.

First login into the Versa Director → Navigate to the configuration → Template → Edit the Template associated with the branch

Community is a group of devices that SNMP monitors.
NOTE: There is an error in the screenshot below, the community name and security name should always be the "same", and the value should be the community name that you seek to use
For ex, versa123 should be set against community name and security name, if you want to use versa123 as the community name

Field | Description |
Name | Name for the community. |
Security Name | Secure name for the community. |
P.S.: Under Communities, Name and Security Name has to be the same.
This configures a community.
SNMP traps are alert messages sent from one or more remote SNMP-enabled devices to a central device, the “SNMP manager.” A trap communicates the health and performance warnings to the SNMP manager. For information on how to configure the profile, refer below steps.

Field | Description |
Name | Name of the trap profile. |
Version | Version of the trap profile: V1 V2C V3 |
Community Name | Community string identifies a community of SNMP managers and monitored devices, and serves as a password to authenticate the community members to each other. |
Target Address | IP address of the SNMP manager. In this case, it is 172.16.2.100 |
Port | Port number assigned to the SNMP manager. |
Trap | Select if SNMP simply sends a message. |
Inform | Select if SNMP sends and gets an acknowledgment for the message sent |
An agent interacts with SNMP and enables the flow of information between the monitored devices, the applications, and the monitoring device. For information on how to configure the profile, refer below steps to Configuring SNMP agent in the Versa VNF.


This configures SNMP agent.
SNMPv2c/v3 uses view-based access control model (VACM), which allows you to configure the access privileges granted to a group. All access control within VACM operates on groups, which are collections of users defined by USM.
The security model is configured for:
a. In the Director view, go to Configuration > Templates > Device Templates. Select an organization in the left navigation panel and a template from the dashboard.
b. Then navigate to Configuration > Objects & Connectors > Connectors > SNMP > VACM.
c. Click (+) to add a view



d. Click OK.
This configures a VACM view.



Field | Description |
Name | Name of the VACM group. |
Field | Description |
Name | Name of the member. |



Field | Description |
Security Model | Name of the security model. |
Security Level | Type of security: Auth No Priv Auth Priv No Auth No Priv |
Read View | Object on which to grant read view. |
Notify View | Object on which to grant notify view. |
This configures VACM GROUP.

For SNMP server to be able to poll the FlexVNF and receive the SNMP traps, we need to add SNMP server as VNF Manager settings.
We also need to select Interface using which the Branch will be able to reach the SNMP server. In this case, SNMP server (172.16.2.100 is reachable for Branch from tvi-0/3.0 interface)

Once have done the above steps commit the template to the branch.
NOTE: There is an error in the screenshot below, the community name and sec-name should be the same
The right configuration would be as below
set snmp community versa123 sec-name versa123
