OSPFv3 Commands 943
Syntax
distance ospf {external | inter-area | intra-area }
distance
no distance ospf {external | inter-area | intra-area }
distance
distance
— Used to select the best path when there are two or more routes
to the same destination from two different routing protocols (Range:
1–255).
Default Configuration
The default preference value is 110.
Command Mode
Router OSPF Configuration mode.
Router OSPFv3 Configuration mode.
User Guidelines
There are no user guidelines for this command.
Example
The following example sets a route preference value of 100 for intra OSPF in
the router.
console(config)#ipv6 router ospf
console(config-rtr)#distance ospf intra 100
enable
Use the enable command in Router OSPFv3 Configuration mode to enable
administrative mode of OSPF in the router (active).
Syntax
enable
no enable
Default Configuration
Enabled is the default state.