Providing Credentials

2 ManageEngine Password Manager Pro — High Availability Tutorial Step 2: Provide other credentials based on protocol choice Credentials for TELNET-TFT...

0 downloads 35 Views 291KB Size
ManageEngine DeviceExpert

Tutorial

Providing Credentials (With Explanatory Screenshots for Each Device Type)

Overview After adding the devices to the DeviceExpert inventory, you need to provide device credentials to establish communication between the device and DeviceExpert. Details such as the mode (protocol) through which communication is to be established, port details, login name, password etc. are to be provided. The credentials have to be supplied based on the device type. This step is crucial to get started with DeviceExpert. This tutorial provides guidelines on entering the credentials.

How to provide credentials? To provide credentials for a single device: 1. Go to “Inventory“ and select the device for which communication has to be established 2. click ‘Credentials‘ menu on the top bar In the Credentials UI, provide the details as explained in the following steps. Step 1: Choose the Protocol Based on the type of device, you can select any of the following combinations of protocols to establish communication between DeviceExpert and the device: 1. TELNET-TFTP (Establishing communication with the device via Telnet and transferring the configuration via TFTP) 2. TELNET (Establishing communication with the device via TELNET and executing show commands on the device to get configuration details) 3. SSH-TFTP (Establishing communication with the device via SSH and transferring the configuration via TFTP) 4. SSH-SCP (Establishing communication with the device via SSH and transferring the configuration via SCP) 5. SSH (Establishing communication with the device via SSH and executing show commands on the device to get configuration details)¥ 6. SNMP-TFTP (Establishing communication with the device via SNMP and transferring the configuration via TFTP)

2

ManageEngine Password Manager Pro — High Availability Tutorial

Step 2: Provide other credentials based on protocol choice Credentials for TELNET-TFTP, TELNET, SSH-TFTP, SSH-SCP & SSH The following screenshots depict how to enter the credentials for the devices. For ease of understanding, the screenshots illustrate how the credentials are entered while accessing the device via a telnet console and explain how the same values are entered in the DeviceExpert GUI.

Important Note: Refer to the screenshots available from page 5 before proceeding with entering the credentials User Credential Profile If you have downloaded DeviceExpert and carrying out the settings for the first time, you may skip this ‘User Credential Profile‘ step. DeviceExpert offers the flexibility of creating common credentials and sharing the common credentials among multiple devices. The Common Credentials are known as profiles. For more details, click here. Credentials have been split into two divisions: Primary Credentials - deal with parameters that are necessary to establish communication with the device. Details such as Login Name, Password, Prompt, Enable UserName, Enable Password and Enable Prompt are classified as basic details. S.No 1

Credential Login Name

2 3 4

Password Prompt Enable UserName

5

Enable Password

6

Enable Prompt

Description While establishing connection with a device, if the device asks for a Login Name, set a value for this parameter. This parameter is Optional. To set the Password for accessing the device. The prompt that appears after successful login. When entering into privileged mode, some devices require UserName to be entered. Provide the username if prompted; otherwise leave this field empty. This is for entering into privileged mode to perform configuration operations like backup/upload. This parameter is mandatory. This is the prompt that will appear after going into enable mode.

Additional Credentials - certain parameters usually take standard values. All such parameters have been classified under ‘Additional Credentials‘. Port, login prompt, enable

3

ManageEngine Password Manager Pro — High Availability Tutorial

userprompt, password prompt, enable password prompt values are usually assigned with certain Standard Values by default. Such standard values have been filled for these parameters. Most of the devices would work well with these values and you need not edit these details unless you want to provide different set of details. Providing TFTP Server Public IP / SCP Server Public IP if the device is behind NAT/firewall has also been classified under Additional Credentials. Click the link “Additional Credentials“ to view/enter values for these parameters. Except TFTP/SCP Server Public IP, all other parameters are usually assigned with certain Standard Values by default. Such standard values have been filled for these parameters. Most of the devices would work well with these values and you need not edit these details unless you want to provide different set of details. S.No 1

Credential TFTP / SCP Server Public IP

2

Telnet/SSH Port Login Prompt

3

4 5 6

Password Prompt Enable User Prompt Enable Password Prompt

Description When the device is present outside the private network (i.e. when the private IP of DeviceExpert is not reachable for the device) this parameter can be used to provide the public IP of the DeviceExpert server (NAT’ed IP of DeviceExpert). This IP will be used in Configuration backup via TFTP / SCP. Port number of Telnet/SSH - 23 (for Telnet) and 22 (for SSH) by default. The text/symbol that appears on the console to get the typed login name is referred as login prompt. For example, Login: The text displayed on the console when asking for password. For example, Password: The text displayed on the console when asking for Enable UserName. For example, UserName: The text displayed on the console when asking for password. For example, Password:

After providing the credentials, if you want to take a backup of the device immediately after updating the credentials, select the ’backup’ checkbox Click ’Save & Test’ if you want to test the validity of the credentials; otherwise, click “Update“ to apply the values The chosen credentials would be applied to the Device Once you complete this step - that is, providing credentials, you will find the credentials icon beside the device name in the inventory.

4

ManageEngine Password Manager Pro — High Availability Tutorial

Credentials for SNMP-TFTP User Credential Profile If you have downloaded DeviceExpert and carrying out the settings for the first time, you may skip this ‘User Credential Profile‘ step. DeviceExpert offers the flexibility of creating common credentials and sharing the common credentials among multiple devices. The Common Credentials are known as profiles. For more details, click here. Primary Credentials for SNMP-TFTP S.No 1 2

