Improving IS-IS Convergence Times

Table of contents:

Problem

You want to speed convergence of IS-IS routes in case a path fails with no hardware indication, which might happen on an Ethernet network.

Solution

Have IS-IS perform the SPF calculation more often:

	[edit protocols isis]
	aviva@RouterG# set spf-delay 100

Discussion

One of the most important factors that affects the convergence of IS-IS routes is how often the software performs the SPF calculation. By default, IS-IS performs the SPF calculation 200 milliseconds after a topology change is detected. The command in this recipe halves the time to 100 milliseconds:

	[edit protocols isis]
	aviva@RouterG# set spf-delay 100

Another way to improve link failure detection times is to use the Bidirectional Forwarding Protocol ( BFD), which provides a mechanism to detect communication failures with a forwarding-plane next hop. BFD is a simple hello protocol. A pair of systems exchange BFD packets periodically, and if a system stops receiving the packets for long enough, some component in that particular bidirectional path to the neighboring system is assumed to have failed. If you want to shorten the IS-IS link failure detection time to about 1 second, set the BFD packet exchange interval to 333 milliseconds:

	[edit protocols isis]
	aviva@RouterG# set interface fe-0/0/1 bfd-liveness-detection minimum-interval 333

By default, BFD multiplies the packet-exchange interval by three to determine the link detection failure time. Configuring an interval of 333 milliseconds results in a failure time of just under 1 second.

You also need to configure BFD using the same command on the interface at the other end of the link. Use the show bfd session command to see BFD information:

	aviva@RouterG> show bfd session detail
	Address State Interface Detect Time Interval Multiplier
	10.0.1.1 Up fe-0/0/1.0 0.999 0.333 3
	 Client ISIS L2, TX interval 0.300, RX interval 0.300, multiplier 3
	 Session up time 00:00:37
	 Local diagnostic None, remote diagnostic None
	 Remote heard, hears us
	1 sessions, 1 clients
	Cumulative transmit rate 3.0 pps, cumulative receive rate 3.0 pps

If the link goes down, the BFD session fails and you no longer see the link:

	aviva@RouterG> show bfd session detail
	 Transmit
	Address State Interface Detect Time Interval Multiplier
	0 sessions, 0 clients
	Cumulative transmit rate 0.0 pps, cumulative receive rate 0.0 pps


Router Configuration and File Management

Basic Router Security and Access Control

IPSec

SNMP

Logging

NTP

Router Interfaces

IP Routing

Routing Policy and Firewall Filters

RIP

IS-IS

OSPF

BGP

MPLS

VPNs

IP Multicast



JUNOS Cookbook
Junos Cookbook (Cookbooks (OReilly))
ISBN: 0596100140
EAN: 2147483647
Year: 2007
Pages: 290
Authors: Aviva Garrett

Flylib.com © 2008-2020.
If you may any questions please contact us: flylib@qtcs.net