HowTo: iMC Access Templates

In this post, I will show, how to create iMC access templates, to configure the iMC access to devices. I will show, how to create a SNMP template, a telnet template and a SSH template. Those templates are used to define, how iMC should try to access the device and which credentials should be used. This is very handy if you have complex passwords which is the same for a group or all of your devices.

 iMC Access Template for SNMP

The basic protocol for network management is SNMP and as any other network management tool, iMC need SNMP to discover and monitor the device. Of course you should secure the communication between the network management station and the network device. Therefore you should at lest use SNMP v2 which has some kind of authentication included. If you need more security, you should go with SNMP v3, which provides even more protection. I will configure SNMP v3 for my iMC access template.

To create the template, go to “System–>Resource Management–>SNMP Template” and click the “Add” button:

Add-iMC-Access-Template-for-SNMP
Add-iMC-Access-Template-for-SNMP

You have to specify a “Name” for the template and a “Parameter Type”. Here you can select which version of SNMP you would like to use and you should make sure, that the “Parameter Type” match the capabilities of your device. I have chosen SNMP v3 with authentication and encryption. This means, I have to insert an “Authentication Password” and an “Encryption Password”. If you have inserted all needed information, you can save the iMC access template for SNMP by clicking on the “OK” button.

iMC Access Template for Telnet

If you have to use telnet in your environment, you can also create an iMC access template for telnet. I use this only in my test environments, but would recommend to use SSH in production environments. I only show this for completion. To create an iMC access template for telnet go to “System–>Resource Management–>Telnet Template” and click the “Add” button:

Add-iMC-Access-Template-for-Telnet
Add-iMC-Access-Template-for-Telnet

For “Authentication Mode” you can choose between different types of authentication, which depends on the way you configured your devices. I choose “Username+Password” which is the most common type. You have to provide a “Username” and a “Password”. Save the template by clicking on the “OK” button.

iMC Access Template for SSH

To configure an iMC access template for SSH go to “System–>Resource Management–>SSH Template” and click the “Add” button:

Add-iMC-Access-Template-for-SSH
Add-iMC-Access-Template-for-SSH

For most of the scenarios, the “Authentication Mode” “Password” is enough. If you need a different one, please select the correct one from the list. You have to provide a “User Name” and a “Password”. Click the “OK” button to save the template.

I would always recommend to use SSH instead of telnet to get access to the devices.

Use an iMC Access Template

You can use the created templates for device discovery within iMC. Go to “Resource–>Resource Management–>Add Device”:

Add-Device-with-iMC-Access-Template
Add-Device-with-iMC-Access-Template

On top of the page, not visible in the screen above, you have to enter some device specific information like IP or hostname. Below that you find the settings for SNMP, telnet and SSH. Here you can “Configure” the default values and select one of the created templates. At discovery time, iMC will use the credentials and methods defined in the templates to access the device.

If you change the templates afterwards, the changes are not synchronized with existing devices, except for SNMPv3 template. If you need to change the access credentials for one device or a group of devices you can use batch operations. Go to “Resource–>Resource Management–>Batch Operations” and select “SNMP Settings” for example. You can also cho0se “Telnet Settings” or “SSH Settings”.

Batch-Operations-SNMP-Settings
Batch-Operations-SNMP-Settings

Here, you can select the devices for which you would like to configure new access credentials and you can configure the new template. This will update the used access credentials for the selected devices.

If you have any questions or if you would like to provide feedback, please use the comment function below.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.