[nsp] Question about "show ip bgp regexp" output

Andy Furnell andy.furnell at uk.clara.net
Wed Dec 11 14:25:10 EST 2002


On Wed, Dec 11, 2002 at 02:41:27PM +0100, Gert Doering wrote:
> 
> hi,
> 
> On Wed, Dec 11, 2002 at 01:55:12PM +0100, TMS wrote:
> > When I run command "sh ip bgp regexp _100$" on my bgp router I have
> > output which looks like this:
> > 
> > *> 192.168.192.0/19 10.1.212.15              0    200      0 100 i
> > * i                 10.1.212.20              0    200      0 100 i
> > *> 192.168.198.16/30
> >                     10.1.212.15              0    200      0 100 i
> > * i                 10.1.212.20              0    200      0 100 i
> > 
> > Is any way to have line 3 and 4 together ? My dream is output looks
> > like that:
> 
> Filter out anything that's more specific than a /24...
> 
> (That's what we did.  It saves about 2500 prefixes, and we haven't
> seen anything important that is unreachable since).
> 
> gert

i'm assuming he just wanted to stop the lines from wrapping :)

In which case 'term width x' ought to do the trick (the terminal width
should be inhereted automagically, but in some cases isn't).

A

-- 
Andy Furnell            Claranet UK Ltd.      andy.furnell@uk.clara.net
Systems Administrator    020 7903 3246             http://www.clara.net


More information about the cisco-nsp mailing list