display isis spf-tree

Use display isis spf-tree to display IS-IS IPv4 SPF tree information.

Syntax

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

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

ipv4: Displays IS-IS IPv4 SPF tree information. If you do not specify this keyword, the command displays IS-IS IPv4 SPF tree information.

level-1: Displays Level-1 IS-IS SPF tree information. If you do not specify a level, the command displays both Level-1 and Level-2 SPF tree information.

level-2: Displays Level-2 SPF tree information. If you do not specify a level, the command displays both Level-1 and Level-2 SPF tree information.

verbose: Displays detailed IS-IS SPF tree information. If you do not specify this keyword, the command displays brief IS-IS SPF tree information.

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

Examples

# Display brief IS-IS IPv4 SPF tree information.

<Sysname> display isis spf-tree

                        Shortest Path Tree for IS-IS(1)
                        -------------------------------

      Flags: S-Node is on SPF tree       T-Node is on tent list
             O-Node is overload          R-Node is directly reachable
             I-Node or Link is isolated  D-Node or Link is to be deleted
             C-Neighbor is child         P-Neighbor is parent
             V-Link is involved          N-Link is a new path
             L-Link is on change list    U-Protocol usage is changed
             H-Nexthop is changed

                           Level-1 Shortest Path Tree
                           --------------------------

SpfNode            NodeFlag       SpfLink            LinkCost LinkFlag
-------------------------------------------------------------------------------
0000.0000.0032.00  S/-/-/-/-/-
                               -->0000.0000.0032.01  10       -/-/C/-/-/-/-/-/-
                               -->0000.0000.0064.00  10       -/-/C/-/-/-/-/-/-
0000.0000.0032.01  S/-/-/R/-/-
                               -->0000.0000.0064.00  0        -/-/C/-/-/-/-/-/-
                               -->0000.0000.0032.00  0        -/-/-/P/-/-/-/-/-
0000.0000.0064.00  S/-/-/R/-/-
                               -->0000.0000.0032.00  10       -/-/-/P/-/-/-/-/-
                               -->0000.0000.0032.01  10       -/-/-/P/-/-/-/-/-

                           Level-2 Shortest Path Tree
                           --------------------------

SpfNode            NodeFlag       SpfLink            LinkCost LinkFlag
-------------------------------------------------------------------------------
0000.0000.0032.00  S/-/-/-/-/-
                               -->0000.0000.0032.01  10       -/-/C/-/-/-/-/-/-
                               -->0000.0000.0064.00  10       -/-/C/-/-/-/-/-/-
0000.0000.0032.01  S/-/-/R/-/-
                               -->0000.0000.0064.00  0        -/-/C/-/-/-/-/-/-
                               -->0000.0000.0032.00  0        -/-/-/P/-/-/-/-/-
0000.0000.0064.00  S/-/-/R/-/-
                               -->0000.0000.0032.00  10       -/-/-/P/-/-/-/-/-
                               -->0000.0000.0032.01  10       -/-/-/P/-/-/-/-/-

# Display detailed IS-IS IPv4 SPF tree information.

