The display isis spf-tree statistics command displays the topology of the SPT that is generated by IS-IS.
Parameter | Description | Value |
---|---|---|
process-id |
Displays the SPT topology of a specified IS-IS process. |
The value is an integer ranging from 1 to 4294967295. |
statistics |
Displays the statistics of the SPT, including information about links and nodes in the SPT and the status of the SPF calculation. |
- |
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. |
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.
You can specify statistics to view the status of the SPT. The generated SPT can be used to calculate routes only when the SPF calculation status is Completed (the ISPF calculation is complete).The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display isis spf-tree statistics
Statistics information of SPT for ISIS(100)
--------------------------------------------------------
Level-1 Statistics
-----------------------
Nodes information:
Total: 6
Count of nodes in SPT: 6
Count of isolate nodes in SPT: 2
Count of IPv6 isolate nodes in SPT: 2
Max Distance of nodes in SPT: 20
Count of node affected: 0
Links information:
Total: 12
Count of links from Parent to Son: 6
Count of links from Son to Parent: 6
Status of SPF: Completed
Level-2 Statistics
-----------------------
Nodes information:
Total: 6
Count of nodes in SPT: 6
Count of isolate nodes in SPT: 2
Count of IPv6 isolate nodes in SPT: 2
Max Distance of nodes in SPT: 20
Count of node affected: 0
Links information:
Total: 12
Count of links from Parent to Son: 6
Count of links from Son to Parent: 6
Status of SPF: Completed
Item | Description |
---|---|
Nodes information | Information about the node. |
Count of nodes in SPT | Number of nodes in the SPT tree. |
Count of isolate nodes in SPT | Number of isolated nodes in the network topology. |
Count of IPv6 isolate nodes in SPT | Number of isolated IPv6 nodes in the network topology. |
Count of node affected | Number of affected nodes. |
Count of links from Parent to Son | Number of links from the parent node to the child node. |
Count of links from Son to Parent | Number of links from the child node to the parent node. |
Max Distance of nodes in SPT | Maximum distance from the root node to the leaf node. |
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. |
Links information | Link information. |
Status of SPF | Status of the SPF calculation:
|
Link | ID of the node that a link passes. |
Total | Total number of nodes. |