Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

show isis flex-algorithm

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show isis (spring | spf | route) flex-algorithm flex-algorithm-id
logical-system (all |logical-system-name)

Description

Display the configured flexible algorithm and the defined parameters.

Options

flex-algorithm-id

Specify the ID of the flex algorithm to view its configured parameters.

logical-system (all | logical-system-name)

(Optional) Perform this operation on all logical systems or on a particular logical system.

Required Privilege Level

view

Output Fields

Table 1 describes the output fields for the show isis flex-algorithm command. Output fields are listed in the approximate order in which they appear.

Table 1: show isis flex-algorithm Output Fields

Field Name

Field Description

flex algorithm

Name of the defined flexible algorithm.

color

Name of the BGP colored community mapped with the flexible algorithm.

Chosen Definition

Name of the flexible algorithm definition that the device has chosen to participate in.

calculation-type

The calculation type specified in the flexible algorithm definition (FAD).

metric-type

The metric type specified in the FAD

priority

The specified priority for the advertised flexible algorithm.

Include Any

The administrative groups included in the FAD.

Include All

All the administrative groups included in the FAD.

Exclude

The administrative groups to be excluded.

Prefix

Destination of the route.

L

IS-IS level:

  • 1—Level 1 only

  • 2—Level 2 only

  • 3—Level 1 and Level 2

Version

Version of SPF that generated the route.

Metric

Metric value associated with the route.

Type

Metric type: int (internal) or ext (external).

Interface

Interface to the next hop.

NH

Next hop address type:

  • IPv4

  • IPv6

  • MPLS

Via

System identifier of the next hop, displayed as a name if possible.

Sample Output

show isis spring flex-algorithm flex-algorithm-id

content_copy zoom_out_map
user@host> show isis spring flex-algorithm flex-algorithm-id 129
Flex algortihm : 129, Paritcipating
Color: <color> 
Chosen Definition: <hostname> 	
calculation-type: spf/strict-spf 
	metric-type: igp-metric/te-metric 	
priority: <priority> 	
Include Any: <admin-groups> 	
Include All: <admin-groups> 	
Exclude: <admin-groups> 

show isis spf log flex-algorithm id

content_copy zoom_out_map
user@host> show isis spf log flex-algorithm-id 129
IS-IS level 1 SPF log:

 IS-IS level 2 SPF log:
Start time          Elapsed (secs) Count Reason
Mon Jun 24 11:22:29        0.003264   15 Updated LSP r4.00-00
Mon Jun 24 11:22:36        0.003769    9 Flushing adjacencies

 

show isis route inet flex-algorithm-id

content_copy zoom_out_map
user@host> show isis route inet flex-algorithm-id 129
IS-IS routing table             Current version: L1: 0 L2: 857 
IPv4/IPv6 Routes 
---------------- 
Prefix             L Version   Metric Type Interface       NH   Via                 Backup Score 
10.1.1.1/32        2     857       30 int  ge-0/0/4.1      IPV4 r3 
10.2.2.2/32       2     857       20 int  ge-0/0/4.1      IPV4 r3 
10.3.3.3/32       2     857       10 int  ge-0/0/4.1      IPV4 r3 
10.4.4.4/32       2     857       30 int  ge-0/0/7.1      IPV4 r6 
10.5.5.5/32       2     857       20 int  ge-0/0/7.1      IPV4 r6 
10.6.6.6/32       2     857       10 int  ge-0/0/7.1      IPV4 r6 
10.10.10.10/32     2     857       40 int  ge-0/0/4.1      IPV4 r3

Release Information

Command introduced in Junos OS Release 19.4R1.

footer-navigation