R12.1-JA-2025June05
Use NIT as Follow-up Diagnosis
An intent (home intent) can call a specified cloned intent from intent template to run the follow-up diagnosis, under which the diagnosis logic in the template can be applied to downstream devices calculated from the home intent. The home intent can also transfer other variables to the macro variables of the follow-up intent templates.
Complete the following intent to use follow-up NIT for further diagnosis, for example, ping BGP neighbors if the change is detected.
- Define an NIT that will be called.
- Parse the success rate.
- Define a macro variable used in the diagnosis definition.
- Define diagnosis to ping destination.
- Parse the success rate.
- Create a home intent to check BGP neighbors and parse the bgp_nbr_ip.
- Define a diagnosis to check the bgp_nbr change.
- Add the follow-up intent defined in step 1. See Follow-up Intent Template Settings for more details.
- Pass the variable bgp_nbr_ip to the macro variable in follow-up intent to ping.
![]() |
Note: The replication data source of follow-up NIT depends on the home intent. If the data source of home intent is current baseline then the replication data source of follow-up NIT is current baseline, similarly If the data source of home intent is ADT dataset the replication data source of follow-up NIT is ADT dataset, else the replication data source of follow-up NIT will be auto. |