Re: bgp as-path modification [7:38632]

2002-03-18 Thread John Neiberger

Here's one example:

router bgp 100
 neighbor 10.1.1.1 remote 200
 neighbor 10.1.1.1 route-map prepend out
!
access-list 1 permit 20.0.0.0
access-list 1 permit 30.0.0.0
!
route-map prepend permit 10
 match ip address 1
 set as-path prepend 100 100 100
!
route-map prepend permit 20
!

This will prepend AS100 three times when it's advertising 20/8 and 30/8
to this neighbor.

HTH,
John

>>> "Eric Waguespack"  3/18/02 2:32:19 AM >>>
does anyone have a sample config that uses a route-map
to modify the as path in bgp?

i can't seem to find an example.


thanks

__
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/




Message Posted at:
http://www.groupstudy.com/form/read.php?f=7&i=38653&t=38632
--
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]



RE: bgp as-path modification [7:38632]

2002-03-18 Thread Chris Headings

You can try - 

BGP Statement - 
neighbor x.x.x.x route-map prepend out/in

Route-Map - 
route-map prepend permit 10
 set as-path prepend 701 701 701

We use this statement to make sure that we force traffic to come back our
"main" DS3...

Chris


Message Posted at:
http://www.groupstudy.com/form/read.php?f=7&i=38654&t=38632
--
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]