Just for completeness, implementation of the find operation, same as match, last, except....using the find operation in junos cli was not giving the right output. With the following configuration:
carles@vmx> show configuration protocols bgp
local-as 1111;
group internal {
type internal;
local-address 10.99.1.2;
neighbor 10.10.10.10 {
description routerA;
cluster 2.2.2.2;
}
neighbor 20.20.20.20 {
description routerB;
}
}
Coverage decreased (-0.5%) to 77.756% when pulling 1425d3bfc3bf5c0df4488e2065ebac387dd28b00 on ckishimo:devel-hop into ab33fbc685ab89750abf541ffd89575fd6b5b3ff on napalm-automation:develop.
Just for completeness, implementation of the
find
operation, same asmatch
,last
,except
....using thefind
operation in junos cli was not giving the right output. With the following configuration:the output should be:
and not:
with the new operation the output is:
If the pattern does not exist we return the same junos message:
and in junos cli: