Celestica Documentation Portal

Find your product documents here

max-metric

Sets OSPF maximum / infinite-distance metric.

Syntaxmax-metric router-lsa administrative|on-shutdown <shutdown-time>|on-startup <startup-time>
Command modeRouter OSPF
Parameters
  • shutdown-time – Time (in seconds) to wait till full shutdown. Range: 5 – 100.

  • startup-time – Time (in seconds) to advertise self as stub-router. Range: 5 – 86400.

Usage Use no max-metric router-lsa administrative|on-shutdown <shutdown-time>|on-startup <startup-time> to remove the configuration.
Supported Releases1.1.0 or later
Click command None
Example
sonic(config-router)# max-metric router-lsa administrative
sonic(config-router)# max-metric router-lsa on-startup 5
sonic(config-router)# max-metric router-lsa on-shutdown 5
sonic(config-router)# no max-metric router-lsa administrative
sonic(config-router)# no max-metric router-lsa on-startup 5
sonic(config-router)# no max-metric router-lsa on-shutdown 5