Showing results for 
Search instead for 
Did you mean: 

Cisco pipe operator FORMAT

Level 1
Level 1

I'm trying to find out what the show pipe operator FORMAT does.  There is little to no documentation on this option -- I just can't find any good examples of its use.  I would like to format the output of "show platform cpu packet buffered" into a wireshark .pcap file, and am wondering if this is the appropriate use of the FORMAT operator.

switch#$rm cpu packet buffer | ?
append Append redirected output to URL (URLs supporting append operation
begin Begin with the line that matches
count Count number of lines which match regexp
exclude Exclude lines that match
format Format the output using the specified spec file
include Include lines that match
redirect Redirect output to URL
section Filter a section of output
tee Copy output to URL

What does this operator do, and would I be able to perform something like:

show cpu packet buffered | format bootflash:test.pcap

Without actually formatting my bootflash?

Throwing packets since 2012
2 Replies 2

Dennis Mink
VIP Alumni
VIP Alumni

excellent question,

I think it refers to this:

although I have never tried formating CLI output.(looks a bit convoluted)

Please remember to rate useful posts, by clicking on the stars below.

Level 1
Level 1

The link is old and appears to be deprecated, but I have same problem and question with this command modifier.

Review Cisco Networking for a $25 gift card