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 10.1.1.2 is connected with the vlan 7 on the 6509 switches) :
ip vrf Site1
ip vrf Site2
description *** to BGP router ***
ip vrf forwarding Site1
ip address 10.1.1.1 255.255.255.240
router bgp 400
no bgp default ipv4-unicast
bgp router-id 188.8.131.52
address-family ipv4 vrf Site1
network 10.1.1.0 mask 255.255.255.240
neighbor 10.1.1.2 remote-as 400
neighbor 10.1.1.2 activate
Thank you by advance and happy new year.