Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Example: Configuring IS-IS for CLNS

This example shows how to create a routing instance and enable the IS-IS protocol on all interfaces.

Requirements

Before you begin, configure the network interfaces. See the Junos OS Interfaces Configuration Guide for Security Devices.

Overview

The configuration instructions in this topic describe how to create a routing instance called aaaa, enable IS-IS on all interfaces, define the BGP export policy name (dist-bgp), family (ISO), and protocol (BGP), and apply the export policy to IS-IS.

Configuration

CLI Quick Configuration

To quickly configure this example, copy the following commands, paste them into a text file, remove any line breaks, change any details necessary to match your network configuration, and then copy and paste the commands into the CLI at the [edit] hierarchy level.

set routing-instances aaaa protocols isis clns-routingset routing-instances aaaa protocols isis interface all set routing-instances aaaa protocols isis no-ipv4-routing no-ipv6-routing set policy-options policy-statement dist-bgp from family iso protocol bgpset policy-options policy-statement dist-bgp then accept set routing-instances aaaa protocols isis export dist-bgp

Step-by-Step Procedure

The following example requires you to navigate various levels in the configuration hierarchy. For information about navigating the CLI, see Using the CLI Editor in Configuration Mode in the CLI User Guide.

To configure IS-IS for CLNS:

  1. Enable CLNS routing.
    [edit routing-instances aaaa]user@host# set protocols isis clns-routing
  2. Enable IS-IS on all interfaces.
    [edit routing-instances aaaa]user@host# set protocols isis interface all
  3. (Optional) Disable IPv4 and IPv6 routing to configure a pure CLNS network.
    [edit routing-instances aaaa]user@host# set protocols isis no-ipv4-routing no-ipv6-routing
  4. Define the BGP export policy name, family, and protocol.
    [edit policy-options]user@host# set policy-statement dist-bgp from family iso protocol bgp
  5. Define the action for the export policy.
    [edit policy-options]user@host# set policy-statement dist-bgp then accept
  6. Apply the export policy to IS-IS.
    [edit routing-instances aaaa]user@host# set protocols isis export dist-bgp

Results

From configuration mode, confirm your configuration by entering the show routing-instances and show policy-options commands. If the output does not display the intended configuration, repeat the instructions in this example to correct the configuration.

user@host# show routing-instances
aaaa {protocols {isis {export dist-bgp;no-ipv4-routing;no-ipv6-routing;clns-routing;interface all;}
user@host# show policy-options
policy-statement dist-bgp {from {family iso;protocol bgp;}then accept;}

If you are done configuring the device, enter commit from configuration mode.

Verification

Confirm that the configuration is working properly.

Verifying the ISO Routes

Purpose

Verify that the expected ISO routes are displayed in the IS-IS routing table.

Action

From operational mode, enter the show isis route command.

Checking the SPF Calculations

Purpose

Display information about IS-IS shortest-path-first (SPF) calculations.

Action

From operational mode, enter the show isis spf command.

Published: 2014-07-23