show ip ospf border-routers
Use this command to display the ABRs and ASBRs for OSPF instances.
Command Syntax
show ip ospf (<0-65535>|) border-routers
Parameters
<0-65535>
The ID of the router process for which information will be displayed.
Command Mode
Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
This is a sample output from the show ip ospf border-routers command.
#show ip ospf border-routers
OSPF process 1 internal Routing Table
Codes: i - Intra-area route, I - Inter-area route
i 10.15.0.1 [10] via 10.10.0.1, eth0, ASBR, Area 0.0.0.0
i 172.16.10.1 [10] via 10.10.11.50, eth1, ABR, ASBR, Area 0.0.0.0
Border Router Fields
Table 1-31 explains the border router fields.
Table 1-31: border router output details
Field | Description |
---|
Code | i: Intra-area route I: Inter-area route |
Router ID | Router identifier of the destination |
Cost | Cost of using this route. |
via | Next hop IP address toward the destination. |
is directly connected | Destination is directly connected. |
Interface | Outgoing interface name. |
Type | Router type of the destination: ABR or ASBR. |
through Transit Area | Next hop is an area that carries traffic that neither originates nor terminates in the area itself. |
Area | Area identifier from which this route was learned. |
Transit | Area is a transit area. |
Last modified date: 10/16/2023