AOS-CX Switch Simulator

 View Only
last person joined: yesterday 

Expand all | Collapse all

Basics: AOS-CX: Pipe (|) support in show commands

This thread has been viewed 18 times
  • 1.  Basics: AOS-CX: Pipe (|) support in show commands

    EMPLOYEE
    Posted May 04, 2021 01:42 AM

    AOS-CX Pipe (|) support in show commands



    The pipe (|) command is a CLI session command that filters the output of show show commands according to the criteria specified by the parameter include, exclude, count, begin, or redirect.

     

    • The pipe (|) command is supported for use with the show command only.
    • You can use multiple pipe commands with a single show

    For example: show running-config | include "vlan" | exclude "vlan2" | count

    • You can use the pipe command with the page
    • Command completion by pressing the Tab key is not supported for pipe



    Happy AOS-CX learning :-)!

    Good day!

    ------------------------------
    Yash NN
    ------------------------------


  • 2.  RE: Basics: AOS-CX: Pipe (|) support in show commands

    Posted Mar 15, 2024 06:31 AM
    But it does not work with the command "show logging" or "show event", is that so?
     
    Something like this:
    show logging -r | include "interface 2/1/19"