Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
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.
Learn, share, save
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.