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 context-identifier

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show ospf context-identifier
<brief | detail> 
<area area-id>
<context-id>
<instance instance-name>
<logical-system (all | logical-system-name)>

Syntax (EX Series Switches and QFX Series)

content_copy zoom_out_map
show ospf context-identifier
<brief | detail>
<area area-id>
<context-id>
<instance instance-name>

Description

Display the context identifier information processed and advertised by Open Shortest Path First (OSPF) for egress protection.

Options

none

Display information about all context identifiers.

brief | detail

(Optional) Display the specified level of output.

area area-id

(Optional) Display information about the context identifier for the specified area.

context-id

(Optional) Display information about the specified context identifier.

instance instance-name

(Optional) Display information about the context identifier for the specified routing instance.

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

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

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show ospf context-identifier command. Output fields are listed in the approximate order in which they appear.

Table 1: show ospf context-identifier Output Fields

Field Name

Field Description

Level of Output

Context

IPv4 address that defines a protection pair. The context is manually configured on both primary and protector provider edge (PE) devices.

All levels

Status

State of the path: active or inactive.

All levels

Metric

Advertised OSPF metric.

All levels

Area

OSPF area number.

All levels

Other Advertisements

Other advertisements received by the OSPF node:

  • Advertising router– Address of the device that sent the advertisement.

  • Type–Type of OSPF path: inter-area and stub.

  • Metric–Advertised OSPF metric.

  • None–No additional advertisements were received by the OSPF node.

detail

Sample Output

show ospf context-identifier

content_copy zoom_out_map
user@host> show ospf context-identifier   
Context-id: 2.2.4.3
  Status: active, Metric: 65534, PE role: protector, Area: 0.0.0.0

show ospf context-identifier detail

content_copy zoom_out_map
user@host> show ospf context-identifier detail    
Context-id: 88.24.13.1
                Status: inactive, Metric: 0, PE role: protector, Area: 0.0.0.13
                Other Advertisements: 
                  Advertising router: 8.8.8.103
                    Type: stub link
                    Metric: 65534

Release Information

Command introduced in Junos OS Release 10.4.

footer-navigation