OSPFv3 Commands 1255ExampleThe following example sets a default of 100 for the metric of distributedroutes.console(config)#ipv6 router ospfconsole(config-rtr)#default-metric 100distance ospfThe distance ospf command sets the preference values of OSPF route typesin the router. Lower route preference values are preferred when determiningthe best route. The type of OSPF route can be intra, inter, external. All theexternal type routes are given the same preference value. Use the “no” form ofthis command to reset the preference values to the default.Syntaxdistance ospf {external | inter-area | intra-area}distanceno distance ospf {external | inter-area | intra-area}distance•distance— Used to select the best path when there are two or more routesto the same destination from two different routing protocols (Range:1–255).Default ConfigurationThe default preference value is 110.Command ModeRouter OSPF Configuration mode.Router OSPFv3 Configuration mode.User GuidelinesThere are no user guidelines for this command.ExampleThe following example sets a route preference value of 100 for intra OSPF inthe router.