display ospf abr-asbr

Use display ospf abr-asbr to display routes to the ABR or ASBR.

Syntax

display ospf [ process-id ] abr-asbr [ 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. If you do not specify this argument, the command displays routes to the ABR and ASBR for all OSPF processes.

verbose: Displays detailed information. If you do not specify this keyword, the command displays brief information.

Usage guidelines

If you use this command on routers in a stub area, the commands displays no ASBR information.

Examples

# Display brief information about routes to the ABR or ASBR.

<Sysname> display ospf abr-asbr

          OSPF Process 1 with Router ID 192.168.1.2
                  Routing Table to ABR and ASBR


                Topology base (MTID 0)
 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

# Display detailed information about routes to the ABR or ASBR.

<Sysname> display ospf abr-asbr verbose

          OSPF Process 10 with Router ID 101.1.1.11
                  Routing Table to ABR and ASBR

                Topology base (MTID 0)

 Destination: 1.1.1.1             RtType     : ASBR
 Area       : 0.0.0.1             Type       : Intra
 Nexthop    : 150.0.1.12          BkNexthop  : 0.0.0.0
 Interface  : Vlan10              BkInterface: N/A
 Cost       : 1000

Table 28: Command output

Field

Description

Type

Type of the route to the ABR or ASBR:

  • Intra—Intra-area route.

  • Inter—Inter-area route.

Topology

This field is not supported in the current software version.

Topology name. The topology name for base topology is base.

MTID

This field is not supported in the current software version.

Topology ID. The value of 0 indicates the base topology.

Destination

Router ID of an ABR or ASBR.

Area

ID of the area of the next hop.

Cost

Cost from the router to the ABR or ASBR.

Nexthop

Next hop address.

BkNexthop

Backup next hop address.

RtType

Router type: ABR or ASBR.

Interface

Output interface.

BkInterface

Backup output interface.