R11.0a-March2023

Copy Parser in Command Diagnosis

Instead of creating a new Parser, you can select an existing Parser and copy it to NI (the system makes a hard copy of the existing Parser, so you can modify the Parser without affecting the original one). You can copy two types of Parsers:
  • Verified parsers, which have been tested by NIT decode engine. The Verified Parser will work in your network unless you upgrade the device's OS or the output format of the command changes.
  • Parser from Library, which are filtered by the device type and the command.

Before copying parsers, you are recommended to select a CLI command from the list of Verified CLI Commands, which ensures at least one corresponding verified parser is available in the Related Parser area.

Verified Parser

The system can find the NIT that matches the device and command in the current Device & Command section from the results of the NIT decode engine.


The logic is as follows:
  • Display the corresponding device and CLI command parser under each NIT as Parser.
  • Hover over the list of matched parsers to view the Parser info in the tip window, which contains the number of critical variables and the path where the NIT (NI) is located.

Parser from Library

The matched parsers are the visual parsers filtered from the Parser Library by the device type and command of the current device.

Hover over the list of matched parsers to view the Parser info in the tip window, which contains the total number of variables and the author of the Parser.
You can copy Parser with the following steps:

1. Preview Parser

Hove over the matched Parser in the list and click the Preview icon, then the values corresponding to all variables in the Parser will be highlighted in the Baseline Data by the selected Parser.

If the Baseline Data is null, click the Preview icon of the selected Parser, and the sample data in the parser definition will be displayed in the Baseline Data pane on the left to highlight the parser variable. At this time, the sample data will not be used as the NI's baseline data. After the baseline data is retrieved again, the preview effect of the Parser will be displayed in the Baseline Data pane.

2. Copy Parser

Click a matched parser from the drop-down list and the Copy button. All the corresponding variable definitions in the Parser will be copied to the current command to generate variables.


3. Re-Copy Verified Parser

If the copied parsers are not what you need, you can also re-select a verified parser from the list of the Copy from Verified Parser in the hamburger.

Information Note: Clicking the list in the Copy from Verified Parser option will directly copy the Parser without previewing.