Need syntax help (interface --> interface list)
Posted: Sun Jun 28, 2020 2:05 pm
Hi all!
This is what I have had and it worked fine:
And this is what I trying to do, and it doesn't work:
I included LTE1 interface in Double-WAN-List and wanted to get TX byte data for all of interfaces included there. Bad sadly syntax for interface list is incorrect. Because I don't know what is the right syntax - I just tried a few options with trial and error method. And I was not lucky.
Please advise.
This is what I have had and it worked fine:
Code: Select all
\n:global txbyte [/interface get [find name=LTE1] tx-byte];\r\
And this is what I trying to do, and it doesn't work:
Code: Select all
\n:global txbyte [/interface/list get [find name=Double-WAN-List] tx-byte];\r\
I included LTE1 interface in Double-WAN-List and wanted to get TX byte data for all of interfaces included there. Bad sadly syntax for interface list is incorrect. Because I don't know what is the right syntax - I just tried a few options with trial and error method. And I was not lucky.
Please advise.