[c-nsp] Cisco CLI and regular expression

Jerry Bacon jerryb at startouch.com
Wed Sep 1 09:58:20 EDT 2021


Leave out the spaces. show run | inc channel10\.1911

-- 

Jerry Bacon
Senior Network Engineer
StarTouch, Inc.
http://www.startouch.com
360-543-5679 ext. 111
Microwave - Fiber Optics - Internet Services


On 9/1/21 12:55 AM, Olivier CALVANO wrote:
> Does anyone know how to make a:
>
> show run | i Port-channel10.1911
> Port-channel10 interface
> Port-channel interface10.1911
>
> only display
> show run | i Port-channel10.1911
> Port-channel interface10.1911
>
> I don't know why but it shows me the ePort-channel10e support interface
>
> i tried with show run | i Port-channel10 \ .1911
> but the same:
> Port-channel10 interface
> Port-channel interface10.1911


More information about the cisco-nsp mailing list