Credential SNMP Port Read Community

Description Port number of SNMP - 161 by default. An SNMP community is a group of managed devices and network management systems within the same administrative domain. Each SNMP request packet includes a community name. When a request packet is received, the remote access server looks for the name in its community table:

If the name is not found, the request is denied and an error is returned. If the name is found, the associated access level is checked and the request is accepted if the access level is high enough for the request.

3

Write Community

The SNMP Read Community string is like a user id or password that allows Read-only access to the device. The SNMP Write Community string is like a user id or password that allows Read and Write access to the devices.

Additional Credentials Click the link “Additional Credentials“ to view/enter values for these parameters. Except TFTP/ SCP Server Public IP, all other parameters are usually assigned with certain Standard Values by default. Such standard values have been filled for these parameters. Most of the devices would work well with these values and you need not edit these details unless you want to provide different set of details. S.No 1

Credential TFTP / SCP Server

Description When the device is present outside the LAN (i.e. when the private IP of DeviceExpert is not reachable for the device) this parameter

5

ManageEngine Password Manager Pro — High Availability Tutorial

Public IP

can be used to provide the public IP of the DeviceExpert server (NAT’ed IP of DeviceExpert). This IP will be used in Configuration backup via TFTP.

Explanatory Screenshots

Example 1: Cisco lOS Device - Password and Enable Password configured

Example 2: Cisco lOS Device – Directly going to Enable Mode

6

ManageEngine Password Manager Pro — High Availability Tutorial

Example 3: Cisco CatOS Device - Password and Enable Password configured

Example 4: Cisco CatOS Device – Directly going to Enable Mode

7

ManageEngine Password Manager Pro — High Availability Tutorial

Example 5: Cisco VPN Concentrator

Example 6: 3Com Router

8

ManageEngine Password Manager Pro — High Availability Tutorial

Example 7: Nortel BayStack

Example 8: NetScreen Firewall

9

ManageEngine Password Manager Pro — High Availability Tutorial

Example 9: Juniper Router

Example 10: HP Procurve Switch

10

ManageEngine Password Manager Pro — High Availability Tutorial

Example 11: Foudry Switch

Example 12: Fortinet Fotigate Firewall

11

ManageEngine Password Manager Pro — High Availability Tutorial

Step 3: Testing the Validity of Credentials Credential values entered through the Credentials GUI should be accurate. Otherwise, DeviceExpert will not be able to establish connection with the device. To ensure the correctness of credential values, DeviceExpert provides the testing option. After entering the credentials, you can test the values during which DeviceExpert will indicate if the values entered are valid. It will pinpoint the invalid values and you can carryout corrections accordingly. To test the validity of credentials, After providing the credentials, click ‘Update & Test‘ This updates the credential values in the DB and then carries out the testing. The result of the testing will be shown in a separate window as below:

The testing result indicates valid credential values with a green ‘tick‘ mark. The invalid values are marked as red cross marks. You need to change the invalid values. Alongside, the CLI command execution result (through which DeviceExpert ascertains the validity of credential values) is also displayed If you want to test the validity of credentials of a device which has already been given credentials, select the particular device in the inventory, click ‘Credentials‘. In the Device Credentials page that opens up, click “Test Credentials“. Rest is same as above. Note: The credential testing option is provided only for TELNET-TFTP, TELNET, SSH and SSH-TFTP protocols.

12

ManageEngine Password Manager Pro — High Availability Tutorial

Sharing Common Credentials Across Devices In practical applications, you may find that the same set of credentials could well be applied ‘as they are‘ to many devices. In such cases, to avoid the cumbersome task of entering the credentials for each device separately, DeviceExpert offers the flexibility of creating common credentials and sharing the common credentials among multiple devices. This is called as ‘Credential Profile‘. Credential Profile can be created as a ready-to-use format called simply as ‘Profiles‘. You can create a profile with a specific name. Once you create a credential profile, its name will automatically be listed in the drop-down menu in the “Credentials“ UI for the field “Use Profile“. When you wish to use the profile, if you just choose the corresponding profile in the drop-down menu, all the credential information will be automatically filled-up. Creating Credential Profiles To create Credential Profiles, 1. Go to "Admin" >> "Device Management" >> "Credential Profile" >> "New Profile" (Alternatively, you can click the ”Add New” action item present beside the ‘Use profile” drop-down in the Inventory ---> Credentials GUI). 2. In the ‘Add Credential Profile‘ GUI that opens, Provide a Name for the new credential profile that has to be created. This is the name that will appear in the ”Use Profile” drop-down Provide a description for the profile. Though this is for reference purpose, filling up this field is mandatory to avoid confusion at any future point of time Fill-up credential values for the desired protocol. [Refer to the description provided above for information about the parameters and guidelines on choosing the values] and click the ”Add”. The New Credential Profile is created

Managing Credential Profiles Go to "Admin" >> "Device Management" >> "Credential Profile" to edit/remove a profile or to view the devices referred by a profile.

ZOHO Corp. (formerly AdventNet Inc.) 4900 Hopyard Rd., Suite 310, Pleasanton, CA 94588, USA Phone: +1-925-924-9500 Fax: +1-925-924-9600 Website: http://www.deviceexpert.com For Queries: [email protected]