display isis spf-tree(All views)

Function

The display isis spf-tree command displays the topology of the SPT that is generated by IS-IS.

Format

display isis spf-tree [ systemid systemid ] [ [ level-1 | level-2 ] | ipv6 | [ topology topology-name ] | verbose ] * [ process-id | vpn-instance vpn-instance-name ]

Parameters

Parameter Description Value
systemid systemid

Displays the SPT topology of the system with a specified system ID or pseudo node ID.

The value is in the format of XXXX.XXXX.XXXX[.XX].

level-1

Displays the SPT topology of Level-1.

-

level-2

Displays the SPT topology of Level-2.

-

ipv6

Displays the SPT topology of IPv6.

-

topology topology-name

Specifies the name of a topology instance.

The value is a string of 1 to 31 case-sensitive characters without spaces. The value must start with a letter (a to z or A to Z, case sensitive) and can contain numbers, hyphens (-), or underlines (_). When double quotation marks are used around the string, spaces are allowed in the string.

verbose

Displays detailed information of the SPT topology.

-

process-id

Displays the SPT topology of a specified IS-IS process.

The value is an integer ranging from 1 to 4294967295.

vpn-instance vpn-instance-name

Specifies the name of a VPN instance.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported. In addition, the VPN instance name must not be _public_. When double quotation marks are used around the string, spaces are allowed in the string.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
isis read

Usage Guidelines

Usage Scenario

When an error occurs in the route calculation, run the display isis spf-tree command to check whether the IS-IS topology information is correct.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display information about the SPT.
<HUAWEI> display isis spf-tree
Shortest Path Tree for ISIS(100)
                         --------------------------------

            Flags: I-Node is invalid       R-Node is directly reachable
                   O-Node is overload      A-Node is affected          
                   U-Link is upward        D-Link is downward                        
                   F-Link is not on tree   N-Neighbor is attached to link              
                   S-Link is IGP Shortcut  *-Relative cost
                                                                            
                     ISIS(100) Level-1 Shortest Path Tree           
                      --------------------------------             


Node                NodeFlag  Distance  Link                 LinkFlag   LinkCost
--------------------------------------------------------------------------------
0000.0000.0001.00   -/-/-/-   0                          
                                        ->0000.0000.0003.00  D          10
                                        ->0000.0000.0003.01  D          10
0000.0000.0002.00    -/-/-/-  10                                         
                                        ->0000.0000.0003.01  U          10
                                        ->0000.0000.0006.01  D          10
0000.0000.0003.00    -/-/-/-  10                                         
                                        ->0000.0000.0001.00  U          10
                                        ->0000.0000.0003.01  U          10
0000.0000.0003.01    -/R/-/-  10                                        
                                        ->0000.0000.0001.00  U          0
                                        ->0000.0000.0002.00  D          0
                                        ->0000.0000.0003.00  D          0
0000.0000.0006.00    -/-/-/-  20                                        
                                        ->0000.0000.0006.01  U          10
0000.0000.0006.01    -/-/-/-  20                                         
                                        ->0000.0000.0002.00  U          0
                                        ->0000.0000.0006.00  D          0

                     ISIS(100) Level-2 Shortest Path Tree
                      --------------------------------             


Node                 NodeFlag  Distance  Link                LinkFlag   LinkCost
--------------------------------------------------------------------------------
0000.0000.0001.00    -/-/-/-   0                   
                                         ->0000.0000.0003.00  D         10    
                                         ->0000.0000.0003.01  D         10     
0000.0000.0002.00    -/-/-/-   10                       
                                         ->0000.0000.0003.01  U         10   
                                         ->0000.0000.0006.01  D         10     
0000.0000.0003.00    -/-/-/-   10                                       
                                         ->0000.0000.0001.00  U         10     
                                         ->0000.0000.0003.01  U         10     
0000.0000.0003.01    -/R/-/-   10                                    
                                         ->0000.0000.0001.00  U         0    
                                         ->0000.0000.0002.00  D         0      
                                         ->0000.0000.0003.00  D         0      
0000.0000.0006.00    -/-/-/-   20                     
                                         ->0000.0000.0006.01  U         10     
0000.0000.0006.01    -/-/-/-   20                                
                                         ->0000.0000.0002.00  U         0 
                                         ->0000.0000.0006.00  D         0
Table 1 Description of the display isis spf-tree(All views) command output
Item Description
Node

Node ID in the network topology.

Distance

Distance between two nodes.

If the value of the Distance field is 0xFE000010, the corresponding node is not on the SPT. In this situation, search the LSDB to check whether the local node has received the LSP with the fragment number of 0 from the faulty node and check whether an IS-IS neighbor relationship is established between the local and faulty nodes.

Link

ID of the node that a link passes.

LinkCost

Cost of the link.

Flags

Flag:

  • SPT: The node is in the tree.
  • Direct: The node is a direct node.
  • Shortcut: The node is on a shortcut link.
  • Oload: The node is in the Overload state.
  • Isolate: The node is not in the tree.
  • MIGP_Islt: The node is not in the MIGP tree.
  • V6_Islt: The node is not in the IPv6 tree.
  • Del: The node will be deleted.
  • Remote: The node is on a tunnel.
Relative cost

Cost of the link from the root node to this node.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >