Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

show ospf context-identifier

List of Syntax

Syntax
Syntax (EX Series Switches and QFX Series)

Syntax

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)

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

Release Information

Command introduced in Junos OS Release 10.4.

Command introduced in Junos OS Release 11.3 for the QFX Series.

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

List of Sample Output

show ospf context-identifier
show ospf context-identifier detail

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

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

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

Published: 2014-07-23