R12.3-2026Apr21

Manage - CLI and Config - Deep Diagnosis

The CLI and Config dictionaries are shared across AI Bot, AI Insight, and Deep Diagnosis to ensure consistent analysis.

CLI Dictionary

During the Deep Diagnosis reasoning process, if a matched CLI command is found in the CLI Dictionary, both the raw CLI output and the parsed results are sent to the AI. The parsed results help the AI interpret large and complex CLI outputs more efficiently, improving diagnostic accuracy.

Unlike AI Bot and AI Insight, Deep Diagnosis is not restricted to the CLI commands defined in the CLI Dictionary. It can use its own knowledge to decide which CLI commands to send to devices and makes execution decisions based on its own reasoning.

To define a CLI command in the CLI Dictionary:

  1. Go to AI Settings > Deep Diagnosis.
  2. Select CLI Dictionary from the left navigation pane. The CLI Dictionary details appear on the right.
  3. From the Device Type column, select a device type. You can use the search bar to quickly find a specific device type.
  4. Click + Add Command to create a new CLI command. Configure the command details:
    1. CLI Command: Enter the command to retrieve the data from the selected device.
    2. Description: Provide a brief explanation of the command’s purpose for future reuse and AI reasoning.

    3. Click + Add Sample.
      • In the device selection window, choose a device of the selected type and click OK.
      • The system retrieves the command output from the device and displays it in the Sample Data field.
    4. Key Field
      • Click Generate to automatically generate key fields using the default prompt.
      • If needed, select Generate with Customized Prompt to modify the prompt and refine the generated keys.
  5. Apply Parser (optional): Create and apply a parser using the Visual Parser to structure the retrieved CLI output for better analysis and reuse.
  6. Save the command to add it to the CLI Dictionary.

Once defined, the CLI command can be reused by Deep Diagnosis to retrieve and interpret device data more accurately during the reasoning process.

Config Dictionary

Deep Diagnosis can use parsed configlets for reasoning, it improves accuracy and reduces cost while analysing configuration files. If configlets are unavailable, Deep Diagnosis automatically analyzes the full configuration file for reasoning.

To define a configuration in the Dictionary:

  1. Go to AI Settings > Deep Diagnosis.
  2. Select Config Dictionary from the left navigation pane. The Config Dictionary details appear on the right.
  3. From the Device Type column, select a device type. You can use the search bar to quickly find a specific device type.

  4. Create a new config parser: Clicking + Add to open the standard Visual parser.

    1. Choose a device and click Retrieve for the configuration data.
    2. Parse the variables from the sample data.
  5. Config Parser: 
    1. Name: Edit the name for AI to easily understand specifying the key purpose.
    2. Description: Briefly define the purpose and usage.
    3. Apply Parser:
      1. The parsed variables and parsers will appear under this field.
      2. An option to customize the created parser is also provided.
  6. Save the config to add it to the Dictionary.