Junos OS

last person joined: 6 days ago 

Ask questions and share experiences about Junos OS.
Expand all | Collapse all

How to match multiple interfaces using single show command using regular expressions

  • 1.  How to match multiple interfaces using single show command using regular expressions

    Posted 09-02-2019 01:38

    show interface terse | match vme.0  and  irb.0

     

    i've tried show interface terse | match "! (vme | irb)"

    with no luck...

     

    thanks in advance !

     



  • 2.  RE: How to match multiple interfaces using single show command using regular expressions
    Best Answer

    Posted 09-02-2019 01:44

    show interfaces terse | match "vme|irb"

     

     



  • 3.  RE: How to match multiple interfaces using single show command using regular expressions

    Posted 09-02-2019 02:26

    I was close, but not close enough 🙂

     

    thanks Nellikka !