[nsp] BGP regex - directly connected routes ?

Tim D. zsolutions@cogeco.ca
Mon, 12 Aug 2002 18:05:32 -0500


>
> ----- Original Message -----
> From: "matthew zeier" <mrz@intelenet.net>
> To: <cisco-nsp@puck.nether.net>
> Sent: Monday, August 12, 2002 4:48 PM
> Subject: [nsp] BGP regex - directly connected routes ?
>
>
> >
> > I'm having troubles coming up with a regexp to show me just directly
> > connected peers.  The best I've come up with is :
> >
> >     sh ip bgp regexp ^(5555)+
> >
> > which covers directly connected peers that prepend their path to me.
> > However, is there a regexp that'll show me all, without having to have
one
> > for each peer?
>
> sh ip bgp ^(5555)+_[0-9]*$

Sorry, I forgot the 'regexp'

Obviously that would be, show ip bgp regexp ^(5555)+_[0-9]*$

>
> > Thanks.
> >
> >
> > --
> > matthew zeier                        | "In mathematics you don't
> understand
> > InteleNet Communications, Inc.       |  things.  You just get used to
> them."
> > (949) 784-7904                       |       - John von Newmann
> >
> >
> > _______________________________________________
> > cisco-nsp mailing list  real_name)s@puck.nether.net
> > http://puck.nether.net/mailman/listinfo/cisco-nsp
> > archive at http://puck.nether.net/pipermail/cisco-nsp/
>