display isis spf-tree

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

Syntax

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

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

ipv4: Displays IS-IS IPv4 topology information. Without this keyword, the command displays IS-IS IPv4 topology information.

level-1: Displays Level-1 IS-IS topology information. If no level is specified, the command displays both Level-1 and Level 2 topology information.

level-2: Displays Level-2 IS-IS topology information. If no level is specified, the command displays both Level-1 and Level 2 topology information.

verbose: Displays detailed IS-IS topology information. Without this keyword, the command displays brief topology information.

process-id: Specifies an IS-IS process by its ID in the range of 1 to 65535. Without this argument, the command displays topology information for all IS-IS processes.

Examples

# Display brief IS-IS IPv4 topology 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 topology 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.0032.00
 Distance  : 0
 NodeFlag  : S/-/-/-/-/-
 NextHopCnt: 0
 SpfLinkCnt: 2
 -->0000.0000.0032.01
    LinkCost   : 10
    LinkNewCost: 10
    LinkFlag   : -/-/C/-/-/-/-/-/-
    LinkSrcCnt : 1
        Type: Adjacent       Interface: N/A
        Cost: 10             Nexthop  : N/A
 -->0000.0000.0064.00
    LinkCost   : 10
    LinkNewCost: 10
    LinkFlag   : -/-/C/-/-/-/-/-/-
    LinkSrcCnt : 1
        Type: Adjacent       Interface: Tun1
        Cost: 10             Nexthop  : 20.20.20.64

 SpfNode   : 0000.0000.0032.01
 Distance  : 10
 NodeFlag  : S/-/-/R/-/-
 NextHopCnt: 0
 SpfLinkCnt: 2
 -->0000.0000.0064.00
    LinkCost   : 0
    LinkNewCost: 0
    LinkFlag   : -/-/C/-/-/-/-/-/-
    LinkSrcCnt : 1
        Type: Adjacent       Interface: Vlan2
        Cost: 0              Nexthop  : 10.10.10.64
 -->0000.0000.0032.00
    LinkCost   : 0
    LinkNewCost: 0
    LinkFlag   : -/-/-/P/-/-/-/-/-
    LinkSrcCnt : 1
        Type: Adjacent       Interface: N/A
        Cost: 0              Nexthop  : N/A

 SpfNode   : 0000.0000.0064.00
 Distance  : 10
 NodeFlag  : S/-/-/R/-/-
 NextHopCnt: 2
     Neighbor  : 0000.0000.0064.00        Interface  : Vlan2
     NextHop   : 10.10.10.64
     BkNeighbor: N/A                      BkInterface: N/A
     BkNextHop : N/A
     Neighbor  : 0000.0000.0064.00        Interface  : Tun1
     NextHop   : 20.20.20.64
     BkNeighbor: N/A                      BkInterface: N/A
     BkNextHop : N/A
 SpfLinkCnt: 2
 -->0000.0000.0032.00
    LinkCost   : 10
    LinkNewCost: 10
    LinkFlag   : -/-/-/P/-/-/-/-/-
    LinkSrcCnt : 1
        Type: Remote         Interface: N/A
        Cost: 10             Nexthop  : N/A
 -->0000.0000.0032.01
    LinkCost   : 10
    LinkNewCost: 10
    LinkFlag   : -/-/-/P/-/-/-/-/-
    LinkSrcCnt : 1
        Type: Remote         Interface: N/A
        Cost: 10             Nexthop  : N/A

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

 SpfNode   : 0000.0000.0032.00
 Distance  : 0
 NodeFlag  : S/-/-/-/-/-
 NextHopCnt: 0
 SpfLinkCnt: 2
 -->0000.0000.0032.01
    LinkCost   : 10
    LinkNewCost: 10
    LinkFlag   : -/-/C/-/-/-/-/-/-
    LinkSrcCnt : 1
        Type: Adjacent       Interface: N/A
        Cost: 10             Nexthop  : N/A
 -->0000.0000.0064.00
    LinkCost   : 10
    LinkNewCost: 10
    LinkFlag   : -/-/C/-/-/-/-/-/-
    LinkSrcCnt : 1
        Type: Adjacent       Interface: Tun1
        Cost: 10             Nexthop  : 20.20.20.64

 SpfNode   : 0000.0000.0032.01
 Distance  : 10
 NodeFlag  : S/-/-/R/-/-
 NextHopCnt: 0
 SpfLinkCnt: 2
 -->0000.0000.0064.00
    LinkCost   : 0
    LinkNewCost: 0
    LinkFlag   : -/-/C/-/-/-/-/-/-
    LinkSrcCnt : 1
        Type: Adjacent       Interface: Vlan2
        Cost: 0              Nexthop  : 10.10.10.64
 -->0000.0000.0032.00
    LinkCost   : 0
    LinkNewCost: 0
    LinkFlag   : -/-/-/P/-/-/-/-/-
    LinkSrcCnt : 1
        Type: Adjacent       Interface: N/A
        Cost: 0              Nexthop  : N/A

 SpfNode   : 0000.0000.0064.00
 Distance  : 10
 NodeFlag  : S/-/-/R/-/-
 NextHopCnt: 2
     Neighbor  : 0000.0000.0064.00        Interface  : Vlan2
     NextHop   : 10.10.10.64
     BkNeighbor: N/A                      BkInterface: N/A
     BkNextHop : N/A
     Neighbor  : 0000.0000.0064.00        Interface  : Tun1
     NextHop   : 20.20.20.64
     BkNeighbor: N/A                      BkInterface: N/A
     BkNextHop : N/A
 SpfLinkCnt: 2
 -->0000.0000.0032.00
    LinkCost   : 10
    LinkNewCost: 10
    LinkFlag   : -/-/-/P/-/-/-/-/-
    LinkSrcCnt : 1
        Type: Remote         Interface: N/A
        Cost: 10             Nexthop  : N/A
 -->0000.0000.0032.01
    LinkCost   : 10
    LinkNewCost: 10
    LinkFlag   : -/-/-/P/-/-/-/-/-
    LinkSrcCnt : 1
        Type: Remote         Interface: N/A
        Cost: 10             Nexthop  : N/A

Table 62: Command output

Field

Description

SpfNode

ID of the topology node.

Distance

Shortest distance from the root node to the local node.

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.

NextHopCnt

Next hop count.

NextHop

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

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.

SpfLinkCnt

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.