I periodically do a little with Cisco devices, but not very often. I used to have a filtering command that was pretty handy. It'd go something like:
show run | include interface next 5
That'd display every line of output that had "interface" and the next 5 lines after the line that had "interface" in it.
Today I upgraded some new switches (3750X) to IOS 15.2(4)E4. And that "next" command switch doesn't seem to work. If I just do:
show run | include interface
That works by displaying only the line with "interface" in the line. But if I add "next 5", it returns no results. Also, the "prev" command switch doesn't work either.
Any help is appreciated.