R12.1-2025Jul03
Dynamic Calculation Logic for Different Variable Types
Golden Baseline for string/number/table-type variables can be dynamically calculated.
String-Type Variable:
The Golden Baseline for the following two string-type variables can be dynamically calculated.
- Equals any of – at least requires data at 10 different time points for calculation, and the count of unique data must be no greater than 3.
- Equals – at least requires data at 4 different time points for calculation, and the first three values must be the same. See the following table for an example of the IOS version.
1st Time | 2nd Time | 3rd Time | 4th Time | 5th Time | 6th Time | 7th Time | 8th Time | |
Data (IOS Version) | 12.1 | 12.1 | 12.1 | 12.1 | 12.2 | 12.2 | 12.2 | 12.2 |
Golden Baseline | Calculating | Calculating | Calculating | Equals 12.1 | Equals 12.1 | Equals 12.1 | Equals 12.1 | Equals 12.2 |
Alert | N/A | N/A | N/A | No Alerts | Alert Detected | Alert Detected | Alert Detected | No Alerts |
Number-Type Variable:
The Golden Baseline for the following number-type variables can be dynamically calculated:
Available Type | Required Data Points |
Equals | at least requires data at 4 different time points for calculation, and the first three values must be the same. |
Equals any of Range | at least requires data at 10 different time points for calculation. |
No Change - Equals Last Value | |
Continuously Increase |
Table-Type Variable:
According to the predefined compared columns, the system generates hash values in parsers and converts them into single-value strings for comparison and analysis. The analysis logic is the same as that for string-type variables.
Take the following table as an example. If the “BGP Neighbor”, “Version,” and “AS Number” columns are predefined as compared columns, then only the corresponding hash values for these three columns will be generated for comparison.
Compared Columns | Ignored Columns | ||||
BGP Neighbor | Version | AS Number | MsgRCD | MsgSent | InQ |
10.100.1.1 | 4 | 200 | 26 | 22 | 0 |
10.200.1.1 | 4 | 200 | 51 | 23 | 0 |