cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
465
Views
0
Helpful
3
Replies

Routing Issue

akash.deep
Level 1
Level 1

Hi,

I have attached a photo can you please have a look and let me know what configuration we can do for inbound traffic in ospf ans bgp

3 Replies 3

Mark Malone
VIP Alumni
VIP Alumni

Hi

Theres a few ways to do it using path attributes but local pref is usually preferred for adjusting incoming routes as preferred path your learning from the ISP  , if you use the below on the preferred ebgp neighbour it will make that path more preferred as the local pref will higher than the default 100

router bgp xxx
 neighbor x.x.x.x route-map LP.Prefer in


access-list 101 permit ip any any

 !

route-map LP.Prefer permit 10
  match ip address 101
  set local-preference 200

route-map LP.Prefer permit 20

I think you didnt under stand my qustion. please go through one more time.

I am asking how can we send the traffic out from the arrow sign link

 your learning routes in from both providers PE1 and PE2 yes is that correct ?

if you want your lan traffic to go out PE1 you need to make the routes coming in from PE1 more preferred or else use another path attribute to make  it more preferable , setting all routes coming in from PE1 with higher LP will make it more preferred for lan traffic in BGP table

Review Cisco Networking for a $25 gift card