I am trying to set the metric of an OSPF route using a route-map with a set metric command I used the commands as follows
router ospf 100
distribute-list route-map set_metric in
route-map set_metric permit 10
match ip next-hop X.X.X.X
set metric 47
access-list 1 permit ip X.X.X.X
I get matches on the acl but the metric is never cahnged, can you please help me out.