Forum Discussion
Ganesh_Prasad_1
May 21, 2021Altostratus
Hello Dario,
above command showing syntax error
Admin@(PROD-LB2)(cfg-sync In Sync)(Active)(/Common)(tmos)# list ltm virtual profiles { $(tmsh list ltm profile client-ssl | grep "profile" | awk '{print $4}' | tr '\n' ' ') }
Syntax Error: "awk", grep is currently the only filter that is supported
- May 22, 2021
Hello Ganesh.
You have to execute the above command from bash shell, not from tmsh shell.
Write this command before, to jump to your bash shell:
run /util bash
Then
tmsh list ltm virtual profiles { $(tmsh list ltm profile client-ssl | grep "profile" | awk '{print $4}' | tr '\n' ' ') }
Regards,
Dario.