I have 2 - 3560X's running c3560e-universalk9-mz.152-1.E.bin. I want to have three different routing tables, STORE, ENDUSER, SERVER.
My question is how to setup OSPF, do I create 1 OSPF instance with all of my subnets, or do I create an instance for each VRF?
Here is some of my config
ip vrf ENDUSER
description End User Segment
ip vrf SERVER
description Server Segment
ip vrf STORE
description Store Connectivity
Under each SVI, I have the VRF forwarding statement
ip vrf forwarding ENDUSER
ip address 192.168.1.2 255.255.255.0
the segregation of the routing-tables with VRFs also includes the routing protocols, so you'll have to setup an OSPF process for each VRF:
(config)# router ospf [vrf ]
Also keep in mind that you'll need another router (or firewall etc.) to manage the routing between networks of different VRFs, if this is desired.
Hope that helps