02-17-2020 11:14 AM
I've been trying to work on finishing tshoot before the 24th. I have a live lab that I use and I'm working on using regexp's. I would like to filter the "show interfaces description" command to only show interfaces that actually have descriptions. That is, to filter all the interfaces with no descriptions. I can't seem to find any combination that works. Does anyone have a solution they figured out to accomplish this?
Solved! Go to Solution.
02-17-2020 12:17 PM
lab-PKI_client#show interfaces description
Interface Status Protocol Description
Gi1 up up WAN
Gi2 up up DMZ
Gi3 up up
Gi4 up up
lab-PKI_client#show interfaces description | include ^[a-zA-Z0-9\/]+.+(up|down).+\1.+[A-Z]+
Gi1 up up WAN
Gi2 up up DMZ
lab-PKI_client#
Link to guide:
02-17-2020 12:17 PM
lab-PKI_client#show interfaces description
Interface Status Protocol Description
Gi1 up up WAN
Gi2 up up DMZ
Gi3 up up
Gi4 up up
lab-PKI_client#show interfaces description | include ^[a-zA-Z0-9\/]+.+(up|down).+\1.+[A-Z]+
Gi1 up up WAN
Gi2 up up DMZ
lab-PKI_client#
Link to guide:
02-24-2020 01:03 PM
Thank you sir
10-17-2023 04:08 AM
I know this is old thread but was just wondering if someone can assist with something similar. I am trying to filter on interfaces containing a certain string, eg AP that are down, but no matter what expressions I try I can never get just the down AP interfaces, either shows me all down interfaces or all AP interfaces
10-17-2023 04:27 AM
I managed too get workaround with show interfaces status | include AP.*notconnect but would still like to be able to do it on interface dec as well
02-18-2020 02:15 AM
02-18-2020 02:22 AM
02-24-2020 01:05 PM
I understand that. I just try to take the position of, "study for the next exam." So I did a lot of watching/reading for CCIE level material for the CCNP just as I did CCNP level study for the CCNA
I missed tshoot though. Ran out of time and didn't answer the last ticket, ended up with a 835. It's too bad the tickets take like 20 seconds to load on the exam. I think with the time I spent waiting for the tickets to load, I would have had enough to finish the last one. I had isolated it to either and ACL issue or a port-security issue
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide