Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

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,

  • Firewalling
1 REPLY

Not sure if you have

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

 

480
Views
0
Helpful
1
Replies
This widget could not be displayed.