From: ying chang (ying_c@xxxxxxxxxxx)
Date: Mon Apr 15 2002 - 00:26:34 GMT-3
701 is there all right. The point I'm trying to make is you don't want to
get AS189 when all you want is AS1 and its directly connected neighbor as I
showed earlier:
route-views.oregon-ix.net>sh ip bgp regexp ^701_[0-9]*$
BGP table version is 1626743, local router ID is 198.32.162.100
Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 3.0.0.0 157.130.185.17 0 701 80 i
* 3.18.135.0/24 157.130.185.17 0 701 7018 ?
* 4.0.0.0 157.130.185.17 0 701 1 i
* 6.0.0.0/20 157.130.185.17 0 701 3549 i
*> 9.2.0.0/16 157.130.185.17 0 701 i
*> 9.184.112.0/20 157.130.185.17 0 701 3786 i
*> 9.186.144.0/20 157.130.185.17 0 701 3786 i
* 12.0.0.0 157.130.185.17 0 701 7018 i
*> 12.0.252.0/23 157.130.185.17 0 701 16927 i
*> 12.3.80.0/22 157.130.185.17 0 701 10998 i
* 12.3.194.0/24 157.130.185.17 0 701 6347 i
*> 12.3.217.0/24 157.130.185.17 0 701 16666 i
* 12.4.125.0/24 157.130.185.17 0 701 1239 i
* 12.4.126.0/23 157.130.185.17 0 701 17024 i
*> 12.5.201.0/24 157.130.185.17 0 701 23060 i
*> 12.5.202.0/24 157.130.185.17 0 701 22474 i
*> 12.6.171.0/24 157.130.185.17 0 701 10851 i
*> 12.8.9.0/24 157.130.185.17 0 701 18627 i
--More--
>From: "Shi, Ning" <ning.shi@bellnexxia.com>
>Reply-To: "Shi, Ning" <ning.shi@bellnexxia.com>
>To: ccielab@groupstudy.com
>Subject: RE: BGP Reg Exp
>Date: Sun, 14 Apr 2002 19:53:03 -0400
>
>Chang,
>You won't be able to see 701's own prefix...
>
>Either one has it's problem but I will go with ^1 ?[0-9]*$ because I will
>apply it towards AS1.
>
>
>Regards,
>
>-ns
>
>-----Original Message-----
>From: ying chang [mailto:ying_c@hotmail.com]
>Sent: 14 April 2002 7:28 PM
>To: ying_c@hotmail.com; pauljin@yahoo.com; gerd.thuemmler@berlin.de;
>ccielab@groupstudy.com
>Subject: Re: BGP Reg Exp
>
>
>I hope below output from the internet can help to clarify the confusion:
>
>ner-routes>show ip bgp regexp ^1 ?[0-9]*$
>BGP table version is 20106408, local router ID is 10.0.0.2
>Status codes: s suppressed, d damped, h history, * valid, > best, i -
>internal
>Origin codes: i - IGP, e - EGP, ? - incomplete
>
> Network Next Hop Metric LocPrf Weight Path
>*>i4.1.40.0/22 4.24.153.162 0 100 0 189 i
>*>i4.1.44.0/23 4.24.66.2 0 100 0 189 i
>*>i4.1.46.0/23 4.24.105.102 0 100 0 189 i
>...
>*>i4.2.64.0/24 4.24.62.22 0 100 0 189 i
>
>ner-routes>show ip bgp regexp ^1 [0-9]*$
>
>ner-routes>show ip bgp regexp ^701 [0-9]*$
>BGP table version is 20106466, local router ID is 10.0.0.2
>Status codes: s suppressed, d damped, h history, * valid, > best, i -
>internal
>Origin codes: i - IGP, e - EGP, ? - incomplete
>
> Network Next Hop Metric LocPrf Weight Path
>*>i3.0.0.0 4.0.6.142 1000 50 0 701 80 i
>*>i9.184.112.0/20 4.0.6.142 1000 50 0 701 3786 i
>*>i9.186.144.0/20 4.0.6.142 1000 50 0 701 3786 i
>...
>*>i12.15.150.0/23 4.0.6.142 1000 50 0 701 11847 i
>*>i12.17.202.0/23 4.0.6.142 1000 50 0 701 12170 i
>*>i12.17.226.0/23 4.0.6.142 1000 50 0 701 20029 i
>
>ner-routes>show ip bgp regexp ^701 ?[0-9]*$
>BGP table version is 20106501, local router ID is 10.0.0.2
>Status codes: s suppressed, d damped, h history, * valid, > best, i -
>internal
>Origin codes: i - IGP, e - EGP, ? - incomplete
>
> Network Next Hop Metric LocPrf Weight Path
>*>i3.0.0.0 4.0.6.142 1000 50 0 701 80 i
>*>i3.18.135.0/24 192.205.32.113 1000 50 0 7018 i
>*>i9.2.0.0/16 4.0.6.142 1000 50 0 701 i
>*>i9.184.112.0/20 4.0.6.142 1000 50 0 701 3786 i
>*>i9.186.144.0/20 4.0.6.142 1000 50 0 701 3786 i
>*>i12.0.0.0/23 192.205.32.113 1000 50 0 7018 i
>*>i12.0.0.0 192.205.32.153 1000 50 0 7018 i
>...
>*>i12.8.188.0/24 4.0.6.142 1000 50 0 701 8143 i
>*>i12.10.20.0/23 4.0.6.142 1000 50 0 701 11560 i
>--More--
>
>
> >From: "ying chang" <ying_c@hotmail.com>
> >Reply-To: "ying chang" <ying_c@hotmail.com>
> >To: pauljin@yahoo.com, gerd.thuemmler@berlin.de, ccielab@groupstudy.com
> >Subject: Re: BGP Reg Exp
> >Date: Sun, 14 Apr 2002 18:30:50 -0400
> >
> >'?' is 0 or more instances. It's true Halabi's example used
> >^1 ?[0-9]*$, but when '?' is 0, you will get ^1[0-9]*$, which is not
> >what you want. ^1_[0-9]*$ is the correct choice.
> >
> >Chang
> >
> >>From: Paul Jin <pauljin@yahoo.com>
> >>Reply-To: Paul Jin <pauljin@yahoo.com>
> >>To: Gerd Thuemmler <gerd.thuemmler@berlin.de>, ccielab@groupstudy.com
> >>Subject: Re: BGP Reg Exp
> >>Date: Sun, 14 Apr 2002 14:54:27 -0700 (PDT)
> >>
> >>I have seen ^1 ?[0-9]*$
> >>as the example for AS1 and its directly connected AS in a couple of
> >>different documentations.
> >>
> >>- Paul
> >>
> >> Gerd Thuemmler <gerd.thuemmler@berlin.de> wrote: Hi,
> >>
> >>At 21:22 14.04.2002, glmorris wrote:
> >> >^1 ?[0-9]*$ AS 1 & its directly connected ASs'
> >>
> >>..hmm, i think that isn't correct. IMHO is that the correct way:
> >>
> >>^1_[0-9]*$
> >>
> >>
> >>
> >>Gerd Thuemmler (4 Days to the Lab)
> >>Berlin, Germany
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:58:08 GMT-3