4-8
[Sysname] ospf 100
[Sysname-ospf-100] description abc
# Describe OSPF area 0 as
bone area
.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] area 0
[Sysname-ospf-100-area-0.0.0.0] description bone area
display ospf abr-asbr
Syntax
display ospf
[
process-id
]
abr-asbr
View
Any view
Default Level
1: Monitor level
Parameters
process-id
: OSPF process ID, in the range 1 to 65535. Use this argument to display information about
the routes to the ABR/ASBR under the specified OSPF process.
Description
Use the
display ospf abr-asbr
command to display information about the routes to OSPF
ABR/ASBR.
If you use this command on routers in a stub area, no ASBR information is displayed.
Examples
# Display information about the routes to the OSPF ABR and ASBR.
<Sysname> display ospf abr-asbr
OSPF Process 1 with Router ID 192.168.1.2
Routing Table to ABR and ASBR
Type Destination Area Cost Nexthop RtType
Inter 3.3.3.3 0.0.0.0 3124 10.1.1.2 ASBR
Intra 2.2.2.2 0.0.0.0 1562 10.1.1.2 ABR
Table 4-1 display ospf abr-asbr
command output description
Field
Description
Type
Type of the route to the ABR or ASBR:
z
Intra: intra-area route
z
Inter: Inter-area route
Destination Router
ID of an ABR/ASBR
Area
ID of the area of the next hop
Cost
Cost from the router to the ABR/ASBR