Junos
Highlighted
Junos

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

‎09-02-2019 01:37 AM

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

 

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

with no luck...

 

thanks in advance !

 

Ajaz Nawaz
JNCIE-SEC#254 | CCIE#15721
JNCIA-FWV | JNCIS-FWV
JNCIA-JUNOS | JNCIS-SEC
JNCIP-SEC | JNCIE-SEC
CCNP-Collaboration
2 REPLIES 2
Highlighted
Junos
Solution
Accepted by topic author anawaz
‎09-02-2019 02:24 AM

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

‎09-02-2019 01:43 AM

show interfaces terse | match "vme|irb"

 

 

Thanks,
Nellikka
JNCIE x3 (SEC #321; SP #2839; ENT #790)
Please Mark My Solution Accepted if it Helped, Kudos are Appreciated too!!!
Highlighted
Junos

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

‎09-02-2019 02:25 AM

I was close, but not close enough 🙂

 

thanks Nellikka !

Ajaz Nawaz
JNCIE-SEC#254 | CCIE#15721
JNCIA-FWV | JNCIS-FWV
JNCIA-JUNOS | JNCIS-SEC
JNCIP-SEC | JNCIE-SEC
CCNP-Collaboration
Feedback