Hi Rey,
For TMSH in bash mode you may try the syntax below...
[root@f501:Active:Standalone] config echo y | tmsh show apm access-info
For TMSH in interactive mode you may try the syntax below...
root@(f501)(cfg-sync Standalone)(Active)(/Common)(tmos) run util bash -c "echo y | tmsh show apm access-info"
... or even create a friendly TMSH alias to shortcut the rather complex command...
root@(f501)(cfg-sync Standalone)(Active)(/Common)(tmos) load sys config merge from-terminal
Enter configuration. Press CTRL-D to submit or CTRL-C to cancel.
cli alias shared apm-access-info {
command "run /util bash -c 'echo y | tmsh show apm access-info'"
}
Loading configuration...
root@(f501)(cfg-sync Standalone)(Active)(/Common)(tmos) apm-access-info
apm::access-info
Total records returned: 0
Cheers, Kai