Celestica Documentation Portal

Find your product documents here

default-metric

Sets metric of redistributed routes.

Syntaxdefault-metric <metric>
Command modeRouter OSPF
Parameters
  • metric – Default metric. Range: 0 – 16777214.

Usage Use no default-metric <metric> to remove the configuration.
Supported Releases1.1.0 or later
Click command None
Example
sonic(config-router)# default-metric 10
sonic(config-router)# no default-metric 10