OSPF cost on vlan to favor a new vlan used for OSPF.
I’m working on a network that has vlan 15 used for OSPF routing from our Data Center switches to our Core Switches, the vlan being used for OSPF (vlan 15) needs to change to a new vlan (vlan 178). I’m thinking I could create a new vlan 178 and place it into ospf to form neighbors relationships and adjust the cost on the old vlan 15 to prefer vlan 178 for OSPF and once the routing is confirmed that OSPF routes prefer vlan 178 then OSPF will be taken off of vlan 15. What I’m wanting to do is transfer the interfaces in OSPF to gradually move over to vlan 187, in this way one interface could be transferred at a time, this would make it a slow process, but this would be a preferred method over doing all OSPF interface to the new vlan 178.
I’m not sure how I could do this, I was thinking of using a route-map with an access-list, but I don’t think an access-list can filter traffic on the local device.
I would like a suggestion or two as to what can be done to accomplish this?