distance <distance>
Syntax
distance <distance>
no distance
Description
Defines an administrative distance for OSPFv3. Administrative distance is used as a criteria to select the best route when the same route is learned by multiple routing protocols.
The
no
form of this command sets the OSPFv3 administrative distance to the default of 110.
Command context
config-ospfv3
Parameters
<distance>
Specifies OSPFv3 administrative distance. Default: 110. Range: 1-255.
Authority
Administrators
Examples
Setting OSPF administrative distance:
switch(config)# router ospfv3 1 switch(config-ospfv3-1)# distance 100
Setting OSPF administrative distance to the default:
switch(config)# router ospfv3 1 switch(config-ospfv3-1)# no distance