Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

BGP:preferred outgoing path

hi gurus,

is it possible to use local preference on this kind of setup? attached here is the diagram. i want each block of ip address to have different outgoing path.

tia.

13 REPLIES
Bronze

Re: BGP:preferred outgoing path

I think the only way to acheive your aim will be by using route-map .

Regards

Haris

New Member

Re: BGP:preferred outgoing path

Hi Haris,

route-map and then use local preference? im using ibgp ,can you provide me a sample config.

Can i influence outgoing based on source address coming from my network ?

tnx

New Member

Re: BGP:preferred outgoing path

for outgoing you can use local peference and for inbound traffic, you may use community attributes

http://www.cisco.com/en/US/docs/ios/12_4t/ip_route/configuration/guide/t_brbext.html#wp1052018

New Member

Re: BGP:preferred outgoing path

hi aries,

can i influence outgoing traffic based on source which is my network address?

tnx

Hall of Fame Super Silver

Re: BGP:preferred outgoing path

Hello Jefferson,

>> can i influence outgoing traffic based on source which is my network address?

not using BGP you should use PBR policy based routing for this

if you want that traffic with source 10.10.20.0/24 goes out via AS 200 and traffic with source 10.10.10.0/24 goes out via AS 500 as showed in your picture BGP is not enough.

BGP provides a lot of tools and policies but it works on destination address.

So BGP can be helpful on trying to influence the return path from internet.

To achieve what you want the distribution multilayer switches have to use PBR with next hop the lan ip address of the correct border router (the one connecting to AS 200, and the one connecting to AS 500 in your picture)

Hope to help

Giuseppe

New Member

Re: BGP:preferred outgoing path

Hi Guiseppe,

I would create a PBR then enable it on the interface in the core network not on the border router. how bout using vrf ?

tnx a lot.

Hall of Fame Super Silver

Re: BGP:preferred outgoing path

Hello Jefferson,

yes on the core router towards the border router.

>> how bout using vrf ?

if the needs are that net 10.10.20.0/24 should access internet only and via AS 200 and the same for 10.10.10.0/24 via AS 500 you can think to use two VRFs.

You can do this if AS 200 and AS 500 are only used for these networks.

In this way you separate the networks and you don't need PBR.

If other IP networks need to use AS 200 and AS 500 PBR is a better solution.

Hope to help

Giuseppe

New Member

Re: BGP:preferred outgoing path

Hi Giuseppe,

Yes other networks need to use this. another thing my GSR12406 dont have pbr enabled. im using 12.0(38), can i enable this one?

tnx.

Hall of Fame Super Silver

Re: BGP:preferred outgoing path

Hello Jefferson,

in the case of GSR what counts is the linecard if you have an engine3 4GE I think PBR should be fine.

I remember I tested PBR on these linecards.

3GE engine2 can have some limitations but it should work too.

Hope to help

Giuseppe

New Member

Re: BGP:preferred outgoing path

Hi Giuseppe,

I only 3GE line cards and i think they dont support pbr.

Hall of Fame Super Silver

Re: BGP:preferred outgoing path

Hello Jefferson,

you are right:

RT-TO-CRN-SI-E-1(config-if)#ip policy ?

% Unrecognized command

RT-TO-CRN-SI-E-1(config-if)#ip policy

I verified on one of our GSR that has a 3GE engine2 linecard

You need to verify if you can configure a GRE tunnel between access router and border router so that you can send traffic over it

Hope to help

Giuseppe

Bronze

Re: BGP:preferred outgoing path

Dear Giuseppe,

Doing with vrf will be a great idea ,but it will not provide the redundancy for him .

For redundancy he may use PBR with object tracking

http://www.cisco.com/en/US/tech/tk364/technologies_configuration_example09186a0080211f5c.shtml

Regards

Haris

Re: BGP:preferred outgoing path

Hi,

If the routers in AS100 are all IBGP peers, then yes , setting the local prefrence for a set of prefixes would have different outgoing path.

Assuming all routers in AS100 are IBGP peers or within a Confederation (Confederation Members).

By default, IBGP updates carries the following manadatory attributes:

1- As path.

2- local prefrence.

3- Origin.

HTH

Mohamed

161
Views
5
Helpful
13
Replies
CreatePlease to create content