...
| Code Block | ||
|---|---|---|
| ||
(?m)^router ospf$ (?m)^hostname R[0-9]+$ (?m)^router ospf$ |
This verifies that the device follows the R<number> hostname convention and has OSPF enabled. The two matches are independent, so their order does not matter.
...
...
| Code Block | ||
|---|---|---|
| ||
(?m)^router ospf$ (?m)^hostname R[0-9]+$ (?m)^router ospf$ |
This verifies that the device follows the R<number> hostname convention and has OSPF enabled. The two matches are independent, so their order does not matter.
...