Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

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

    Direct Router Access and Easy Command Line Interface Operation

    To directly access a router to query the router, right-click on that router on the topology map. From the pop up menu, select Connect to Device and a telnet session window will open.

    Figure 1: Connecting to Router via Telnet Session Window

    Connecting to Router via Telnet Session Window

    Once logged into the router, you can issue router CLI commands to perform various tasks. (This capability is not available in the secure shell/PUTTY versions). The session output can be captured for saving on the client or for printing, or editing and book marking a user’s favorite commands and group them in a functional level as a standard method of procedures.

    1. Right-click on the telnet session window and select Capture to File. A window titled Enter a filename to be saved will open that allows you to save the session’s output in a file in the client.
    2. Select a directory and a filename to save in and click Save.
    3. Right-click on the telnet session window and unselect Capture to File. Then select Capture.... A window will appear that allows you to choose from a list of router commands under different router types and execute those commands on that particular router. If you selected a Cisco router, select Cisco CLI commands. If you selected a Juniper router, then select Juniper CLI commands. An example is shown in the figure below.

      Figure 2: Executing Router Commands Through the Capture Window

      Executing Router Commands Through the Capture Window
    4. Select the router type from the left pane tree. Click on a router command and it will be executed on that router as shown on the Result pane on the right. Alternatively, you may enter a CLI command or select a recently executed command from the drop-down selection on the top right side of the window.
    5. Click on the Edit Router Commands checkbox on the lower left-hand corner of the Capture window to check it. This will allow the user to add/edit/delete customized commands for different types of routers. The right pane will automatically be grayed out to lock any execution on the router.
    6. Right-click on a router type on the left window pane and select New>Command.
    7. A new selection will appear named New cli command as shown in <Link>Figure 96. Right-click on that selection and select Rename. Rename it with the CLI command that you want to add and hit <Enter>. If you wish to group your new commands into a subdirectory, first choose New>Command Set. This will create a folder labelled “New cli set”. Then, right click on top of the newly created folder and select New>Command.

      Figure 3: Creating New Juniper Router Command via Capture Window

      Creating New Juniper Router Command via Capture Window
    8. Uncheck the Edit Router Commands checkbox and run the new command on the router by selecting it on the left tree pane. It should execute as it would if the command was typed directly into the telnet window.

    Modified: 2016-11-08