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

Multiple Pipe Arguments Within One Show Command?

I am wondering if anyone knows a trick to use multiple arguments within one pipe command? For example I would like to use a | include as well as a | redirect.

Otherwise the problem I am trying to solve is having our monitoring system kick off a show command and then output the results of the show to a tftp server on an ASA when a specific alert is kicked off.

 

Thank you,

1 Reply 1

manish arora
Level 6
Level 6

Not sure if you have "redirect" option after the PIPE command, at least I havn't seen one yet :-). But to solve your problem you can use something like :

call-home send "show run" email admin@mycustommonitor.com

of course you can do more with "Call-home" feature of the ASA as well as you will need additional commands and prerequisites like DNS setup etc to get it going. 

useful links :

https://supportforums.cisco.com/document/57466/asa-smart-call-home-common-uses-and-periodic-monitoring

http://www.cisco.com/c/en/us/td/docs/security/asa/asa83/configuration/guide/config/monitor_smart_call_home.html#wp1203854

Certainly I would prefer something like EEM on cisco asa well in coming future.

Manish

 

Review Cisco Networking products for a $25 gift card