cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
922
Views
0
Helpful
2
Replies

Pix Show pipe command very useful

hugodrax
Level 1
Level 1

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 2

scoclayton
Level 7
Level 7

I am.

Scott

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

Review Cisco Networking products for a $25 gift card