To configure the administrative distance for CLNS routes learned, use the distance command in router configuration mode. To restore the administrative distance to the default, use the no form of this command.
distance value [clns]
no distance value [clns]Syntax Description
value
Administrative distance, indicating the trustworthiness of a routing information source. This argument has a numerical value between 0 and 255. A higher relative value indicates a lower trustworthiness rating. Preference is given to routes with smaller values. The default, if unspecified, is 110.
clns
(Optional) CLNS-derived routes for IS-IS.
Defaults
Static routes---10
ISO IGRP routes---100
IS-IS routes---110Command Modes
Router configuration
Command History
Release Modification 10.0
This command was introduced.
Usage Guidelines
When multiple routing processes are running in the same router for CLNS, it is possible for the same route to be advertised by more than one routing process. The Cisco IOS software always picks the route whose routing protocol has the lowest administrative distance.
The show clns protocol EXEC command displays the default administrative distance for a specified routing process.
Examples
In the following example, the distance value for CLNS routes learned is 90. Preference is given to these CLNS routes rather than routes with the default administrative distance value of 110.
router isis distance 90 clns