Command Reference OSPFv3 Commands
3.11 distance
Use this command to set the management distance corresponding to different types of OSPFv3
routes. Use the no form of this command to restore the default setting.
distance { distance | ospf { intra-area distance | inter-area distance | external distance } }
Sets the management distance of the route, in the range from 1 to
255.
Sets the management distance of the intra-area route, in the range
from1 to 255.
Sets the management distance of the inter-area route, in the range
from 1 to 255.
Sets the management distance of the external route, in the range
from 1 to 255.
The default value is 110.
Management distance of the intra-area route :110,
Management distance of the inter-area route :110
Management distance of the external-area route: 110.
Routing process configuration mode.
This command is used to specify different management distances for different types of OSPFv3
routes. The management distance of the route is used for the comparison of routing priority, the
smaller the management distance is, the higher the routing priority.
The priority of the route generated by different OSPFv3 processes must be compared using
the management distance.
Setting the management distance as 255 indicates the routing entry is unreliable and will not for
the packet forwarding.
the following example sets the OSPFv3 external route management distance to 160.
Ruijie(config)# ipv6 router ospf 20
Ruijie(config-router)# distance ospf external 160
Enables the OSPFv3 routing process .