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 spf

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show isis spf (brief | log | results)
<instance instance-name>
<level (1 | 2)>
<logical-system (all | logical-system-name)>
<topology (ipv4-multicast | ipv6-multicast | ipv6-unicast | unicast)>

Syntax (EX Series Switches)

content_copy zoom_out_map
show isis spf (brief | log | results)
<instance instance-name>
<level (1 | 2)>
<topology (ipv4-multicast | ipv6-multicast | ipv6-unicast | unicast)>

Description

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

Options

brief

Display an overview of SPF calculations.

log

Display the log of SPF calculations.

results

Display the results of SPF calculations.

instance instance instance-name

(Optional) Display SPF calculations for the specified routing instance.

level (1 | 2)

(Optional) Display SPF calculations for the specified IS-IS level.

log

Display the log of SPF calculations.

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

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

results

Display the results of SPF calculations.

topology (ipv4-multicast | ipv6-multicast | ipv6-unicast | unicast)

(Optional) Display SPF calculations for the specified topology only.

Required Privilege Level

view

Output Fields

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

Table 1: show isis spf Output Fields

Field Name

Field Description

Node

System ID of a node.

Metric

Metric to the node.

Interface

Interface of the next hop.

Via

System ID of the next hop.

SNPA

Subnetwork point of attachment (MAC address of the next hop).

Start time

(log option only) Time that the SPF computation started.

Elapsed (secs)

(log option only) Length of time, in seconds, required to complete the SPF computation.

Count

(log option only) Number of times the SPF was triggered.

Reason

(log option only) Reason that the SPF computation was completed.

Sample Output

show isis spf log

content_copy zoom_out_map
user@host> show isis spf log logical-system lsl   
 IS-IS level 1 SPF log:
Start time          Elapsed (secs) Count Reason
Fri Oct 31 12:41:18        0.000069    1 Reconfig
Fri Oct 31 12:41:18        0.000107    3 Updated LSP fix.00-00
Fri Oct 31 12:41:18        0.000050    3 Address change on so-1/2/2.0
Fri Oct 31 12:41:23        0.000033    1 Updated LSP fix.00-00
Fri Oct 31 12:41:28        0.000178    5 New adjacency scat on ge-1/1/0.0
Fri Oct 31 12:41:59        0.000060    1 Updated LSP fix.00-00
Fri Oct 31 12:42:30        0.000161    2 Multi area attachment change
Fri Oct 31 12:56:58        0.000198    1 Periodic SPF
Fri Oct 31 13:10:29        0.000209    1 Periodic SPF
 IS-IS level 2 SPF log:

Start time          Elapsed (secs) Count Reason
Fri Oct 31 12:41:18        0.000035    1 Reconfig
Fri Oct 31 12:41:18        0.000047    2 Updated LSP fix.00-00
Fri Oct 31 12:41:18        0.000043    5 Address change on gr-0/2/0.0
Fri Oct 31 12:41:23        0.000022    1 Updated LSP fix.00-00
Fri Oct 31 12:41:59        0.000144    3 New adjacency h on gr-0/2/0.0
Fri Oct 31 12:42:30        0.000257    3 New LSP skag.00-00
Fri Oct 31 12:54:37        0.000195    1 Periodic SPF
Fri Oct 31 12:55:50        0.000178    1 Updated LSP fix.00-00
Fri Oct 31 12:55:55        0.000174    1 Updated LSP h.00-00
Fri Oct 31 12:55:58        0.000176    1 Updated LSP skag.00-00
Fri Oct 31 13:08:14        0.000198    1 Periodic SPF
IPV6 Unicast IS-IS level 1 SPF log:

Start time          Elapsed (secs) Count Reason
Fri Oct 31 12:41:18        0.000028    1 Reconfig
Fri Oct 31 12:41:18        0.000043    3 Updated LSP fix.00-00
Fri Oct 31 12:41:18        0.000112    4 Updated LSP fix.00-00
Fri Oct 31 12:41:23        0.000059    1 Updated LSP fix.00-00
Fri Oct 31 12:41:25        0.000041    1 Updated LSP fix.00-00
Fri Oct 31 12:41:28        0.000103    5 New adjacency scat on ge-1/1/0.0
Fri Oct 31 12:41:59        0.000040    1 Updated LSP fix.00-00
Fri Oct 31 12:42:30        0.000118    2 Multi area attachment change
Fri Oct 31 12:56:08        0.000289    1 Periodic SPF
Fri Oct 31 13:11:07        0.000214    1 Periodic SPF
IPV6 Unicast IS-IS level 2 SPF log:

