< Home

display ospf abr-asbr

Function

The display ospf abr-asbr command displays information about the ABRs and ASBRs of OSPF.

Format

display ospf [ process-id ] abr-asbr [ router-id ]

Parameters

Parameter Description Value

process-id

Specifies the number of the OSPF process. If the process number is not specified, will display all information of ABRs and ASBRs of OSPF.

The value is an integer ranging from 1 to 65535.

router-id

Specifies the router ID of an ABR or ASBR.

In dotted decimal notation.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Area Border Router (ABR) can belong to two or more areas, and one of the areas must be a backbone area. An ABR is used to connect the backbone area and non-backbone areas. It can be physically or logically connected to the backbone area.

AS Boundary Router (ASBR) exchanges routing information with other ASs. An ASBR may not reside at the boundary of an AS. It can be an internal router or an ABR. If an OSPF device imports external routes, the router is an ASBR.

This command can view information about the ABRs and ASBRs of OSPF.

Example

# Display information about the ABRs and ASBRs of OSPF.

<sysname> display ospf abr-asbr

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

 RtType      Destination       Area       Cost  Nexthop         Type
 Intra-area  10.1.1.2          0.0.0.0    1     10.1.1.2        ASBR
Table 1 Description of the display ospf abr-asbr command output

Item

Description

RtType

Network type:
  • Intra-area: Intranet area route
  • Inter-area: Internet area route

Destination

Router ID of the ABR or ASBR

Area

Area ID

Cost

Cost of the route from the local router to the ABR or ASBR

Nexthop

Next hop address through which packets are transmitted to the ABR or ASBR

Type

Router type:
  • ABR: area border router
  • ASBR: as boundary router
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >