It may be silly but I don't know what I'm missing...
I want to change the "interface list" of a number of interfaces that contain the word "ospf" and replace ListA with the new ListB.
Code: Select all
[ ] > interface/list/member pr
Columns: LIST, INTERFACE
# LIST INTERFACE
0 ListA wg-ospf-to-A
1 ListA wg-ospf-to-B
2 ListA wg-ospf-to-C
3 ListA wg-ospf-to-D
{
/interface list
add name=ListB
:delay 1s
/interface
:foreach i in=[find name~"ospf"] do={
list/member set $i list=ListB
}
}
Output:
no such item (4)
Thanks in advance.