Re: IOS Feature question

From: Edward Agostinho (edward@ceg.co.za)
Date: Sun Nov 23 2003 - 19:13:36 GMT-3


Danny

Another way is to use......in your example "sh run int bri0"

HTH

Edward
----- Original Message -----
From: <Danny.Andaluz@triaton-na.com>
To: <jhays@jtan.com>; <ccielab@groupstudy.com>
Sent: Sunday, November 23, 2003 6:55 PM
Subject: RE: IOS Feature question

> For example, if I have 4 BRI's, but only one is being used (bri0), is
there
> a way to leave out bri1-3 when I do a "show run"? I'm not sure if a "|
> exclude" can include more than one line.
>
> Danny
>
> -----Original Message-----
> From: Jonathan V Hays [mailto:jhays@jtan.com]
> Sent: Sunday, November 23, 2003 8:18 AM
> To: Andaluz, Danilo, Triaton/NA; ccielab@groupstudy.com
> Subject: RE: IOS Feature question
>
>
> Could you please describe the output you are looking for in greater
detail?
>
> I use 'sh ip int brief | exclude unassigned' a lot, which gives me a list
of
> interfaces with IP addresses on a Cisco device.
>
> 1#sh ip int brief
> Interface IP-Address OK? Method Status
> Protocol
> FastEthernet0/0 137.10.125.1 YES manual up
> up
> FastEthernet1/0 unassigned YES manual administratively
> down down
> Serial1/0 unassigned YES manual administratively
> down down
> Serial1/1 unassigned YES manual administratively
> down down
> Ethernet3/0 unassigned YES manual administratively
> down down
> Serial3/0 unassigned YES manual administratively
> down down
> Serial3/1 unassigned YES manual administratively
> down down
> Loopback0 137.10.1.1 YES manual up
> up
>
>
> R1#sh ip int brief | exclude unassigned
> Interface IP-Address OK? Method Status
> Protocol
> FastEthernet0/0 137.10.125.1 YES manual up
> up
> Loopback0 137.10.1.1 YES manual up
> up
> R1#
>
> The keywords 'include', 'exclude', and 'begin' can help a lot in filtering
> out unwanted lines in your output.
>
> R1#show run | ?
> begin Begin with the line that matches
> exclude Exclude lines that match
> include Include lines that match
>
> HTH,
>
> Jonathan
>
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
> Danny.Andaluz@triaton-na.com
> Sent: Saturday, November 22, 2003 9:20 PM
> To: ccielab@groupstudy.com
> Subject: IOS Feature question
>
>
> Hey, Group. Is there any way to remove unused interfaces from showing up
in
> the display of a "show run" or "show config"?
>
> Thanks,
> Danny
>
> _______________________________________________________________________
> Please help support GroupStudy by purchasing your study materials from:
> http://shop.groupstudy.com
>
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
> _______________________________________________________________________
> Please help support GroupStudy by purchasing your study materials from:
> http://shop.groupstudy.com
>
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
> _______________________________________________________________________
> Please help support GroupStudy by purchasing your study materials from:
> http://shop.groupstudy.com
>
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Fri Dec 12 2003 - 12:29:16 GMT-3