Start time          Elapsed (secs) Count Reason
Fri Oct 31 12:41:18        0.000027    1 Reconfig
Fri Oct 31 12:41:18        0.000039    2 Updated LSP fix.00-00
Fri Oct 31 12:41:18        0.000049    6 Updated LSP fix.00-00
Fri Oct 31 12:41:23        0.000025    1 Updated LSP fix.00-00
Fri Oct 31 12:41:25        0.000023    1 Updated LSP fix.00-00
Fri Oct 31 12:41:59        0.000087    3 New adjacency h on gr-0/2/0.0
Fri Oct 31 12:42:30        0.000123    3 New LSP skag.00-00
Fri Oct 31 12:55:50        0.000121    1 Updated LSP fix.00-00
Fri Oct 31 12:55:55        0.000121    1 Updated LSP h.00-00
Fri Oct 31 12:55:58        0.000121    1 Updated LSP skag.00-00
Fri Oct 31 13:09:46        0.000201    1 Periodic SPF
...

show isis spf results logical-system

content_copy zoom_out_map
user@host> show isis spf results logical-system ls1   
IS-IS level 1 SPF results:
Node             Metric     Interface         Via             SNPA
scat.00          10         ge-1/1/0.0       scat            0:90:69:a6:48:9d
                 20         10.9.1.0/30
fix.02           10
fix.00           0
                 10         10.9.1.0/30
                 10         10.9.5.0/30
                 10         10.9.6.0/30
                 20         10.9.7.0/30
                 60         10.9.201.1/32
  3 nodes

 IS-IS level 2 SPF results:
Node             Metric     Interface         Via             SNPA
skag.00          20         gr-0/2/0.0       h             
                 30         10.9.7.0/30
skag.02          20         gr-0/2/0.0       h             
h.00             10         gr-0/2/0.0       h             
                 20         10.9.6.0/30
                 20         10.9.7.0/30
                 60         10.9.201.1/32
fix.00           0
                 10         10.9.1.0/30
                 10         10.9.5.0/30
                 10         10.9.6.0/30
  4 nodes

IPV6 Unicast IS-IS level 1 SPF results:
Node             Metric     Interface         Via             SNPA
scat.00          10         ge-1/1/0.0       scat            0:90:69:a6:48:9d
                            ge-1/1/0.0       scat            0:90:69:a6:48:9d
                 20         8009:1::a09:1400/126
fix.02           10
fix.00           0
                 10         8009:1::a09:1400/126
                 10         8009:2::a09:1e00/126
                 20         8009:3::a09:3200/126
                 10         8009:4::a09:2800/126
  3 nodes

IPV6 Unicast IS-IS level 2 SPF results:
Node             Metric     Interface         Via             SNPA
skag.00          20         gr-0/2/0.0       h             
                            gr-0/2/0.0       h             
                 30         8009:3::a09:3200/126
skag.02          20         gr-0/2/0.0       h             
                            gr-0/2/0.0       h             
h.00             10         gr-0/2/0.0       h             
                            gr-0/2/0.0       h             
                 20         8009:3::a09:3200/126
                 20         8009:4::a09:2800/126
fix.00           0
                 10         8009:1::a09:1400/126
                 10         8009:2::a09:1e00/126
                 10         8009:4::a09:2800/126
  4 nodes           
                    
Multicast IS-IS level 1 SPF results:
Node             Metric     Interface         Via             SNPA
scat.00          10         ge-1/1/0.0       scat            0:90:69:a6:48:9d
fix.02           10 
fix.00           0  
  3 nodes           
                    
Multicast IS-IS level 2 SPF results:
Node             Metric     Interface         Via             SNPA
skag.00          20         gr-0/2/0.0       h             
skag.02          20         gr-0/2/0.0       h             
h.00             10         gr-0/2/0.0       h             
fix.00           0  
  4 nodes           
...

show isis spf results (CLNS)

content_copy zoom_out_map
user@host> show isis spf results    
IS-IS level 1 SPF results:
Node             Metric     Interface         Via             SNPA
skag.00 10                  fe-0/0/1.0       toothache       0:12:0:34:0:56
                            fe-0/0/1.0       toothache       0:12:0:34:0:56
                 20         192.168.37.64/29
                 10         1921.6800.4001
                 20         1921.6800.4002
pro1-a.02        10
pro1-a.00        0
                 0          10.255.245.1/32
                 10         192.168.37.64/29
                 0          1921.6800.4211
  3 nodes

IS-IS level 2 SPF results:
Node             Metric     Interface         Via             SNPA
skag.00 10                  fe-0/0/1.0       toothache       0:12:0:34:0:56
                            fe-0/0/1.0       toothache       0:12:0:34:0:56
                 20         10.255.245.1/32
                 20         192.168.37.64/29
                 20         47.0005.80ff.f800.0000.0109.0010/104
pro1-a.02        10
pro1-a.00        0
                 0          10.255.245.1/32
                 10         192.168.37.64/29
  3 nodes 

Release Information

Command introduced before Junos OS Release 7.4.

footer-navigation