Is the above correct, or is there a way to have a router redistribute arbitrary routes (say, redistributing static) where one route will be redistributed with cost 10 and one will be redistributed with cost 50?
Edit: to clarify, I'm looking for something along the lines of:
Where all connected subnets are redistributed at a cost of 10 except 192.168.100.0/24, which is redistributed with a cost of 50.
Code: Select all
router ospf 1 redistribute connected subnets route-map control-conn ! access-list 1 permit 192.168.100.0 0.0.0.255 route-map control-conn permit 10 match ip address 1 set metric 50 ! route-map control-conn permit 20 set metric 10 !