run show ospf border-routers

Run the command run show ospf border-routers to display OSPF ABRs and ASBRs.

If OSPF is running in multiple instance then add the instance ID parameter to the command to display ABRs and ASBRs within a particular OSPF instance.


Command Syntax

run show ospf [instance-id <instance-id> | vrf<vrf-name>] border-routers

Parameters

ParameterDescription
instance-id <instance-id>Optional. Specifies the OSPF instance ID in the default VRF. The value is an integer that ranges from 1 to 8.
vrf<vrf-name>Optional. Specifies the VRF name, the value is a string.

Example

  •  Display ABRs and ASBRs in OSPF instance ID 1.
admin@switch1# run show ospf instance-id 1 border-routers
OSPF Instance: 1
============ OSPF router routing table =============
R    3.3.3.3               [10] area: 1.1.1.1, ASBR
                           via 11.251.201.4, vlan11

Copyright © 2024 Pica8 Inc. All Rights Reserved.