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.

Bronze

How to Save Command Output to Flash on ASA 8.4

Hi,

I nice easy one for you guys.

How do you save the command output from the CLI  to a file on flash?

With IOS, I would normally use a pipe command to redirect to tftp, but the ASA doesn't support this as far as I can tell. As a work around I was thinking I could save the output to flash and then tftp that file off the ASA.

Thanks,

Paul

HTH Paul ****Please rate useful posts****
Everyone's tags (4)
2 ACCEPTED SOLUTIONS

Accepted Solutions
Super Bronze

How to Save Command Output to Flash on ASA 8.4

Easier solution for you - just use the telnet/ssh client logging feature to save the output of ASA command to a text file.

Super Bronze

How to Save Command Output to Flash on ASA 8.4

you can change the setting so there is no break in the output on the ASA:

pager 0

Setting it to 0 means no break line.

If you want to run long output for example: show tech, or show run, then quickly change the pager to 0, and change it back to number of lines you want before break (by default it's 24 lines).

5 REPLIES
Super Bronze

How to Save Command Output to Flash on ASA 8.4

Easier solution for you - just use the telnet/ssh client logging feature to save the output of ASA command to a text file.

Bronze

How to Save Command Output to Flash on ASA 8.4

Hi Jennifer,

Thanks for your help. I do use this feature at the moment, but I find every break in the output (where you need to hit space to see more) gets recorded which leaves the file quite messy. I usually have to edit the file afterwards so it reads clearly.

I wondered if there is a way for the asa to write the output directly?

Thanks,

Paul

HTH Paul ****Please rate useful posts****
Super Bronze

How to Save Command Output to Flash on ASA 8.4

you can change the setting so there is no break in the output on the ASA:

pager 0

Setting it to 0 means no break line.

If you want to run long output for example: show tech, or show run, then quickly change the pager to 0, and change it back to number of lines you want before break (by default it's 24 lines).

Bronze

How to Save Command Output to Flash on ASA 8.4

Ah magic! 

Thanks Jennifer, i'll give this a go.

HTH Paul ****Please rate useful posts****
Bronze

How to Save Command Output to Flash on ASA 8.4

Just tried this and it worked great.

Thanks for your help Jennifer

HTH Paul ****Please rate useful posts****
1560
Views
0
Helpful
5
Replies