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. And see here for current known issues.

New Member

Pix Show pipe command very useful

Anyone here a big fan of the show pipe features

At the end of show <command>, use the pipe character '|' followed by:

begin|include|exclude|grep [-v] <regular_exp>, to filter show output.

Very useful if you have large object-groups and only want to list ACL entries related to that object group since the PIX will display them all as 1 line number

a show access-list | grep line 2 permit tcp

will display only the entries that are part of "line 2 permit tcp"

or

show access-list | grep (hitcnt=0)

will only display unused ACLs, useful for housecleaning.

show access-list | exclude (hitcnt=0)

will only display ACLS with hits

Also useful for viewing connection issues like

show conn | grep saA

show conn | 10.10.30.50

2 REPLIES

Re: Pix Show pipe command very useful

I am.

Scott

New Member

Re: Pix Show pipe command very useful

hey can you add a & feature

so I can do a

show access-list | grep line 9 & exclude (hitcnt=0)

as a last minute bonus for FOS 7

728
Views
0
Helpful
2
Replies
CreatePlease to create content