cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1378
Views
0
Helpful
1
Replies

TCL exec command withount result

adnane dakna
Level 1
Level 1

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

1 Reply 1

Joe Clarke
Cisco Employee
Cisco Employee

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.

Review Cisco Networking for a $25 gift card