1.In the Network Intent (Edit Mode) pane, click Add Config Diagnosis.
Tip: You can click Add Tag to add tag for this NI, which is the category of this NI and used for filtering NI in NI pane.
2.Click Configuration Diagnosis or Edit Diagnosis to open the diagnosis definition pane.
3.Click Retrieve Live Data to retrieve live data as sample data.
Tip: You can also click the icon to select history data or directly import text as sample data.
4.After the live data is retrieved, click Add Text to define a text variable. Enter a variable name HSRP100.
5.Select lines of text in the Sample area, and click the arrow to duplicate it as the content to match for HSRP100. Click Apply.
6.Click Add CLI Diagnosis, then enter a command. Click Add.
7.Click show standby vlan 10 or Edit Diagnosis to open the diagnosis definition pane.
8.Add variables parser to parse the result. See Simple Variable Parser for definition details.