Is there a way to filter the output of commands?

  • 1
  • Question
  • Updated 7 months ago
  • Answered
Looking to see if we can filter the output of commands like you can in Cisco. When I put in a pipe at the end of the command, it comes back with missing filters, but none of the normal filters are working. 

ruckus# show wlan all |
Missing filter
Photo of Dustin Robins

Dustin Robins

  • 2 Posts
  • 0 Reply Likes

Posted 2 years ago

  • 1
Photo of Karl Lavender

Karl Lavender

  • 10 Posts
  • 1 Reply Like
Type 'help' before the primary string... eg.  ruckus# help show

This should output a complete list of show commands for whatever priv level you are logged in as.

On the ZD1200 I see the following show wlan block of commands available:

 show wlan all        
                        Displays a list of all WLAN services (Names). 
 show wlan name <NAME>
                       Displays information for the specified WLAN service (NAME).
 show wlan name <NAME> stations
                       Displays a list of wireless stations associated with a WLAN service.
 show wlan-group all  
                       Displays a list of existing WLAN groups.
 show wlan-group name <WORD>
                       Displays information about a specified WLAN group.
Photo of Dustin Robins

Dustin Robins

  • 2 Posts
  • 0 Reply Likes
Right, but type "show wlan all |" then hit enter. The next line says missing filter. What are the filters?
Photo of supportBot

supportBot

  • 1 Post
  • 0 Reply Likes
i am looking for the exact same thing, to filter out just a few lines containing a word out of the output.

ruckus# show wlan all | ?
here?
ruckus# show wlan all |

Is "here" a command?, i could not find it in the CLI reference guide , if i do-

ruckus# show wlan all | here
here?
  WORD

i get the option to put in the "Word" but it does not seem to work , i tried putting a filter word but i still get the whole thing.

i might be wrong in presuming that this works the same as cisco as well. 
Photo of Michael Brado

Michael Brado, Official Rep

  • 2098 Posts
  • 296 Reply Likes
Sorry, there's no LINUX type pipe/more filter in Ruckus OS CLI.