08-01-2011 05:46 AM - edited 03-04-2019 01:08 PM
Dear all,
My requirement is
1) For HGC related AS IP, first will choose HGC path 1G path to go, in case HGC 1G link fail, will use HGC 100M link to go, once ALL two HGC lnks fail, Final choose is HKIX link
2) Out of HGC related AS IP, first will choose HKIX 1G path to go, in case HKIX 1G link fail, will use HKIX 100M link to go, once All two HKIX lnks fail, Final choose is HGC link
From the attach diagram and propose configuration, can I acheive above behaviour?
08-01-2011 06:08 AM
Hi,
as you want to make you network to prefer certain liks based on AS number in the outbound direction using local preference
then based on your requriments :
HGC AS 9304
HKIX 4635
in R1 you will have LocalPrefrnece of 100 for IP Prefixes comfing from AS 9304 (HGC 100M) using inbound route-map from the HGC BGP peer
in R2
in R1 you will have LocalPrefrnece of 110 for IP Prefixes comfing from AS 9304 (HGC 1G) using inbound route-map from the HGC BGP peer
based on the above as long as there is iBGP between R1 and R2 route os Prefixes comfing from AS 9304 will use the 1G link with LP 110 and backup link in R1 of 100M
you can use same idea exactly but for AS 4635
config example in R2:
ip as-path acces-list 8 permit ^9304_
route-map LPin permit 10
match as-path 8
set localprefernce 110
route-map LPin permit 20
HTH
if helpful rate
08-01-2011 06:53 AM
In addition to this, AS path prepend to the neighbors on the 100M links to make these links less preferred for traffic going into AS 1234 from 9304
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide