RE: ebgp next-hop problem

From: Brian McGahan (brian@xxxxxxxxxxxxxxx)
Date: Fri Aug 09 2002 - 12:36:21 GMT-3


   
Chenyan,

        You can use the command 'neighbor 1.2.3.4 next-hop-unchanged',
or you can modify the next-hop with a route-map:

Router BGP 1
 neighbor 1.2.3.4 route-map SET_NEXT_HOP
!
route-map SET_NEXT_HOP permit 10
 match ip address prefix-list Mr_Prefix
 set ip next-hop 5.6.7.8
route-map SET_NEXT_HOP permit 20
!
ip prefix-list Mr_Prefix permit 10.0.0.0/8

HTH

Brian McGahan, CCIE #8593
Director of Design and Implementation
brian@cyscoexpert.com

CyscoExpert Corporation
Internetwork Consulting & Training
http://www.cyscoexpert.com
Voice: 847.674.3392
Fax: 847.674.2625

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
chenyan
Sent: Friday, August 09, 2002 9:43 AM
To: ccielab
Subject: ebgp next-hop problem

hi,guys,

Is it possible to keep the next-hop attribute of the NLRI of the
original AS when they are passing through a transit AS, and HOW?

Thanks



This archive was generated by hypermail 2.1.4 : Sat Sep 07 2002 - 19:48:21 GMT-3