Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

show (ospf | ospf3) bgp-orr

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show (ospf | ospf3) bgp-orr
<abr>
<asbr>
<brief | detail | extensive> 
<extern>
<group group-name> 
<instance instance-name> 
<inter>
<intra>
<logical-system (all | logical-system-name)>
<network>
<router>
<topology>

Description

Display information about OSPF BGP-ORR metric (RIB).

Options

none

Display group information about all OSPF BGP groups.

abr

(Optional) Display OSPF routes to area border routers.

asbr

(Optional) Display OSPF routes to autonomous systems border routers.

brief | detail | extensive

(Optional) Display the specified level of output.

extern

(Optional) Display external OSPF routes.

group group-name

(Optional) Display group information for the specified group.

instance instance-name

(Optional) Display information about BGP groups for all routing instances whose name begins with this string (for example, cust1, cust11, and cust111 are all displayed when you run the show bgp group instance cust1 command). The instance name can be primary for the main instance, or any valid configured instance name or its prefix.

inter

(Optional) Display inter-area OSPF routes.

intra

(Optional) Display intra-area OSPF routes.

logical-system (all | logical-system-name)

(Optional) Perform this operation on all logical systems or on a particular logical system.

network

(Optional) Display routes to networks.

router

(Optional) Display routes to all routers.

topology

(Optional) Name of topology.

Required Privilege Level

view

Output Fields

Table 1 describes the output fields for the show ospf bgp-orr command. Output fields are listed in the approximate order in which they appear.

Table 1: show bgp group Output Fields

Field Name

Field Description

Level of Output

BGP ORR Peer Group

Name of the BGP ORR peer group.

All levels

Primary

Primary node (igp-primary) in a BGP peer group.

All levels

Backup

Backup node (igp-backup) in a BGP peer group, which is used when the primary node (igp-primary) goes down or becomes unreachable.

All levels

Prefix

Destination of the route.

All levels

Path Type

Display the route learned path (inter-area route or intra-area route).

All levels

Route Type

Display the type of router from which the route was learned (Router or Transit).

All levels

Metric

IGP metric value.

All levels

Sample Output

show ospf bgp-orr

content_copy zoom_out_map
user@host> show ospf bgp-orr
Topology default Route Table:

BGP ORR Peer Group: toClients
  Primary: 10.1.1.1, active
  Backup: 10.5.5.5
Prefix             Path  Route      Metric 
                   Type  Type
10.1.1.2            Intra Router        100
10.1.1.3            Intra Router        130
10.1.1.1/32         Intra Network         0
10.1.1.2/32         Intra Network       100
10.1.1.0/30        Intra Network       100
10.1.1.4/30        Intra Network       130

show ospf3 bgp-orr

content_copy zoom_out_map
user@host> show ospf3 bgp-orr
BGP ORR Peer Group: toClients
  Primary: 10.1.1.1, active
Prefix                                       Path  Route      Metric
                                             Type  Type       
10.1.1.2                                      Intra Router     100     
10.1.1.2;0.0.0.4                              Intra Transit    100     
10.1.1.3                                      Intra Router     130     
10.1.1.3;0.0.0.2                              Intra Transit    130  
::10.1.1.1/128                                Intra Network    0       
::10.1.1.2/128                                Intra Network    100     
::10.1.1.3/128                                Intra Network    130

Release Information

Command introduced in Junos OS Release 16.2.

footer-navigation