Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Common use cases:

The following are some example scenarios where each match mode is particularly useful:

...

examples illustrate common configuration validation scenarios and the match mode best suited to each.

Config to validateMatch modeRationale
Baseline configuration and security hardening - NTP servers, DNS servers, syslog host, password encryption, telnet disabled, HTTP disabled, ...LooseThe required lines are independent of each other and may appear in different parts of the configuration. Only their presence matters.
Firewall and ACL rules, route-mapsSequential

The required lines must appear in a specific order, while other configuration lines may appear between them.

Multiline MOTD banner, interface configurationconfigurationsStrictThe required lines form a complete configuration block and must appear consecutively without any other lines between them.