distance (IS-IS)

Configures an administrative distance value for Intermediate System-to-Intermediate System (IS-IS) routes.

Syntax

distance number
no distance number

Command Default

The default is 115.

Parameters

value
Specifies the administrative distance. Valid values range from 1 through 255. The default is 115.

Modes

IS-IS address-family IPv4 unicast configuration mode

IS-IS address-family IPv6 unicast configuration mode

Usage Guidelines

IS-IS is supported only on devices based on the DNX chipset family. For a list of such devices, see "Supported Hardware".

Routes with a distance value of 255 are not installed in the routing table.

The no form of the command resets the distance value to the default value of 115.

Examples

The following example sets an administrative distance of 40 for the IPv4 unicast address family.

device# configure terminal
device(config)# router isis
device(config-isis-router)# address-family ipv4 unicast
device(config-router-isis-ipv4u)# distance 40

The following example sets an administrative distance of 60 for the IPv6 unicast address family.

device# configure terminal
device(config)# router isis
device(config-isis-router)# address-family ipv6 unicast
device(config-router-isis-ipv6u)# distance 60