...
Config File Match: a defined section of configuration file text of one or more lines, used during parsing of device configuration files to perform matching. Matching may be positive ('Must Contain') or negative ('May Not Contain');
Device Attributes: these consist of three smaller elements, including device attributes (see Adding Device Attributes to a Rule Filterfor a list of attributes), mathematical and logical operators, and a value to match against.
...
Select the rule in the Rules panel.
Select Rule Logic Builder in the Editor list in the upper right corner. (This list is inactive if you are editing an existing rule.)
To add a config file match for a configuration command:
Click Add Config File Match.
(Optional) In the Edit File Match dialog, enter a Note describing the config file match.
Open the list and select a must contain/may not contain option:
ALL of These Lines in Any Order
ALL of These Lines in Specified Order
AT LEAST ONE of These Lines
This BLOCK
This BLOCK Only Once
ONLY ONE of These Lines
In the text field, type or paste in the config file match line or block (see references below for additional information).
Click OK.
To add a device attribute check, click the Add Device Attribute button.
Choose a device attribute from the left dropdown list (seeAdding Device Attributes to a Rule Filterfor a list of choices).
Select an operator from the center dropdown list.
Enter a value in the right field.
Click OK or select Apply and New.
Click Add Config File Match or Add Device Attribute to add a new element to the block list.
Click the Save button at the bottom of the page.
By default, config file matches are combined with logical ANDs; editing the Enforce This Rule field allows for Boolean ORs, NOTs, and If-Then-Else logic. Hover the mouse over the Info icon to the right of the field for details.
...
When creating a rule to evaluate a block of config in a specified order, note that the “all of these lines in specified order” logic implies that each line is present and in that order, and there can be other lines in between. In this case, the rule passes. If you do not want to allow other lines in between, use the “Contains This BLOCK” option. Also, in both the “Config File Must Contain” and “Config File May Not Contain” sections, each entered line is considered a regular expression to be matched against the configuration file. If you select one of the BLOCK options, the entire content of the field is considered a regular expression.