cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2075
Views
0
Helpful
1
Replies

nesting grep commands

jfaaborg
Level 1
Level 1

Does anyone know how to nest grep commands in aireOS? I thought I saw a TAC engineer do it once. 

 

TIA

 

Jon Faaborg

1 Reply 1

balaji.bandi
Hall of Fame
Hall of Fame

not sure what nesting you looking at here :

grep works with include and exclude :

 

(WLC-BB) >grep ?

include        Include lines that match.
exclude        Exclude lines that match.

 

grep include "AP Serial Number" "show ap config general AP-NAME"

grep include "MAC Address" "show ap config general AP-NAME”

grep include "IP Address" "show ap config general AP-NAME"

 

check below blog:

 

https://wifirambler.wordpress.com/2021/08/03/aireos-commands/

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Review Cisco Networking for a $25 gift card