<Sysname> display isis spf-tree verbose

                        Shortest Path Tree for IS-IS(1)
                        -------------------------------

      Flags: S-Node is on SPF tree       T-Node is on tent list
             O-Node is overload          R-Node is directly reachable
             I-Node or Link is isolated  D-Node or Link is to be deleted
             C-Neighbor is child         P-Neighbor is parent
             V-Link is involved          N-Link is a new path
             L-Link is on change list    U-Protocol usage is changed
             H-Nexthop is changed

                           Level-1 Shortest Path Tree
                           --------------------------

 SpfNode        : 0000.0000.0001.00
 Distance       : 0
 TE distance    : 0
 NodeFlag       : S/-/-/-/-/-
 RelayNibID     : 0x0
 TE tunnel count: 0
 Nexthop count  : 0
 SpfLink count  : 1
 -->0000.0000.0004.04
    LinkCost    : 10
    LinkNewCost : 10
    LinkFlag    : -/-/C/-/-/-/-/-/-
    LinkSrcCnt  : 1
        Type: Adjacent       Interface: N/A
        Cost: 10             Nexthop  : N/A

 SpfNode        : 0000.0000.0004.00
 Distance       : 10
 Te Distance    : 10
 NodeFlag       : S/-/-/-/-/-
 RelayNibID     : 0x14000000
 TE tunnel count: 1
     Destination: 4.4.4.4                  Interface  : Tun0
     TE cost    : 10                       Final cost : 10
     Add nexthop: YES                      Add TLV    : YES
 Nexthop count  : 2
     Neighbor   : 0000.0000.0004.00        Interface  : Tun0
     Nexthop    : 4.4.4.4
     BkNeighbor : N/A                      BkInterface: N/A
     BkNexthop  : N/A
     Neighbor   : 0000.0000.0004.00        Interface  : Vlan50
     Nexthop    : 1.1.1.3
     BkNeighbor : N/A                      BkInterface: N/A
     BkNexthop  : N/A
 SpfLink count  : 1
 -->0000.0000.0004.04
    LinkCost    : 10
    LinkNewCost : 10
    LinkFlag    : -/-/-/P/-/-/-/-/-
    LinkSrcCnt  : 1
        Type: Remote         Interface: N/A
        Cost: 10             Nexthop  : N/A
        AdvMtID: 0

 SpfNode        : 0000.0000.0004.04
 Distance       : 10
 TE distance    : 10
 NodeFlag       : S/-/-/R/-/-
 RelayNibID     : 0x14000001
 TE tunnel count: 0
 Nexthop count  : 0
 SpfLink count  : 2
 -->0000.0000.0001.00
    LinkCost    : 0
    LinkNewCost : 0
    LinkFlag    : -/-/-/P/-/-/-/-/-
    LinkSrcCnt  : 1
        Type: Remote         Interface: N/A
        Cost: 0              Nexthop  : N/A
 -->0000.0000.0004.00
    LinkCost    : 0
    LinkNewCost : 0
    LinkFlag    : -/-/C/-/-/-/-/-/-
    LinkSrcCnt  : 1
        Type: Remote         Interface: Vlan50
        Cost: 0              Nexthop  : 1.1.1.3

                           Level-2 Shortest Path Tree
                           --------------------------

 SpfNode        : 0000.0000.0001.00
 Distance       : 0
 TE distance    : 0
 NodeFlag       : S/-/-/-/-/-
 RelayNibID     : 0x0
 TE tunnel count: 0
 Nexthop count  : 0
 SpfLink count  : 1
 -->0000.0000.0004.04
    LinkCost    : 10
    LinkNewCost : 10
    LinkFlag    : -/-/C/-/-/-/-/-/-
    LinkSrcCnt  : 1
        Type: Adjacent       Interface: N/A
        Cost: 10             Nexthop  : N/A

 SpfNode        : 0000.0000.0004.00
 Distance       : 10
 TE distance    : 10
 NodeFlag       : S/-/-/-/-/-
 RelayNibID     : 0x0
 TE tunnel count: 1
     Destination: 4.4.4.4                  Interface  : Tun0
     TE cost    : 10                       Final cost : 10
     Add nexthop: YES                      Add TLV    : YES
 Nexthop count  : 2
     Neighbor   : 0000.0000.0004.00        Interface  : Tun0
     Nexthop    : 4.4.4.4
     BkNeighbor : N/A                      BkInterface: N/A
     BkNexthop  : N/A
     Neighbor   : 0000.0000.0004.00        Interface  : Vlan50
     Nexthop    : 1.1.1.3
     BkNeighbor : N/A                      BkInterface: N/A
     BkNexthop  : N/A
 SpfLink count  : 1
 -->0000.0000.0004.04
    LinkCost    : 10
    LinkNewCost : 10
    LinkFlag    : -/-/-/P/-/-/-/-/-
    LinkSrcCnt  : 1
        Type: Remote         Interface: N/A
        Cost: 10             Nexthop  : N/A
        AdvMtID: 0

 SpfNode        : 0000.0000.0004.04
 Distance       : 10
 TE distance    : 10
 NodeFlag       : S/-/-/R/-/-
 RelayNibID     : 0x0
 TE tunnel count: 0
 Nexthop count  : 0
 SpfLink count  : 2
 -->0000.0000.0001.00
    LinkCost    : 0
    LinkNewCost : 0
    LinkFlag    : -/-/-/P/-/-/-/-/-
    LinkSrcCnt  : 1
        Type: Remote         Interface: N/A
        Cost: 0              Nexthop  : N/A
 -->0000.0000.0004.00
    LinkCost    : 0
    LinkNewCost : 0
    LinkFlag    : -/-/C/-/-/-/-/-/-
    LinkSrcCnt  : 1
        Type: Remote         Interface: Vlan50
        Cost: 0              Nexthop  : 1.1.1.3

Table 78: Command output

Field

Description

SpfNode

ID of the topology node.

Distance

Shortest distance from the root node to the local node.

TE distance

Shortest distance from the root node to the local node (including tunnel links). If tunnel is not configured, TE distance equals to Distance.

NodeFlag

Node flag:

  • S—The node is on the SPF tree.

  • T—The node is on the tent list.

  • O—The node is overloaded.

  • R—The node is directly connected.

  • I—The node is isolated.

  • D—The node is to be deleted.

RelayNibID

Next hop ID of the node after route recursion.

TE tunnel count

Number of tunnels destined to this node.

Destination

Destination router.

TE cost

IGP cost of the TE tunnel.

Final cost

Final cost of the TE tunnel.

Nexthop count

Next hop count.

Nexthop

Primary next hop of the node or the link advertising source.

AdvMtID

Topology from which the routing information is learned:

  • 0—Base topology.

  • 6-4094—Other topologies.

Interface

Primary output interface of the node or the link advertising source.

BkNexthop

Backup next hop.

BkInterface

Backup output interface.

Neighbor

ID of the primary next hop neighbor.

BkNeighbor

ID of the backup next hop neighbor.

SpfLink

Topology link.

SpfLink count

Number of topology links.

LinkCost

Link cost.

LinkNewCost

New link cost.

LinkFlag

Link flag:

  • I—The link is isolated.

  • D—The link is to be deleted.

  • C—The neighbor is a child node.

  • P—The neighbor is the parent node.

  • V—The link is involved.

  • N—The link is a new path.

  • L—The link is on the change list.

  • U—The protocol usage of the link is changed.

  • H—The next hop of the link is changed.

LinkSrcCnt

Number of link advertising sources.

Type

Type of the link advertising source:

  • Adjacent—The link advertising source is a local neighbor.

  • Remote—The link advertising source is advertised by a remote node in an LSP.

Cost

Cost of the link advertising source.