129
display ospf spf-tree
Use
display ospf spf-tree
to display OSPF topology information.
Syntax
display
ospf
[
process-id
] [
area
area-id
]
spf-tree
[
verbose
]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
process-id
: Specifies an OSPF process by its ID in the range of 1 to 65535. Without this argument, the
command displays topology information for all OSPF processes.
area
area-id
: Specifies an OSPF area by its ID. The area ID is an IP address or a decimal integer in the
range of 0 to 4294967295 that is translated into the IP address format. Without this option, the
command displays topology information for all OSPF areas.
verbose
: Displays detailed OSPF topology information. Without this keyword, the command displays
brief OSPF topology information.
Examples
# Display brief topology information for area 0 in OSPF process 1.
<Sysname> display ospf 1 area 0 spf-tree
OSPF Process 1 with Router ID 100.0.0.4
Flags: S-Node is on SPF tree R-Node is directly reachable
I-Node or Link is init D-Node or Link is to be deleted
P-Neighbor is parent A-Node is in candidate list
C-Neighbor is child G-Link is in change list
H-Nexthop changed N-Link is a new path
V-Link is involved
Area: 0.0.0.0 Shortest Path Tree
SpfNode Type Flag SpfLink Type Cost Flag
>192.168.119.130 Network S R
-->114.114.114.111 NET2RT 0 C
-->100.0.0.4 NET2RT 0 P
>114.114.114.111 Router S
-->192.168.119.130 RT2NET 65535 P
>100.0.0.4 Router S
-->192.168.119.130 RT2NET 10 C