when I launched command "show pppoe session | i Vi46 " from cli the result is Ok , but when we try save result under tclsh #set result [exec "show pppoe session | i Vi46 "] , the result is emplty , please check if I missed some chunck of code
There used to be a bug where the use of pipes in tclsh didn't work. I would strongly recommend not using tclsh, and instead using EEM Tcl. If you have to use tclsh, make sure you're running recent code.
Getting Started
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: