How to configure VRF Lite on 6509 with OSPF and BGP ?

Unanswered Question
Jan 2nd, 2008


I would like to know how have I to configure my switches for VRF-Lite with OSPF and BGP ?

In fact, our LAN switches 6509 must be configured with VRF-Lite. The routing protocol on the LAN is OSPF. I don't have problem for this (I have already done this before).

The problem is that our 6509 are connected to router using BGP protocol.

There are no VRF configured on the BGP routers and it's not possible to do this.

How have I to configure my 6509 in order to have OSPF and BGP working together in one VRF environment on the 6509 ?

So, I only need to redistribute BGP protocol in only one VRF which are OSPF enabled.

I tested with these commands on the 6509 (the BGP router is connected with the vlan 7 on the 6509 switches) :

ip vrf Site1

rd 1:1

ip vrf Site2

rd 2:2

interface Vlan7

description *** to BGP router ***

ip vrf forwarding Site1

ip address


router bgp 400

no bgp default ipv4-unicast

bgp log-neighbor-changes

bgp router-id

bgp log-neighbor-changes

address-family ipv4 vrf Site1

network mask

neighbor remote-as 400

neighbor activate



Thank you by advance and happy new year.

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)


This Discussion