Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Import Router Profile

    The import router profile window is designed for users who have a file with router login information that should be converted into IP/MPLSView file format. This is useful for users who already have router profile information saved in some type of spreadsheet or document. The spreadsheet should be saved out to a text or ASCII format before importing into IP/MPLSView. Note that if you already have router profile information in IP/MPLSView file format, you can simply copy that file over to the /u/wandl/data/.TaskManager/profile directory before opening the Router Profile window.

    The main requirement is that each new router be on a separate line and that the columns be in the same order. The order of the columns is flexible. Possible fields are: IP Address, Host Name, Telnet Timeout, Vendor, Login, Password, Privilege Login, Privilege Password, Enable Level, getTopology, SNMP Get Community String, SNMP Set Community String, SNMP Version, SNMP Port, SNMP Timeout, SNMP Retry, Telnet Retry, Country, City, Access Method (telnet, ssh, telnet|ssh, or ssh|telnet), Secondary IP, SNMPv3 Context Name, SNMPv3 Context Engine, SNMPv3 User Name, SNMPv3 Auth, SNMPv3 Auth PW, SNMPv3 Privacy, SNMPv3 Privacy PW.

    This tutorial will use the following example.

    #This is my new profile
    #IP Address,Host Name,Vendor,Login,RouterA,Juniper,wandl,RouterB,Juniper,wandl,RouterC,Juniper,wandl,RouterD,Juniper,wandl,RouterE,Juniper,wandl

    1. Click the Import button from the Router Profiles window to open up the import wizard.

    2. In the Import Router Profile window, specify a name for the new profile to be created, and locate the file that is to be imported. Indicate whether the file is located on the Server or Local Machine. Then, click the Browse button to navigate to the desired file. Once the file is selected, its contents will then be populated within the Data Preview section of the window.

    Figure 1: Importing Router Profile Data from a Text File

    Importing Router Profile Data from a Text File

    3. When importing a pre-existing IP/MPLSView router profile, the program will detect that it is already in IP/MPLSView format and provide the option to import the entire router profile “Do you want to import all router profiles?” Click OK to import all the profiles, which will be treated as having already encrypted the password. Alternatively, click Cancel to import a smaller subset of the router profiles. If selecting the Cancel option, remember to select Treat credentials as encrypted in the following options, to avoid re-encrypting an already-encrypted password, and rendering the login password invalid.

    4. The SNMP community string is not encrypted by default as the CLI password is. To encrypt it, after importing the router profile, select all the router profiles for which you want to encrypt the SNMP community string. Click Modify and select the SNMP Parameters tab. Then click the Encrypt key button to the right of the SNMP Get field.

    5. In the Data Preview section, select the rows to be processed in the import. You can use the<CTRL> and <SHIFT> keys to perform multiple selection. Or, click the Select All button to select all rows. Then, click Next.

    6. In the following screen’s Delimiter section, select one or more delimiters to use when parsing the profile information. The fields in this particular example are separated by commas, so Comma is selected.

    In the Parsing Options section, the Text qualifier character is used to indicate a single field if that field or column contains the delimiter character, and the Treat consecutive delimiters as one option will concatenate consecutive empty fields or columns into one empty field.

    Select “Treat credentials as encrypted” if you are importing from a previously generated IP/MPLSView router profile, so that the password will not be re-encrypted a second time.

    7. When the Parsed Data in the table below is organized properly into columns as shown below, click Next.

    Figure 2: Parsed Data Columns

    Parsed Data Columns

    8. The last step is to assign column names to the columns in the input file. In the following window, select a column in the Parsed Data table to be assigned. Next, select the associated Column Name under the Set Column Data section, and then click Set Column Name. Do this for all columns that you want to parse. Notice as you do so that the red boxes (representing unnamed columns) turn light blue, indicating the column is selected for inclusion in the router profile. If necessary, you can unassign an assigned column by selecting the column and clicking “Skip Selected Column”. When finished, click the Finish button.

    Figure 3: Matching Columns to Column Name

    Matching Columns to Column Name

    9. Click Finish. Then, the new profile will appear in the Router Profiles window. Be sure to save changes to this profile before you exit the Router Profiles window, by clicking the Save button. Otherwise any changes will be lost.

    10. Test the new router profile as described in Test Profile Connectivity.

    Modified: 2016-11-08