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
mdc-admin
mdc-operator
Parameters
process-id: Specifies an OSPF process by its ID in the range of 1 to 65535. Without this argument, the command displays routes to the ABR and ASBR for all OSPF processes.
verbose: Displays detailed information. Without 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 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 Destination: 1.1.1.1 RtType : ASBR Area : 0.0.0.1 Type : Intra Nexthop : 150.0.1.12 BkNexthop: 0.0.0.0 Cost : 1000
Table 25: Command output
Field | Description |
---|---|
Type | Type of the route to the ABR or ASBR:
|
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. |
Nexthop | Next hop address. |
BkNexthop | Backup next hop address. |
RtType | Router type: ABR or ASBR. |