C613-50631-01 Rev A Command Reference for IE340 Series 1242
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
OSPFV3 FOR IPV6 COMMANDS
DISTANCE
(IPV6 OSPF)
distance (IPv6 OSPF)
Overview This command sets the administrative distance for OSPFv3 routes based on the
route type. Your device uses this value to select between two or more routes to the
same destination from two different routing protocols. The route with the smallest
administrative distance value is added to the Forwarding Information Base (FIB).
See the OSPFv3 Feature Overview and Configuration Guide for more information.
Use the command distance ospfv3 to set the distance for an entire category of
OSPFv3 routes, rather than the specific routes that pass an access list.
Use the command distance <1-254>, with no other parameter, to set the same
distance for all OSPFv3 route types.
The no variant of this command sets the administrative distance for OSPFv3 routes
to the default of 110.
Syntax
distance <1-254>
distance ospfv3 {external <1-254>|inter-area <1-254>|intra-area
<1-254>}
no distance {ospfv3|<1-254>}
Default The default OSPFv3 administrative distance is 110. The default Administrative
Distance for each type of route (intra, inter, or external) is 110.
Mode Router Configuration
Usage notes The administrative distance rates the trustworthiness of a routing information
source. The distance could be any integer from 0 to 254. A higher distance value
indicates a lower trust rating. For example, an administrative distance of 254
indicates that the routing information source cannot be trusted and should be
ignored.
Use this command to set the distance for an entire group of routes, rather than a
specific route that passes an access list.
Examples To set the following administrative distances for route types in OSPF 100:
• 20 for inter-area routes
Parameter Description
<1-254> Specify the Administrative Distance value for OSPFv3 routes.
external Sets the distance for routes from other routing domains, learned by
redistribution.
Specify an OSPFv3 external distance in the range <1-254>.
inter-area Sets the distance for all routes from one area to another area.
Specify an OSPFv3 inter-area distance in the range<1-254>.
intra-area Sets the distance for all routes within an area.
Specify an OSPFv3 intra-area distance in the range <1-254>.