The following table introduces the available Golden Baseline Rules for different types of parser variables:
Variable Type |
Operator |
Example |
---|---|---|
Number |
Equals |
“$BGP_neighbor_count” equals 3 |
Equals any of |
“$mtu“ equals 1500 or 1514 |
|
Not Equal to |
“$In_traffic“ is not equal to 0 |
|
Range |
“$BGP_routes“ range (400, 420) |
|
Less or Equals |
“$interface_utilization“ less than or equals 50% |
|
Greater or Equals |
“$tunnel_counts“ greater than or equals 3 |
|
No Change - Equals Last Value |
“$CRC_error“ Note: Use this rule if the expected behavior for the variable should be kept as it is and should not change. |
|
Continuously Increase |
“$device_up_time“ Note: Use this rule if the expected behavior for the variable should keep increasing. |
|
String |
Equals |
“$version_number“ equals 12.1 |
Equals any of |
“$ospf_neighbor_status“ equals any of “2 way”, “established” |
|
Not Equal to |
“$Interface_status“ is not equal to “Down” |
|
Regex |
Enter a regular expression and the system will search the entire parser variable results to see if there’s a match. |
|
Table *) |
Equals |
“$BGP_neighbor” equals XXX |
*) Prerequisites to Define Golden Baseline for Table-Type Variables:
1.An Interface Key or Table Key is required for each table-type variable. Otherwise, neither manual definition nor dynamic calculation can be done to set the Golden Baseline for table-type variables. See Setting Table Key for more details.
2.The Golden Baseline definition for table-type variables allows selecting only part of table columns, which can be done in parser definition. It means unimportant columns or constantly changing columns can be ignored.
For example, the “BGP Neighbor”, “Version” and “AS Number” in the following BGP Table is defined as Golden, and the other three columns are ignored (not involved) in Golden Baseline calculation.
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 |
To compare the values of two tables at two different periods, setting a variable of the table-type parser as the table key is required.
1.Point to a parser file in the Parser Library, click the icon and select Open from the drop-down menu.
2.Click the icon of a variable and select Set Table Key.
Tip: The interface key of an interface-level parser variable can also be used as a table key.