SNMP
You can use the SNMP template for all Viptela devices.
To configure the SNMP routing protocol using vManage templates:
- Create an SNMP feature template to configure SNMP parameters, as described in this article. To configure both SNMPv2 and SNMPv3, create two feature templates.
- Create a device template that incorporates one or both SNMP feature templates. See the Configuration ► Templates help topic. Note that in a single device template, you can attach only one SNMP feature template, so in a single device template you can configure either SNMPv2 or SNMPv3, but not both.
Navigate to the Template Screen
- In vManage NMS, select the Configuration ► Templates screen.
- From the Templates title bar, select Feature.
- Click Add Template.
- In the left pane, select one or more devices. The right pane displays the available templates for the selected devices.
- Select the SNMP template.
The right pane displays the SNMP template form:
- The top of the form contains fields for naming the template.
- The bottom contains fields for defining parameters applicable to that template.
- A drop-down menu to the left of each parameter field defines the scope of the parameter. When you first open a feature template form, for each parameter that has a default value, the scope is set to Default. To edit a parameter field, change the scope to Global or Device Specific. Note that if a parameter's scope is Device Specific, you cannot enter a value for it in the feature template. Instead, you enter a value when you attach the template to a device.
- A plus sign (+) is displayed to the right when you can add multiple entries for the same parameter.
Minimum SNMP Configuration
The following parameters are required (unless otherwise indicated) to configure SNMP:
Step | Parameter Name | Description |
1. | Template Name | Enter a name for the template. It can be up to 128 characters and can contain only alphanumeric characters. |
2. | Description (Template) | Enter a description of the template. It can be up to 2048 characters and can contain only alphanumeric characters. |
3. | Shutdown | Click No to enable SNMP. By default, SNMP is disabled. |
4. | Name of Device for SNMP | Enter a name for the Viptela device to identify it in SNMP notifications. |
5. | Contact Person | Enter the name of the network management contact person in charge of managing the Viptela device. It can be a maximum of 255 characters. |
6. | Location of Device | Enter a description of the location of the device. It can be a maximum of 255 characters. |
7. | Save | Click Save to save the feature template. |
CLI equivalent:
snmp contact string location string name string [no] shutdown
Configure SNMPv2
To configure SNMPv2, in SNMP Version, click V2. For SNMPv2, you can configure communities and trap information.
To configure communities, select the Community tab and click the plus (+) sign:
Section | Parameter Name | Description |
---|---|---|
View Name | Click the View Name tab. | |
Name | Enter a name for the view. A view specifies the MIB objects that the SNMP manager can access. The view name can be a maximum of 255 characters. You must add a view name for all views before adding a community. | |
List of OIDs | Click List of OIDs and then click Add. For each OID, specify:
To add another OID to the list, click the plus sign (+). To remove an OID from the list, click the trash icon to the right of the entry. | |
Community Name | Name | Enter the name for the community. The name can be from 1 through 32 characters and can include angle brackets (< and >). |
Authorization | Select read-only from the dropdown list. The MIBs supported by the Viptela software do not allow write operations, so you can configure only read-only authorization. | |
View | Select a view to apply to the community. The view specifies the portion of the MIB tree the community can access. |
To configure traps and trap targets, select the Trap tab and click the plus (+) sign:
Section | Parameter Name | Description |
---|---|---|
Trap Group | Click the Trap Group tab. | |
Trap Group Name | Enter a Name for the trap group. It can be from 1 to 32 characters long. | |
Trap Type Modules | Click Trap Type Modules, and then click the plus sign (+) to add a module. In Module Name, select the type of traps to include in the trap group:
| |
Severity Level | For each trap, select one or more severity levels for the trap—critical, major, or minor. | |
Target SNMP Server | Click the Target SNMP Server tab and click the plus sign (+). | |
VPN | Enter the number of the VPN to use to reach the trap server. Range: 0 through 65530 | |
IP Address | Enter the IP address of the SNMP server. | |
UDP Port | Enter the UDP port number for connecting to the SNMP server. Range: 1 though 65535 | |
Trap Group | Select the name of a trap group that was configured under the Group tab. | |
Community | Select the name of a community that was configured under the Community tab. | |
Source Interface | Enter the interface to use to send traps to the SNMP server that is receiving the trap information. |
CLI equivalent:
snmp community name authorization (read-only | read-write) view string trap group group-name trap-type level severity target vpn vpn-id ip-address udp-port community-name community-name group-name name view string oid oid-number [exclude]
Configure SNMPv3
To configure SNMPv3, in SNMP Version, click V3. For SNMPv3, you can configure groups, users, and trap information.
To confgure SNMPv3 groups, select the Group tab and click the plus (+) sign:
Section | Parameter Name | Description |
---|---|---|
View Name | Click the View Name tab. | |
View Name | Enter a name for the view. A view specifies the MIB objects that the SNMP manager can access. The view name can be a maximum of 255 characters. You must add a view name for all views before adding a community. | |
List of OIDs | Click List of OIDs and then click Add. For each OID, specify:
To add another OID to the list, click the plus sign (+). To remove an OID from the list, click the trash icon to the right of the entry. | |
Group Name | Group Name | Enter a name for the group. |
Security Level | Select the security level from the drop-down: • auth-no-priv—Provide authentication using the HMAC-MD5 or HMAC-SHA algorithm. • auth-priv—Provide authentication using the HMAC-MD5 or HMAC-SHA algorithm, and provide CBC DES 56-bit encryption. • no-auth-no-priv—Provide authentication based on a username. | |
View | Select a view to apply to the group. The view specifies the portion of the MIB tree the community can access. |
To confgure SNMPv3 users, select the Users tab and click the plus (+) sign:
Parameter Name | Description |
---|---|
User Name | Enter a name of the SNMP user. It can be 1 to 32 alphanumeric characters. |
Authentication Type | Select the authentication mechanism for the user:
|
Authentication Password | Enter the authentication password either in cleartext or as an AES-encrypted key. |
Privacy Type | Select the privacy type for the user:
|
Privacy Password | Enter the authentication password either in cleartext or as an AES-encrypted key. |
User Group | Select the name of a configure SNMPv3 group. |
To configure traps and trap targets, select the Trap tab and click the plus (+) sign:
Section | Parameter Name | Description |
---|---|---|
Trap Group | Click the Trap Group tab. | |
Trap Group Name | Enter a Name for the trap group. It can be from 1 to 32 characters long. | |
Trap Type Modules | Click Trap Type Modules, and then click the plus sign (+) to add a module. In Module Name, select the type of traps to include in the trap group:
| |
Severity Level | For each trap, select one or more severity levels for the trap—critical, major, or minor. | |
Target SNMP Server | Click the Target SNMP Server tab and click the plus sign (+). | |
VPN | Enter the number of the VPN to use to reach the trap server. Range: 0 through 65530 | |
IP Address | Enter the IP address of the SNMP server. | |
UDP Port | Enter the UDP port number for connecting to the SNMP server. Range: 1 though 65535 | |
Trap Group | Select the name of a trap group that was configured under the Group tab. | |
Community | Select the name of a community that was configured under the Community tab. | |
Source Interface | Enter the interface to use to send traps to the SNMP server that is receiving the trap information. |
CLI equivalent:
snmp group group-name authentication view string trap group group-name trap-type level severity target vpn vpn-id ip-address udp-port community-name community-name group-name name user username auth authentication auth-password password group group-name priv privacy priv-password password
Release Information
Introduced in vManage NMS in Release 15.2.
In Release 16.2, add support for SNMPv3.