Execute CLI Show Command (Data Center Blueprint)

While working in the GUI, you may need device information that's obtained via CLI commands. Traditionally, you need to log in to a machine with access to the device management network, open a terminal, find device IP addresses, SSH to each of them, then run the required CLI commands. You can bypass these steps and run show commands for Juniper devices directly from the GUI. You can execute CLI commands from within the staged or active blueprint, or from the Managed Devices page. The steps below are for Datacenter blueprints.

To execute the show command using the GUI:

  1. From the blueprint, navigate to Staged > Physical > Topology (or Staged > Physical > Nodes) and select a Juniper device node.
    Network management tool interface showing staged changes in a physical network topology. Includes nodes like spine1 and leaf1, with a checklist indicating configuration progress and uncommitted changes.
    The Selection section of the right panel appears.
  2. On the Device tab, click Execute CLI Command.
    Network management interface showing 2D-3D topology selection, evpn_single_001 rack, leaf3 node, device info, connections to spine1, spine2, switch3-server1, and CLI command option.
    The Execute CLI Command dialog opens.
  3. Type show, then press the space bar. Available commands appear that you can scroll through to select, or you can start typing the command and it will auto-fill. In our example we're looking for BGP neighbors. We typed show, space, then b, which filtered the commands to only include those with the letter b. We selected bgp, then pressed the space bar to show available arguments for bgp. We typed n to show commands including the letter n. We'll select neighbor to complete the command.
    User interface for executing CLI commands with command input field, auto-complete suggestions, output format dropdown, execute button, and device info including serial number, management IP, and hostname.
  4. From the drop-down list, select how you want to view the results: text, XML or JSON.
  5. Click Execute.
    CLI output showing BGP neighbor on device leaf3 with management IP 10.28.135.15. Peer IP 10.0.0.3, AS 64512. State Established. Session flapped 16 times.
The show command results are returned. (We used Text Mode for our example.)