cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1424
Views
3
Helpful
11
Replies

How BGP TE can use to send internal prefix traffic via one ISP LK

bandararmc
Level 1
Level 1

Hi all, 

We have few ISP providers and few public subnets. we need send/receive one specific prefix traffic via one ISP provider for any destination.

For Inbound traffic, I can use AS-PATH prepend option. 

But I have a concern how to control outbound traffic from our AS for any destination. As per my knowledge we can use Local Preference as a inbound policy on the BGP peer to control outbound traffic but you may need to know destination IPs. 

Here I only know the internal prefix, so I used below config using

ip access list extended

but that did not help and when I checked BGP Routing, there was no change on LP values. Any good suggestion to solve this scenario please? 

************************

Used config 

ip access-list extended ABCDE
permit ip any aa.bb.cc.0 0.0.0.255
!
!
route-map XVZ permit 10
match ip address ABCDE
set local-preference 200
!
route-map XVZ permit 20

router bgp xxxx
address-family ipv4
neighbor aa.bb.cc.dd route-map XYZ in

***************************

Thank you in advance... 

1 Accepted Solution

Accepted Solutions

Hi,

what is

prefix-list

you try to match and set LP to 200? If it is local prefix, then obviously it will not work. And since destination is any and you want to route from specific your subnet (prefix) via selected ISP, you can't do such control with BGP. Use policy-based routing.

HTH,
Please rate and mark as an accepted solution if you have found any of the information provided useful.

View solution in original post

11 Replies 11

Hi,

what is

prefix-list

you try to match and set LP to 200? If it is local prefix, then obviously it will not work. And since destination is any and you want to route from specific your subnet (prefix) via selected ISP, you can't do such control with BGP. Use policy-based routing.

HTH,
Please rate and mark as an accepted solution if you have found any of the information provided useful.

if you have dual ISP then you can control Outbound via LP.
this make router prefer routes via one ISP 
I dont see wrong in your config 

Hi,

based on requirement, author needs to send to specific ISP based on local prefix. Route control with LP is for destination prefixes.

HTH,
Please rate and mark as an accepted solution if you have found any of the information provided useful.

he have dual ISP 
he can set LP without need to match any prefix 
what he need is 
neighbor x.x.x.x route-map LP in 
!
route-map LP permit 10
set LP 200

that it 
it work without need of PBR.

Hi MHM Cisco World, 

Thank you for response. 

Here what I want to set only one prefix outbound traffic via one ISP link. Not all traffic. Otherwise I will affect to our traffic balancing. 

Best Regards~~~

Just one min.

You receive this destination prefix from both or one ISP?

You mention I check bgp table what excatly you check?

Hi,

There is no specific destination. So destination prefixes can be received from any ISP link. 

Best Regards~~~

so you receive default route via BGP from ISP ??
if that case then sure you can not use LP 
you can use PBR as @Kanan Huseynli  mention above. 
if you receive this public IP from ISP you can use LP or you can use LP to shift all traffic via one ISP.

With your configuration it affects all routing. He needs only from specific source prefix, read requirements please.

HTH,
Please rate and mark as an accepted solution if you have found any of the information provided useful.

paul.driver
Level 1
Level 1

Hello
Just like to add It seems it’s been assumed by the OP stating local preference that the isp connections are via multiple wan rtrs it doesn’t state this, So if they are attached via a single wan rtr, then the weight preference would be applicable for egress routing.

Hello
Just like to add It seems it’s been assumed by the OP stating local preference that the isp connections are via multiple wan rtrs it doesn’t state this, So if they are attached via a single wan rtr, then the weight preference would be applicable for egress routing.


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul