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. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

BGP and BGP in vrf

Hi, can I configuration like this? and will it work?

My goal is get default route from BGP session with ISP1 in Main Routing Table, and ISP2 default route in  vrf routing table

         ISP1("classic" bgp session)

       /

R1<

       \

         ISP2 ("vrf" bgp session)

router bgp 65200
no synchronization
bgp log-neighbor-changes
 network 10.1.2.0 mask 255.255.255.0
neighbor 10.0.1.1 remote-as 64501
no auto-summary
!
address-family ipv4 vrf C1
no synchronization
bgp router-id auto-assign
network 10.1.1.0 mask 255.255.255.0
neighbor 10.0.2.1 remote-as 64502
exit-address-family
11 REPLIES
VIP Super Bronze

Re: BGP and BGP in vrf

Hi,

Yes, you can bring one connection to your global and one to a VRF.  What are you trying to do?

New Member

BGP and BGP in vrf

thanks for your answer, well in my case I already have one BGP peer with ISP1 and get from this ISP default(not full view) route in my main routing table, another ISP2 will be on same router with and it will anounce for me default route too. From my side I will anounce for ISPs just part of my BGP address space for each of ISPs(I do this to be sure that my incoming traffic comes to right ISP which I define) I dont want  load balace for my outcoming traffic, and outcoming trafic will go to right ISP

BGP and BGP in vrf

Hi Krasnoperov,

I suppose for your requirement, yo don't need to for for VRFs.

Better solution is to make route-maps and apply to BGP neighbours as per your requirement.

HTH,

Smitesh

New Member

BGP and BGP in vrf

You are right, it was first what I do, but I don't know why when I use

PBR on my 3945 router, even for 60mbit/sec incoming traffic my processor load was 60%!!!

And my second descussion was this

https://supportforums.cisco.com/message/3479955#3479955

BGP and BGP in vrf

Hi,

regarding CEF switched in  PBR I'd suggest to read exactly whyt kind of "set" or "match" entries are supportd in CEF. May be you're trying to use something which is not CEF'd

New Member

BGP and BGP in vrf

Yes, tried to do that, but unfortunatly there is no good doc on cisco website which describe what "match" "set" statements are cef swiched, and what type of statements should be in ACL when creating route-maps . For e.g. I found doc's where says that for Cat3750 all deny statement in ACL into route-map goes for RP not cef swiched, for Cat6500 thereis no such info, and so on.

BGP and BGP in vrf

Try prefix list instead.

Regards,

Smitesh

BGP and BGP in vrf

I've seen a couple of time that sometime named-acl doesn't work correct, but a normal numbered-acl works.

New Member

BGP and BGP in vrf

Thanks for idea, I make my PBR on named ACL only, so will try to change it to nums ACL. Also I'm intresting if I have  statements in my ACL which defines not only source and destination ip addresses but also port numbers and protocols, is PBR stays cef swiched or not?

BGP and BGP in vrf

with ports and protocol is a good question , I'd say - no. CEF can't operate with ports number, but I suggest to ask Cisco support they should know it.

BGP and BGP in vrf

Have you tried prefix-list as I suggested above.

HTH,

Smitesh

716
Views
0
Helpful
11
Replies