...
| Code Block | ||
|---|---|---|
| ||
description LAN hostname R1 |
Result
...
: Condition successful
Although the order of the input lines differs from the source, both lines are present.
...
| Code Block | ||
|---|---|---|
| ||
hostname R1 description WAN |
Result
...
: Condition failed
The line description WAN does not exist in the source.
...
| Code Block | ||
|---|---|---|
| ||
interface Ethernet1 ip address 10.0.0.1/24 |
Result
...
: Condition successful
The two lines appear in the source in the correct order. The "description Uplink" line between them is ignored.
...
| Code Block | ||
|---|---|---|
| ||
ip address 10.0.0.1/24 interface Ethernet1 |
Result
...
: Condition failed
The input lines appear in the source in reverse order.
...
| Code Block | ||
|---|---|---|
| ||
interface Ethernet1 description Uplink ip address 10.0.0.1/24 |
Result
...
: Condition successful
These three lines appear consecutively.
...
| Code Block | ||
|---|---|---|
| ||
interface Ethernet1 ip address 10.0.0.1/24 |
Result
...
: Condition failed
The source contains the line "description Uplink" between the two input lines. Strict mode therefore fails.
...