display isis event-log spf

Use display isis event-log spf to display IS-IS route calculation log information.

Syntax

display isis event-log spf [ ipv4 ] [ [ level-1 | level-2 ] | verbose ] * [ process-id ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

ipv4: Displays IS-IS IPv4 route calculation log information. If you do not specify this keyword, the command displays IS-IS IPv4 route calculation log information for the public network.

level-1: Displays Level-1 route calculation log information.

level-2: Displays Level-2 route calculation log information.

verbose: Displays detailed route calculation log information. If you do not specify this keyword, the command displays brief route calculation log information.

process-id: Specifies a process by its ID in the range of 1 to 65535. If you do not specify this argument, the command displays route calculation log information for all IS-IS processes.

Usage guidelines

If you do not specify a level, the command displays both Level-1 and Level-2 route calculation log information.

Examples

# Display brief IS-IS route calculation log information.

<Sysname> display isis event-log spf

                              SPF Log for IS-IS(1)
                              --------------------

                                Level-1 SPF Log
                                ---------------

Date       Time     Duration   Count      Trigger event
-------------------------------------------------------------------------------
2015-09-07 11:10:45 0          4          Interface metric changed
2015-09-07 09:26:40 0          4          LSP updated
2015-09-07 09:26:28 0          2          DIS changed
2015-09-07 09:26:21 0.001      2          LSP updated
2015-09-07 09:26:07 0.001      3          Direct route changed

                                Level-2 SPF Log
                                ---------------

Date       Time     Duration   Count      Trigger event
-------------------------------------------------------------------------------
2015-09-07 11:10:45 0          4          Interface metric changed
2015-09-07 09:26:40 0          4          LSP updated
2015-09-07 09:26:28 0          2          DIS changed
2015-09-07 09:26:21 0          2          LSP updated
2015-09-07 09:26:07 0          3          Direct route changed

# Display detailed IS-IS route calculation log information.

<Sysname> display isis event-log spf verbose

                              SPF Log for IS-IS(1)
                              --------------------

                                Level-1 SPF Log
                                ---------------

 Log date      : 2015-09-07 11:10:45
 Log key       : 5
 Trigger count : 4
 Trigger event : Interface metric changed
 SPF details   :
   Phase          Duration     Description
   TE tunnel ADJ  0            TE SPF nodes: 0
   Topology       0            SPF nodes: 3
   BSPF           0            Candidate NBRs: 1
   LFA            0            LFA SPF nodes: 1
   Area           0            Area addresses: 1
   PRC            0            Add: 0 modify: 1 delete: 0
                               Last 10 routes:
                               1.1.1.0/24
   Route summary  0            Summary route nodes: 0
   Total          0

 Log date      : 2015-09-07 09:26:40
 Log key       : 4
 Trigger count : 4
 Trigger event : LSP updated
 SPF details   :
   Phase          Duration     Description
   TE tunnel ADJ  0            TE SPF nodes: 0
   Topology       0            SPF nodes: 3
   BSPF           0            Candidate NBRs: 1
   LFA            0            LFA SPF nodes: 1
   Area           0            Area addresses: 1
   PRC            0            Add: 0 modify: 0 delete: 0
   Route summary  0            Summary route nodes: 0
   Total          0

 Log date      : 2015-09-07 09:26:28
 Log key       : 3
 Trigger count : 2
 Trigger event : DIS changed
 SPF details   :
   Phase          Duration     Description
   TE tunnel ADJ  0            TE SPF nodes: 0
   Topology       0            SPF links changed: 1
   BSPF           0            Candidate NBRs: 0
   LFA            0            LFA SPF nodes: 0
   Area           0            Area addresses: 0
   PRC            0            Add: 0 modify: 0 delete: 0
   Route summary  0            Summary route nodes: 0
   Total          0

 Log date      : 2015-09-07 09:26:21
 Log key       : 2
 Trigger count : 2
 Trigger event : LSP updated
 SPF details   :
   Phase          Duration     Description
   TE tunnel ADJ  0            TE SPF nodes: 0
   Topology       0            SPF nodes: 0
   BSPF           0            Candidate NBRs: 0
   LFA            0            LFA SPF nodes: 0
   Area           0            Area addresses: 1
   PRC            0.001        Add: 0 modify: 0 delete: 0
   Route summary  0            Summary route nodes: 0
   Total          0.001

 Log date      : 2015-09-07 09:26:07
 Log key       : 1
 Trigger count : 3
 Trigger event : Direct route changed
 SPF details   :
   Phase          Duration     Description
   TE tunnel ADJ  0            TE SPF nodes: 0
   Topology       0            SPF nodes: 0
   BSPF           0            Candidate NBRs: 0
   LFA            0            LFA SPF nodes: 0
   Area           0            Area addresses: 1
   PRC            0.001        Add: 1 modify: 0 delete: 0
                               Last 10 routes:
                               1.1.1.0/24
   Route summary  0            Summary route nodes: 0
   Total          0.001

                                Level-2 SPF Log
                                ---------------

 Log date      : 2015-09-07 11:10:45
 Log key       : 5
 Trigger count : 4
 Trigger event : Interface metric changed
 SPF details   :
   Phase          Duration     Description
   TE tunnel ADJ  0            TE SPF nodes: 0
   Topology       0            SPF nodes: 3
   BSPF           0            Candidate NBRs: 1
   LFA            0            LFA SPF nodes: 1
   Area           0            Area addresses: 1
   PRC            0            Add: 0 modify: 0 delete: 0
   Route summary  0            Summary route nodes: 0
   Total          0

 Log date      : 2015-09-07 09:26:40
 Log key       : 4
 Trigger count : 4
 Trigger event : LSP updated
 SPF details   :
   Phase          Duration     Description
   TE tunnel ADJ  0            TE SPF nodes: 0
   Topology       0            SPF nodes: 3
   BSPF           0            Candidate NBRs: 1
   LFA            0            LFA SPF nodes: 1
   Area           0            Area addresses: 1
   PRC            0            Add: 0 modify: 0 delete: 0
   Route summary  0            Summary route nodes: 0
   Total          0

 Log date      : 2015-09-07 09:26:28
 Log key       : 3
 Trigger count : 2
 Trigger event : DIS changed
 SPF details   :
   Phase          Duration     Description
   TE tunnel ADJ  0            TE SPF nodes: 0
   Topology       0            SPF links changed: 1
   BSPF           0            Candidate NBRs: 0
   LFA            0            LFA SPF nodes: 0
   Area           0            Area addresses: 0
   PRC            0            Add: 0 modify: 0 delete: 0
   Route summary  0            Summary route nodes: 0
   Total          0

 Log date      : 2015-09-07 09:26:21
 Log key       : 2
 Trigger count : 2
 Trigger event : LSP updated
 SPF details   :
   Phase          Duration     Description
   TE tunnel ADJ  0            TE SPF nodes: 0
   Topology       0            SPF nodes: 0
   BSPF           0            Candidate NBRs: 0
   LFA            0            LFA SPF nodes: 0
   Area           0            Area addresses: 1
   PRC            0            Add: 0 modify: 0 delete: 0
   Route summary  0            Summary route nodes: 0
   Total          0

 Log date      : 2015-09-07 09:26:07
 Log key       : 1
 Trigger count : 3
 Trigger event : Direct route changed
 SPF details   :
   Phase          Duration     Description
   TE tunnel ADJ  0            TE SPF nodes: 0
   Topology       0            SPF nodes: 0
   BSPF           0            Candidate NBRs: 0
   LFA            0            LFA SPF nodes: 0
   Area           0            Area addresses: 1
   PRC            0            Add: 0 modify: 0 delete: 0
   Route summary  0            Summary route nodes: 0
   Total          0

Table 61: Command output

Field

Description

Date

Start date of route calculation.

Time

Start time of route calculation.

Duration

Route calculation duration in seconds. The value is accurate to six decimal places.

Count

Number of events that trigger the current route calculation.

Trigger event

Type of the most recent event that triggers route calculation:

  • NextHop changed.

  • DIS changed.

  • Interface metric changed.

  • SPF link changed.

  • Default route changed.

  • Summary route changed.

  • TE tunnel updated.

  • TE tunnel metric changed.

  • IPv6 mode changed.

  • FRR configuration changed.

  • Prefix priority configuration changed.

  • Route preference changed.

  • ISPF configuration changed.

  • Import filter policy changed.

  • ECMP configuration changed.

  • PIC configuration changed.

  • Interface LFA exclude changed.

  • ATT configuration changed.

  • GR/NSR first SPF.

  • GR over.

  • T3 timeout.

  • Direct route changed.

  • Logic interface changed.

  • Route leakage configuration changed.

  • NSR over.

  • Entered overload state.

  • Exited overload state.

  • Area address changed.

  • Route policy changed.

  • Redistributed route updated.

  • LSP updated.

  • MT disabled.

  • MT enabled.

  • TE tunnel configuration changed.

  • TE tunnel destination changed.

  • RIB smooth.

Log date

Generation time of the route calculation logs.

Log key

Route calculation log key.

Trigger count

Number of events that trigger the current route calculation.

SPF details

Detailed information about the route calculation phases.

Phase

Route calculation phase:

  • TE tunnel ADJ—TE tunnel adjacency calculation.

  • Topology—Topology calculation.

  • BSPF—Backup SPF calculation.

  • LFA—LFA calculation.

  • Area—Area calculation.

  • PRC—Prefix calculation.

  • Route summary—Route summarization calculation.

Description

Route calculation phase description:

  • TE SPF nodes—Number of SPF nodes for TE tunnel adjacency calculation.

  • SPF nodes—Number of SPF nodes for topology calculation.

  • Candidate NBRs—Number of candidate neighbors.

  • LFA SPF nodes—Number of SPF nodes for LFA calculation.

  • Area addresses—Number of area addresses.

  • Add, modify, and delete—Prefix calculation summary.

  • Last 10 routes—10 routes that are most recently calculated.

  • Summary route nodes—Number of summarized routes.

Total

Total duration time of all route calculation phases.

Related commands

reset isis event-log spf