I am trying to add a new subnet into route map named static-to-ospf, but I am getting the following error:
Code: Select all
ip static-route 10.10.0.19/32 gateway 10.172.90.90 metric 1
ip route-map "static-to-ospf" sequence-number 10 match ip-address 10.10.0.19/32 redist-control aggregate permit
ERROR: Route Map cannot be modified while in use
Shall I first disable ospf with the following command:
Code: Select all
ip redist static into ospf route-map "static-to-ospf" status disable