Yuri,
Give it a go yourself and let us know what worked.
Regards,
Marc Edwards
CCIE #38259
On Wed, Jul 10, 2013 at 12:50 PM, marc edwards <renorider_at_gmail.com> wrote:
> Carlos pointed out that the last '|10' essentially wipes out all lines
>
> try 'show int status | ex notconnect|a'
>
> That is about as close as you are gonna get without regex gymnastics
>
> Marc Edwards
> CCIE #38259
>
>
> On Wed, Jul 10, 2013 at 10:58 AM, Cisco Fanatic <ebay_products_at_hotmail.com
> > wrote:
>
>> This shows nothing
>>
>> SW1#show int status | ex not|a|1000|10
>>
>> -yuri
>>
>>
>> > Date: Wed, 10 Jul 2013 17:47:44 +0200
>> > From: daniel.dib_at_reaper.nu
>> > To: ccielab_at_groupstudy.com
>> > Subject: RE: include/exclude commands
>> >
>> > How about:
>> >
>> > sh int status | ex not|a|1000|10
>> >
>> > Daniel Dib
>> >
>> > CCIE
>> > #37149
>> >
>> > 2013-07-10 17:31 skrev Cisco Fanatic:
>> >
>> > > I think what I am
>> > asking is that I only need to display interfaces which are
>> > > hardcoded
>> > as 100Mbps. I am also getting everything else which I don't need.
>> > >
>> > >
>> > SW1#sh int status | i connected|100
>> > > Gi2/36 connected 116 full 100
>> > >
>> > 10/100/1000-TX
>> > > Gi2/37 connected 116 a-full a-1000
>> > > 10/100/1000-TX
>> > >
>> > Gi2/38 connected 116 full 100
>> > > 10/100/1000-TX
>> > > Gi2/39 connected 116
>> > a-full a-1000
>> > > 10/100/1000-TX
>> > > Gi2/40 DC1000-4FL-WAP003 connected 220
>> > a-full a-1000
>> > > 10/100/1000-TX
>> > > Gi2/41 DC1fl4ups2 connected 3 a-full
>> > a-100
>> > > 10/100/1000-TX
>> > > Gi2/42 connected 116 a-full a-1000
>> > >
>> > 10/100/1000-TX
>> > > Gi2/43 connected 116 a-full a-1000
>> > > 10/100/1000-TX
>> > >
>> > Gi2/44 connected 116 full 100
>> > > 10/100/1000-TX
>> > > Gi2/45 connected 116
>> > full 100
>> > > 10/100/1000-TX
>> > > Gi2/46 connected 116 full 100
>> > >
>> > 10/100/1000-TX
>> > > Gi2/47 connected 116 a-full a-1000
>> > > 10/100/1000-TX
>> > >
>> >
>> > >> Date: Wed, 10 Jul 2013 08:09:21 -0700 Subject: Re: include/exclude
>> > commands From: renorider_at_gmail.com To: ebay_products_at_hotmail.com CC:
>> > ccielab_at_groupstudy.com sh int status Marc Edwards CCIE #38259 On Wed,
>> > Jul 10, 2013 at 7:59 AM, Cisco Fanatic
>> > >
>> > >
>> > <ebay_products_at_hotmail.com>wrote:
>> > >
>> > >>> Is there a quick way to figure
>> > out which interfaces are configured for speed 100 say instead of running
>> > show run command. If I do the include command it also shows interfaces
>> > which are not configured with speed 100. Any create ways to do stuff
>> > similar to bgp regular expressions :) SW1#sh run | i interface|speed 100
>> > interface GigabitEthernet2/35 interface GigabitEthernet2/36 speed 100
>> > interface GigabitEthernet2/37 interface GigabitEthernet2/38 speed 100
>> > interface GigabitEthernet2/39 interface GigabitEthernet2/40 interface
>> > GigabitEthernet2/41 interface GigabitEthernet2/42 interface
>> > GigabitEthernet2/43 interface GigabitEthernet2/44 speed 100 interface
>> > GigabitEthernet2/45 speed 100 interface GigabitEthernet2/46 speed 100
>> > interface GigabitEthernet2/47 interface GigabitEthernet2/48 interface
>> > GigabitEthernet3/1 interface GigabitEthernet3/2 yuri Blogs and organic
>> > groups at http://www.ccie.net [1]
>> > _______________________________________________________________________
>> > Subscription information may be found at:
>> > http://www.groupstudy.com/list/CCIELab.html [2]
>> > >> Blogs and organic
>> > groups at http://www.ccie.net [1]
>> > _______________________________________________________________________
>> > Subscription information may be found at:
>> > http://www.groupstudy.com/list/CCIELab.html [2]
>> > >
>> > > Blogs and organic
>> > groups at http://www.ccie.net [1]
>> > >
>> > >
>> > _______________________________________________________________________
>> > >
>> > Subscription information may be found at:
>> > >
>> > http://www.groupstudy.com/list/CCIELab.html [2]
>> >
>> >
>> >
>> > Links:
>> > ------
>> > [1]
>> > http://www.ccie.net
>> > [2] http://www.groupstudy.com/list/CCIELab.html
>> >
>> >
>> > Blogs and organic groups at http://www.ccie.net
>> >
>> > _______________________________________________________________________
>> > Subscription information may be found at:
>> > http://www.groupstudy.com/list/CCIELab.html
>>
>>
>> Blogs and organic groups at http://www.ccie.net
>>
>> _______________________________________________________________________
>> Subscription information may be found at:
>> http://www.groupstudy.com/list/CCIELab.html
Blogs and organic groups at http://www.ccie.net
Received on Wed Jul 10 2013 - 12:56:31 ART
This archive was generated by hypermail 2.2.0 : Thu Aug 01 2013 - 08:45:50 ART