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
     

    Related Documentation

     

    Running the CLI

    Running CLI Commands

    When running CLI commands you can:

    • Run commands on multiple devices.
    • Filter commands that are organized by categories.
    • Cache outputs and organize the outputs by devices.
    • Display collected data from the Task Manager.

    Running CLI Commands on Multiple Devices

    To run CLI commands on multiple devices:

    1. Select Performance > Run CLI.

      The Run CLI Commands window is displayed.

    2. In the Device Selection pane, select one or more devices, and in the Command Selection pane, filter and select commands to run on the devices.

      To filter the devices view to a subset of devices of a particular hardware vendor, select the vendor from the All Devices menu. Similarly, to narrow down the commands listed to a category of commands, type the category of command, and then click the arrow next to Command. Note that when changing the view, the previous selections will be lost and only the devices and commands within the current view can be selected. You can also select Command Types.

    3. Click Collect to display the collected data in the Output tab pane. Figure 1 shows the RUN CLI window populated with the results of show versions and show chassis environment CLI commands for a single device.

      Certain commands require that you specify an additional parameter. Only one such command can be selected at a time, and you are prompted to enter the parameter when collecting the data for that command. When applicable, the parameter request displays as (OPTION) in the Command Input Parameters window.

      Figure 1: Run CLI Window

      Run CLI Window
    4. Select the Results tab to view the Command Execution History pane, that displays the dates and commands run on the listed devices. Figure 2 shows the Results pane with the Command Execution History list to display the output.

      Figure 2: Command Execution History and Output

      Command Execution History and
Output
    5. (Optional) From the Results tab, select Save Results or Print Results.
    6. (Optional) From the Results tab, in the Search field, type a text string to find and highlight that specific string in the CLI output.

    Displaying Collected Data from the Task Manager

    To display command output that has been collected by a task in the Task Manager:

    1. Select Performance > Run CLI.

      The Run CLI Commands window is displayed.

    2. From the Collected by Task Manager tab and in the Command Category list, select the category of command.
    3. Select a device from the Device Selection pane.

      The collected data for the selected device is displayed automatically in the Collected by Task Manager pane. Figure 3 shows the Collected by Task Manager command category menu and command output display.

      Figure 3: Command Output Collected by Task Manager

      Command Output Collected
by Task Manager

    Running Live Network Updates for Selected Devices

    To run live network updates for selected devices:

    1. Select Performance > Run CLI.

      The Run CLI window is displayed.

    2. In the Device Selection pane, select one or more devices, and then click Update Live.

      The Collection for Live Update dialog box is displayed, as shown in Figure 4.

      Figure 4: Collection for Live Update

      Collection for Live Update
    3. Select the data to be collected, then click OK.

      Incremental updates are displayed as the tasks are completed. Check the Task Manager to see the detailed status.

     

    Related Documentation

     

    Modified: 2016-11-08