Configuring the OSPFv2 Max-Metric Router LSA
By configuring the OSPFv2 max-metric router LSA you can enable OSPFv2 to advertise its locally generated router LSAs with a maximum metric.
NOTE
You can configure OSPFv2 max-metric router LSA in either startup or non-startup mode. When you configure max-metric in non-startup mode, it only applies once and is not persistent across reloads or after the
clear ip ospf all command is issued.
The following example configures an OSPFv2 device to advertise a maximum metric for 85 seconds after a restart before advertising with a normal metric.
device# configure terminal device(config)# router ospf device(config-ospf-router)# max-metric router-lsa on-startup 85