RE: bgp as-path

From: Tim Devries (TDevries@cyence.com)
Date: Fri Nov 15 2002 - 12:18:45 GMT-3


Right, to go three AS paths deep you would type:

route-views.oregon-ix.net>sh ip bgp regex ^7500+_[0-9]*_[0-9]*$

BGP table version is 4451210, 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
* 4.0.0.0 202.249.2.86 0 7500 2497 1 i
* 4.2.88.0/24 202.249.2.86 0 7500 2497 1 i
* 4.2.101.0/24 202.249.2.86 0 7500 2497 1 i
* 4.2.102.0/24 202.249.2.86 0 7500 2497 1 i
* 9.2.0.0/16 202.249.2.86 0 7500 2497 701 i
* 9.184.112.0/20 202.249.2.86 0 7500 2516 3786
i
* 9.186.144.0/20 202.249.2.86 0 7500 2516 3786
i
* 12.4.125.0/24 202.249.2.86 0 7500 2516 1239
i
* 12.34.47.0/24 202.249.2.86 0 7500 2497 1239
i
* 12.144.61.0/24 202.249.2.86 0 7500 2516 1239
i
* 13.0.0.0 202.249.2.86 0 7500 2497 5673
i
* 15.254.80.0/21 202.249.2.86 0 7500 2915 i
* 16.0.0.0 202.249.2.86 0 7500 2497 33 i
* 17.255.232.0/24 202.249.2.86 0 7500 2497 701 i
* 20.137.0.0/16 202.249.2.86 0 7500 3549 i
* 20.137.8.0/22 202.249.2.86 0 7500 2518 3549
i
* 20.137.28.0/22 202.249.2.86 0 7500 2497 3549
i
* 20.137.32.0/22 202.249.2.86 0 7500 2497 3549
i
* 20.137.36.0/22 202.249.2.86 0 7500 2516 3549
i
* 20.138.0.0/22 202.249.2.86 0 7500 2497 3549
i

2 paths deep would be:

route-views.oregon-ix.net>sh ip bgp regex ^7500+_[0-9]*$
BGP table version is 4451044, 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
* 15.254.80.0/21 202.249.2.86 0 7500 2915 i
* 20.137.0.0/16 202.249.2.86 0 7500 3549 i
* 20.138.0.0/16 202.249.2.86 0 7500 3549 i
* 20.139.0.0/16 202.249.2.86 0 7500 3549 i
* 20.139.12.0/22 202.249.2.86 0 7500 3549 ?
* 20.139.16.0/20 202.249.2.86 0 7500 3549 ?
*> 43.232.0.0/14 202.249.2.86 0 7500 17506 i
*> 43.232.128.0/19 202.249.2.86 0 7500 17506 i
*> 43.232.160.0/20 202.249.2.86 0 7500 17506 I

Etc.

-----Original Message-----
From: Emmanuel Guilain [mailto:emmanuel.guilain@cgey.com]
Sent: Thursday, November 14, 2002 7:22 PM
To: ccielab@groupstudy.com
Subject: Re: bgp as-path

----- Original Message -----
  From: csc david
  as10--------as4---------as11----------as12

  put ^4_[0-9]*$ on as10, it should be 4 and 4,11

  but why not 4 11 12?

If I'm right it's because the * doesn't work for the _ symbol.

So the _ occurs only once.

So there is only the 4 and just another one.

Emmanuel Guilain



This archive was generated by hypermail 2.1.4 : Tue Dec 03 2002 - 07:23:01 GMT-3